Pastebin

Compatibility issue with the "Quick Login" extension - Pastebin

Compatibility issue with the "Quick Login" extension

by ssl » Mon Sep 14, 2020 5:36 pm

Hi
As a guest when you are on the Pastebin page and click on "Login" appears this
Pastebin.png

It is not possible to connect to the forum even while answering the questions.

For information, you can try here : https://caforum.fr/forum/pastebin/

By deactivating the "Quick Login" extension there is no problem.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Compatibility issue with the "Quick Login" extension

by Crizzo » Mon Sep 14, 2020 5:56 pm

Hi,

to get this correctly:
- the quick login displays an captcha which is not solveable, when you are at the pastebin main url?
- the quick login does not display the captcha when you are at any other board page?

Please give me the phpBB version you are using and the download link to this quick login extension.
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1745
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian

Re: Compatibility issue with the "Quick Login" extension

by ssl » Mon Sep 14, 2020 5:59 pm

Hi
The quick connection does not display a captcha when connecting to the forum
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Compatibility issue with the "Quick Login" extension

by Crizzo » Mon Sep 14, 2020 6:05 pm

It does, i did just try it only on the Pastebin page, but not on the main board.

Please answer my other questions, too.
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1745
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian

Re: Compatibility issue with the "Quick Login" extension

by ssl » Mon Sep 14, 2020 6:09 pm

Crizzo wrote:Hi,

to get this correctly:
- the quick login displays an captcha which is not solveable, when you are at the pastebin main url?
So, it's possible to solve the captcha but it's impossible to login to the forum. Impossible to scroll the page.

In my first post is the link to my forum Pastebin page to see the problem live
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Compatibility issue with the "Quick Login" extension

by Crizzo » Mon Sep 14, 2020 6:13 pm

Well, I can reproduce this not completely.

I can open the Quick Login in my test board on the pastebin page and login with solving the captcha and without solving the displayed captcha. And i can scroll.

I use: phpBB 3.3.1, pastebin 2.0.4 and quick login 1.1.3. What are you using?

I still don't get why the captcha is displayed at all, but i will investigate that.
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1745
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian

Re: Compatibility issue with the "Quick Login" extension

by ssl » Mon Sep 14, 2020 6:21 pm

Crizzo wrote: I use: phpBB 3.3.1, pastebin 2.0.4 and quick login 1.1.3. What are you using?
The only difference is that my forum is still in version 3.3.0, probably the problem is there.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Compatibility issue with the "Quick Login" extension

by Crizzo » Mon Sep 14, 2020 6:41 pm

No, i don't think so. The captcha appears on my 3.3.1 too, but at least i can login.
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1745
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian

Re: Compatibility issue with the "Quick Login" extension

by ssl » Mon Sep 14, 2020 7:41 pm

I found the problem and it's not with the "Quick Login" extension.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Compatibility issue with the "Quick Login" extension

by Crizzo » Mon Sep 14, 2020 7:43 pm

Okay, what is the problem?

Edit:
I found it.

Both extensions use the captcha inclusion in their template code:
Pastebin:

Code: Select all

		{% if CAPTCHA_TEMPLATE %}
		<h3>{{ lang('PASTEBIN_CONFIRM') }}</h3>
		<p>{{ lang('PASTEBIN_CONFIRM_EXPLAIN') }}</p>

			
				{% DEFINE CAPTCHA_TAB_INDEX = 8 %}
				{% INCLUDE ''~ CAPTCHA_TEMPLATE ~'' %}
			
		{% endif %}
QuickLogin:

Code: Select all

				{% if CAPTCHA_TEMPLATE and S_CONFIRM_CODE %}
					{% DEFINE CAPTCHA_TAB_INDEX = 3 %}
					{% INCLUDE ''~ CAPTCHA_TEMPLATE ~'' %}
				{% endif %}
So when pastebin assigns to guests

Code: Select all

$this->template->assign_var('CAPTCHA_TEMPLATE', $captcha->get_template());
to need the confirmation code, it get's activated in the quick_login template as well.

Edit2:
Please try this patch: https://github.com/phpbb-de/phpbb-ext-pastebin/pull/42
My extensions for phpBB: CDB
German phpBB Support at www.phpbb.de
User avatar
Crizzo
Translations & International Support Teams Manager
Translations & International Support Teams Manager
Posts: 1745
Joined: Thu Apr 23, 2009 1:20 pm
Location: Stuttgart, Germany
Name: Christian

Re: Compatibility issue with the "Quick Login" extension

by ssl » Tue Sep 15, 2020 4:08 pm

Hi
So great, problem solve

Pastebin.png
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert