Anti-Bot Question

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29216
Joined: Sat Aug 16, 2003 7:36 am

Anti-Bot Question

Post by Extensions Robot »

Modification name: Anti-Bot Question
Author: CoC
Modification description: Add an Admin controlled anti-bot question to the registration page and ACP.
Modification version: 1.2.0
Tested on phpBB version: 3.0.4

Download file: AntiBotQuestion.zip
File size: 32.81 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:33 pm, edited 13 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28617
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Anti-Bot Question

Post by Paul »

Modification validated/released

Notes:
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: Anti-Bot Question

Post by CoC »

Updated to 1.1.0

Download
Last edited by CoC on Thu Jan 10, 2008 11:41 pm, edited 1 time in total.
thyca
Registered User
Posts: 1
Joined: Sat Dec 29, 2007 11:14 pm

Re: Anti-Bot Question

Post by thyca »

When you click non in the acp page and you leave a text in the answer box, the user that is trying to register will always have the error "wrong anti bot answer", but their is non text box to put any answer. To avoid the bug you must leave the text box in acp empty.
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: Anti-Bot Question

Post by CoC »

:o - Mmmm, Thanks for finding that, to fix it -

Open - includes/ucp/ucp_register.php

Find -

Code: Select all

                if ($data['AB_Question'] != strtolower($config['abanswer']) && $data['AB_Question'] != strtolower($config['abanswer2']))
                {
                    $error[] = $user->lang['AB_QUESTION_ERROR'];
                } 
Replace With -

Code: Select all

                if ($config['enable_abquestion'])
                {
                    if ($data['AB_Question'] != strtolower($config['abanswer']) && $data['AB_Question'] != strtolower($config['abanswer2']))
                    {
                        $error[] = $user->lang['AB_QUESTION_ERROR'];
                    }
                } 
Updated the mod - Download 1.0.3
pmn1
Registered User
Posts: 15
Joined: Tue May 24, 2005 4:32 pm

Re: Anti-Bot Question

Post by pmn1 »

Thanks for writing this mod.....I normally get 100+/- spammers over a weekend.....none since installing this.
I no longer have to authorize new users :mrgreen:
g1234
Registered User
Posts: 1
Joined: Mon Dec 31, 2007 3:29 pm

Re: Anti-Bot Question

Post by g1234 »

Great mod - this has cut down my spam traffic enourmously!
CarolC1
Registered User
Posts: 653
Joined: Sat Dec 02, 2006 4:26 pm

Re: Anti-Bot Question

Post by CarolC1 »

Finally got it! :)
Last edited by CarolC1 on Tue Jan 01, 2008 10:38 pm, edited 2 times in total.
dawmdt
Registered User
Posts: 7
Joined: Tue Jan 01, 2008 7:55 pm

Re: Anti-Bot Question

Post by dawmdt »

I'm having a minor problem with this mod...

On the user registration page, instead of my defined anti-spambot question, it simply says

{ AB_Question }:

Anyone have any ideas what I've done wrong?

http://www.tempusdraco.com is the site...
mandruch
Registered User
Posts: 24
Joined: Thu Mar 24, 2005 11:07 pm

Re: Anti-Bot Question

Post by mandruch »

Where are the install instructions?

Nevermind... :D
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: Anti-Bot Question

Post by CoC »

dawmdt wrote:I'm having a minor problem with this mod...

On the user registration page, instead of my defined anti-spambot question, it simply says

{ AB_Question }:

Anyone have any ideas what I've done wrong?

http://www.tempusdraco.com is the site...
You seem to be missing this part of the mod,

Open: includes/ucp/ucp_register.php

Find

Code: Select all

            'L_PASSWORD_EXPLAIN'        => sprintf($user->lang[$config['pass_complex'] . '_EXPLAIN'], $config['min_pass_chars'], $config['max_pass_chars']), 
Add after

Code: Select all

            'L_AB_QUESTION'                => $config['abquestion'], 
anfichtn
Registered User
Posts: 1
Joined: Wed Jan 02, 2008 1:59 pm

Re: Anti-Bot Question

Post by anfichtn »

Hello!

I have the Problem, the Answer of the Question is all times wrong.

Can u Help me plz?

greets
dawmdt
Registered User
Posts: 7
Joined: Tue Jan 01, 2008 7:55 pm

Re: Anti-Bot Question

Post by dawmdt »

CoC wrote:
dawmdt wrote:I'm having a minor problem with this mod...

On the user registration page, instead of my defined anti-spambot question, it simply says

{ AB_Question }:

Anyone have any ideas what I've done wrong?

http://www.tempusdraco.com is the site...
You seem to be missing this part of the mod,

Open: includes/ucp/ucp_register.php

Find

Code: Select all

            'L_PASSWORD_EXPLAIN'        => sprintf($user->lang[$config['pass_complex'] . '_EXPLAIN'], $config['min_pass_chars'], $config['max_pass_chars']),  
Add after

Code: Select all

            'L_AB_QUESTION'                => $config['abquestion'],  
Cheers mate that did it!

I accidentally copied in the wrong piece of code under the L_PASSWORD_EXPLAIN line :oops:

Once I've upgraded my other boards to phpbb3 this will be the first mod going on them 8-)
amagab
Registered User
Posts: 148
Joined: Sat Dec 13, 2003 12:29 am
Location: Toilet.SE
Contact:

Re: Anti-Bot Question

Post by amagab »

I also have the problem where the answer is always wrong.
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: Anti-Bot Question

Post by CoC »

:? - You must be typing the answer in wrong.
Locked

Return to “[3.0.x] MOD Database Releases”