AJAX Registration Check

Fix for compatibility with phpBB 3.3RC1 - AJAX Registration Check

Fix for compatibility with phpBB 3.3RC1

by stone23 » Wed Dec 25, 2019 3:25 pm

Edit file: /pcgf/ajaxregistrationcheck/event/listener.php

Find and delete:

Code: Select all

            'PCGF_AJAXREGISTRATIONCHECK_PASSWORD_MAX'                => $this->config['max_pass_chars'],
Find:

Code: Select all

            'PCGF_AJAXREGISTRATIONCHECK_PASSWORD_INVALID_BOUNDARIES' => $this->user->lang($this->config['pass_complex'] . '_EXPLAIN', $this->config['min_pass_chars'], $this->config['max_pass_chars']),
Delete in line:

Code: Select all

, $this->config['max_pass_chars']

Edit file: /pcgf/ajaxregistrationcheck/styles/all/template/event/ucp_register_credentials_after.html

Find and delete:

Code: Select all

    var pcgfAJAXRegistrationCheckPasswordMax = '{PCGF_AJAXREGISTRATIONCHECK_PASSWORD_MAX}';

Edit file: /pcgf/ajaxregistrationcheck/styles/all/template/javascript/ajaxregistrationcheck.js

Find:

Code: Select all

        if (value.length < pcgfAJAXRegistrationCheckPasswordMin || value.length > pcgfAJAXRegistrationCheckPasswordMax) {
            // The password is too short or too long
Delete in line:

Code: Select all

 || value.length > pcgfAJAXRegistrationCheckPasswordMax

Code: Select all

 or too long
User avatar
stone23
Registered User
Posts: 20
Joined: Sat Nov 02, 2019 4:44 pm
Location: France
Contact:

Re: Fix for compatibility with phpBB 3.3RC1

by draky » Fri Jan 24, 2020 6:26 pm

Blank page on phpBB 3.2, will upgrade and look after upgrade to 3.3
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: Fix for compatibility with phpBB 3.3RC1

by null2 » Mon Jan 27, 2020 2:55 am

stone23 wrote:Edit file: /pcgf/ajaxregistrationcheck/event/listener.php
Edit file: /pcgf/ajaxregistrationcheck/styles/all/template/event/ucp_register_credentials_after.html
Edit file: /pcgf/ajaxregistrationcheck/styles/all/template/javascript/ajaxregistrationcheck.js
Worked in 3.3.0! Thank you!
Sorry for my bad english. I'm from USA.
User avatar
null2
Registered User
Posts: 505
Joined: Wed Jan 20, 2010 11:03 am
Contact:

Re: Fix for compatibility with phpBB 3.3RC1

by paulvill76 » Wed Jan 29, 2020 6:57 pm

Thanks ! Working in 3.3 !
User avatar
paulvill76
Registered User
Posts: 81
Joined: Tue Dec 06, 2011 2:51 am
Location: Brno , Czech Republic
Name: Pablo Villaronga
Contact:

Re: Fix for compatibility with phpBB 3.3RC1

by Hero.73 » Thu Feb 20, 2020 7:25 pm

not working look registed user wrong site HTTP error 505
User avatar
Hero.73
Registered User
Posts: 62
Joined: Fri Feb 14, 2020 8:27 pm
Location: Germany
Contact:

Re: Fix for compatibility with phpBB 3.3RC1

by Hero.73 » Thu Feb 20, 2020 7:33 pm

this version work fine
Attachments
pcgf.zip
(22.06 KiB) Downloaded 27 times
User avatar
Hero.73
Registered User
Posts: 62
Joined: Fri Feb 14, 2020 8:27 pm
Location: Germany
Contact:

Re: Fix for compatibility with phpBB 3.3RC1

by migoe » Fri Apr 17, 2020 4:25 pm

Hello,

I installed this ext
Hero.73 wrote:this version work fine
on phpBB 3.3.0 today and have an error for which I cannot find a solution.

The minimum length for a password on my website is 8 characters and no matter how many characters I enter, of course always at least 8 or more, the app does not allow registration with the indication that too few characters have been entered.

Does anyone else have this problem and is there a solution to it?

I also installed the ext "Password strenght" ...
passwort-too-short.jpg
User avatar
migoe
Registered User
Posts: 4
Joined: Tue Sep 25, 2018 2:47 pm
Contact: