[MODDB] Anti Bot Question (1.0.2)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

[MODDB] Anti Bot Question (1.0.2)

Post by CoC » Sat Jul 21, 2007 4:14 am

MOD Title: Anti Bot Question
MOD Description: Add an Admin controlled anti-bot question to the registration page and ACP.

MOD Version: 1.0.2
phpBB Version: phpBB 3.0.0 Gold

MOD Download: Click Me

Going on from the Security Question Mod I made with James N for phpBB 2.0.22 here is the version for phpBB3 RC3.

Screen capture of the ACP:
Image

Screen capture of the Registration page:

Image

Updated to 1.0.2 - Updated finds in template to RC7 standards, changed incorrect answer error message to give better explanation - Re-submitted to MDB
Updated to 1.0.1 - Moved Template edits to own file - Re-submitted to MDB
Updated to 1.0.0 - Submitted to MDB
Updated to 0.0.4 - Added second answer option
Updated to 0.0.3 - Added switch to turn mod on or off in the ACP
Updated to 0.0.2 - Fixed case insensitive when uppercase letters used in the ACP
Last edited by CoC on Mon Dec 24, 2007 2:39 am, edited 12 times in total.

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10933
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: Anti Bot Question

Post by battye » Sat Jul 21, 2007 5:10 am

Is it case insensitive?
Customisations Team Member

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 » Sat Jul 21, 2007 5:39 am

Yes, using strtolower for the registration page.

Now you have me thinking, if capaitals were used in the ACP answer it wouldn't work - :(

Need to make the answer in the ACP forced lowercase as well.

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10933
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: Anti Bot Question

Post by battye » Sat Jul 21, 2007 5:47 am

Not necessarily.

I assume in the registration page you have something like:

Code: Select all

if( $board_config['security_question'] == strtolower($user_security_input) )
{
// do stuff
}
You don't need to force lower case in the ACP, you could just simply turn the above in to:

Code: Select all

if( strtolower($board_config['security_question']) == strtolower($user_security_input) )
{
// do stuff
}
Making both variables lower case. :)
Customisations Team Member

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 » Sat Jul 21, 2007 6:25 am

Good call - :D

Code: Select all

if ($data['AB_Question'] != strtolower($config['abanswer']))
				{
					$error[] = $user->lang['AB_QUESTION_ERROR'];
				}
Did the trick, will update original post - :)

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Anti Bot Question

Post by IPB_Refugee » Sat Jul 21, 2007 9:40 am

Hi CoC,

thank you for this MOD!

Some suggestions: If you ever want to extend it, I'd like to have the possibility to set more than one correct answer per question. And it would be great if we could have more than one question, too. (The question could be chosen randomly at the registration of a new user.) Support for picture based questions would be very nice, too. A lot of good ideas can be found at MagMos Anti Bot Question MOD which is unfortunately only available for phpBB2.

Have a nice weekend and thanks again!
Wolfgang

Gregminimum
Registered User
Posts: 59
Joined: Sun Oct 22, 2006 11:04 pm
Location: Blaine, WA
Contact:

Re: Anti Bot Question

Post by Gregminimum » Sun Jul 22, 2007 7:22 pm

MagMo's Anti Bot Question MOD for phpBB2 has been great for us. I would have assumed that the creators of phpBB3 would have included the features of that MOD in phpBB3. I haven't converted to phpBB3 yet. Are you sure that an Anti Bot Question MOD is necessary with phpBB3? Why would those features be left out of phpBB3?

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: Anti Bot Question

Post by IPB_Refugee » Mon Jul 23, 2007 2:31 am

Hi,

the answer is simple: phpBB3 has been feature frozen for quite a while now.

IMHO the day will come when the spammers crack Olympus' captcha and you will need additional anti spam MODs. BTW: I just don't like visual captchas. ;)

Regards
Wolfgang

User avatar
smithy_dll
Former Team Member
Posts: 7630
Joined: Tue Jan 08, 2002 6:27 am
Location: Australia
Name: Lachlan Smith
Contact:

Re: Anti Bot Question

Post by smithy_dll » Tue Jul 24, 2007 1:53 pm

Hello,

Please edit your topic title with a prefix as outlined in MOD Development forum rules, section 3.a. This will allow people to see the development status of your MOD at a glance.

Thank you,
The phpBB MOD Team

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

Re: [BETA] Anti Bot Question (0.0.2)

Post by CoC » Sat Jul 28, 2007 7:12 pm

Tested and working on RC4.

IPB_Refugee, your welcome - :D

I had thought about doing more with it, but I really wanted to keep it simple although I do like the idea of more than one answer per question, Could be quite useful for questions with numerical answers.

Gregminimum,
It's about choices, you have a choice to use the default captcha or you can use this, or both or neither of them.

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

Re: [BETA] Anti Bot Question (0.0.4)

Post by CoC » Sun Jul 29, 2007 4:27 am

Updated to 0.0.4

Added the option to set a second answer for the question.

Cheers for the idea IPB_Refugee :D

User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [BETA] Anti Bot Question (0.0.4)

Post by IPB_Refugee » Sun Jul 29, 2007 11:59 am

You are welcome. :)

Keep up the good work and have a nice sunday!
Wolfgang

FroodyKronos
Registered User
Posts: 2
Joined: Tue May 22, 2007 11:01 am

Re: [BETA] Anti Bot Question (0.0.4)

Post by FroodyKronos » Sun Aug 05, 2007 7:18 pm

Nice and easy install and works perfectly :D

maddog1221
Registered User
Posts: 36
Joined: Mon Nov 14, 2005 1:06 pm

Re: [BETA] Anti Bot Question (0.0.4)

Post by maddog1221 » Wed Aug 08, 2007 9:07 am

Very nice! Definatly using this. Got about 10 spam bots signing up a day on my old site lol

Thanks, I hope you continue to improve this great addon!

kix_mc3
Registered User
Posts: 70
Joined: Mon Aug 06, 2007 11:43 am
Location: Romania
Contact:

Re: [BETA] Anti Bot Question (0.0.4)

Post by kix_mc3 » Wed Aug 15, 2007 12:05 am

Hy, i´m a little newbie....i´ve installed the MOD, but when i try to register nothing appears...it need to do some changes in ACP?

Locked

Return to “[3.0.x] MODs in Development”