Sortables Captcha

phpbb3.3.0 - Sortables Captcha

phpbb3.3.0

by janus_zonstraal » Wed Oct 23, 2019 10:21 pm

Just a reminder, this extension is not yet working in phpbb3.3.0
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm

Re: phpbb3.3.0

by Lucan » Tue Jan 07, 2020 3:01 pm

Change the services.yml to:

Code: Select all

imports:
    - { resource: tables.yml }

services:
    derky.sortablescaptcha.captcha.sortables:
        class: derky\sortablescaptcha\captcha\sortables
        calls:
            - [set_name, [derky.sortablescaptcha.captcha.sortables]]
        arguments:
            - '@dbal.conn'
            - '@cache.driver'
            - '@config'
            - '@log'
            - '@request'
            - '@template'
            - '@user'
            - '%derky.sortables.tables.questions%'
            - '%derky.sortables.tables.answers%'
            - '%derky.sortables.tables.confirm%'
        tags:
            - { name: captcha.plugins }
after that it will work
Lucan
Registered User
Posts: 46
Joined: Fri Jun 13, 2008 10:24 pm

Re: phpbb3.3.0

by janus_zonstraal » Wed Jan 08, 2020 10:32 pm

Thanks
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm

Re: phpbb3.3.0

by mmlr38 » Sat Feb 01, 2020 3:53 am

Still doesn't work for me with 3.3.0

I receive this error:

Code: Select all

 PHP Fatal error:  Uncaught Twig\\Error\\LoaderError: Unable to find template "@derky_sortablescaptcha/captcha_sortables.html" (looked into: ) in "ucp_register.html" at line 138.
mmlr38
Registered User
Posts: 6
Joined: Wed Oct 01, 2008 8:54 pm

Re: phpbb3.3.0

by Mrs Doyle » Tue Feb 18, 2020 1:07 pm

Also really need this!
Mrs Doyle
Registered User
Posts: 119
Joined: Mon Nov 11, 2019 1:04 pm

Re: phpbb3.3.0

by Derky » Wed Feb 19, 2020 8:42 pm

Until a new version is released, please apply this manual change if you want to use it on phpBB 3.3:
https://github.com/Derky/Sortables-CAPT ... l/19/files
User avatar
Derky
Development Team Member
Development Team Member
Posts: 4882
Joined: Sun Apr 10, 2005 9:58 am
Location: Netherlands

Re: phpbb3.3.0

by BigDrago » Wed Feb 19, 2020 11:02 pm

Dont know how to do it
BigDrago
Registered User
Posts: 370
Joined: Fri Dec 10, 2004 5:16 pm
Location: Norway

Re: phpbb3.3.0

by janus_zonstraal » Wed Feb 19, 2020 11:19 pm

ext/derky/sortablescaptcha/config/services.yml
Change the file content is this:

Code: Select all

imports:
    - { resource: tables.yml }

services:
    derky.sortablescaptcha.captcha.sortables:
        class: derky\sortablescaptcha\captcha\sortables
        calls:
            - [set_name, [derky.sortablescaptcha.captcha.sortables]]
        arguments:
            - '@dbal.conn'
            - '@cache.driver'
            - '@config'
            - '@log'
            - '@request'
            - '@template'
            - '@user'
            - '%derky.sortables.tables.questions%'
            - '%derky.sortables.tables.answers%'
            - '%derky.sortables.tables.confirm%'
        tags:
            - { name: captcha.plugins }
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm

Re: phpbb3.3.0

by Derky » Thu Feb 20, 2020 7:00 am

And also ext/derky/sortablescaptcha/config/tables.yml

Code: Select all

parameters:
    derky.sortables.tables.questions: '%core.table_prefix%sortables_questions'
    derky.sortables.tables.answers: '%core.table_prefix%sortables_answers'
    derky.sortables.tables.confirm: '%core.table_prefix%sortables_confirm'
User avatar
Derky
Development Team Member
Development Team Member
Posts: 4882
Joined: Sun Apr 10, 2005 9:58 am
Location: Netherlands

Re: phpbb3.3.0

by Mrs Doyle » Mon Feb 24, 2020 10:30 am

Working now. Thanks!
Mrs Doyle
Registered User
Posts: 119
Joined: Mon Nov 11, 2019 1:04 pm

Re: phpbb3.3.0

by wonder_wonder » Fri Mar 27, 2020 7:01 pm

Thanks!
With the indications to edit tables.yml and services.yml works perfect in 3.3.0.

Again, thanks!
wonder_wonder
Registered User
Posts: 125
Joined: Thu Feb 16, 2017 2:52 pm

Re: phpbb3.3.0

by BigDrago » Sat Apr 04, 2020 7:47 pm

Didnt get it. Could someone uplosd the mofified files I need?:-)
BigDrago
Registered User
Posts: 370
Joined: Fri Dec 10, 2004 5:16 pm
Location: Norway

Re: phpbb3.3.0

by janus_zonstraal » Sat Apr 04, 2020 7:50 pm

BigDrago wrote:Didnt get it. Could someone uplosd the mofified files I need?:-)
See above.
ext/derky/sortablescaptcha/config/tables.yml
and
ext/derky/sortablescaptcha/config/services.yml
Sorry! My English is bat ;) !!!
User avatar
janus_zonstraal
Registered User
Posts: 6613
Joined: Sat Aug 30, 2014 1:30 pm