Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) Anti-Spam Question V0.2 for YaBB 2.5 (Read 30540 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Anti-Spam Question V0.2 for YaBB 2.5
Sep 24th, 2011 at 7:59pm
Print Post  
Anti-Spam Question V0.2

Description:
----------------
This Mod will add a random question which must be answered on registration. You can add/edit/delete questions from the Admin Center. Obviously this won't do anything for human spam but will hopefully help against robots.

Screenshots:
-----------------
Registration Page:




You can see an example on my demos board here: http://ibrainstorm.net/modemos/forum/YaBB.pl?action=register

Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.
3) Upload AntispamQuestion.pl, AntispamQuestion.lng and RegQuestions.txt to their relevant directories in ASCII mode.
4) Go into Admin Center => BoardMod Mods => Anti-Spam Question to configure the settings.

Files to edit:
----------------
AdminIndex.pl
Admin/AdminSubList.pl
Admin/ModList.pl
Languages/English/Admin.lng
Languages/English/Error.lng
Languages/English/Register.lng
Sources/Register.pl

Zip package:
-----------------
Antispam_Question_V0_2.mod
cgi-bin/yabb2/Admin/AntispamQuestion.pl
cgi-bin/yabb2/Languages/English/AntispamQuestion.lng
cgi-bin/Variables/RegQuestions.txt

History:
---------
V0.1 - First release - 24th September 2011
V0.2 - Added ability to have multiple answers and added Admin option for case-sensitive/insensitive answers - 7th November 2011
« Last Edit: Jan 28th, 2013 at 6:33pm by Derek Barnstorm »  

antispam_questions_02.zip ( 12 KB | Downloads )
Back to top
 
IP Logged
 
TRoN
Junior Member
**
Offline


...against the MCP!

Posts: 58
Location: Bad Iburg
Joined: Aug 8th, 2003
Gender: Male
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #1 - Oct 16th, 2011 at 6:07pm
Print Post  
Thank you very much for this mod! It works like a charm and has kept out automated spammers, yet.

Btw, I translated the few english text lines into german (all but the questions since I only used one new question).
  

.-== Sapere Aude! ==-.
|_TRoN_| @ digital-joker.de/forum
Back to top
WWWICQ  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #2 - Oct 16th, 2011 at 7:59pm
Print Post  
Thanks for taking the time to comment, TRoN. I'm glad you've found it useful. Smiley
  
Back to top
 
IP Logged
 
earthylad
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 7
Location: Isle of Skye
Joined: Dec 14th, 2004
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #3 - Oct 17th, 2011 at 7:14pm
Print Post  
Hi Derek, I assume this anti-spam mod won't work oni 2.3?
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #4 - Oct 17th, 2011 at 7:34pm
Print Post  
Hi again Graham,

It should work fine, it's just a search string or two which are different. Try the .mod file attached to this post (again, I've not tested) - you'll obviously still need the other files from the package attached to the first post.

You might also want to check out Carsten's 'SpamFruits' Mod if you're interested in this. From having a quick look, it looks like that will work with 2.3 how it is:

http://www.carsten-dalgaard.dk/cgi-bin/yabb2/YaBB.pl?num=1318072608

They both do a similar sort of thing really, so you've got the choice which one you want to use.

Edited:
Nov 9th, 2011 at 10:22pm - Edited to update the attached mod file to the latest version (0.2).
« Last Edit: Nov 9th, 2011 at 10:22pm by Derek Barnstorm »  

Antispam_Question_V0_2_23.mod ( 5 KB | Downloads )
Back to top
 
IP Logged
 
earthylad
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 7
Location: Isle of Skye
Joined: Dec 14th, 2004
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #5 - Oct 17th, 2011 at 7:40pm
Print Post  
Hi Derek, Silly question, but could I use both at once?
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #6 - Oct 17th, 2011 at 7:49pm
Print Post  
Yes, you could do, but I don't know how much point there would be in doing so. That would probably be a little 'over cautious'. Also, neither Mod will stop human spammers - they will only stop bots, and both Mods should work okay by themselves at stopping bots...
  
Back to top
 
IP Logged
 
Autonerdz
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 11
Joined: Apr 3rd, 2007
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #7 - Nov 5th, 2011 at 3:59am
Print Post  
Derek,

Thank you for this.  I have a 2.3.1 board and have been buried this week by registrations from bots that can solve captchas in just a few seconds.  The result is quote a mess of crap waiting for an admin to sort through and delete all the bogus registrations.

I just installed your mod v0_1_23.  Nice.  This should stop them cold.   Cool
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #8 - Nov 5th, 2011 at 3:22pm
Print Post  
Thanks Autonerdz. You'll have to let us know how it gets on - it would be nice to know how well it works.

I think I had the first person/bot get past it yesterday on my test board, but I suspect they were human - Along with the other checks though, they still didn't manage to get through.
  
Back to top
 
IP Logged
 
Autonerdz
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 11
Joined: Apr 3rd, 2007
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #9 - Nov 5th, 2011 at 5:22pm
Print Post  

Derek,

It stopped them right in their tracks. 

I was monitoring the error logs while trying other things like making the captcha more complex.  The bots still solved it faster than a human in just a few seconds after four to six attempts generating the validation error.

After installing this mod, they still generate the validation errors.  I think some of the bots may be placing the validation response in the challenge question field.   Grin

Others continue until there is a verification question error.

In any case, not a single one has made it through to the admin approval stage.  Sure made my life easier. 

Thanks again.... Smiley
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Anti-Spam Question V0.1 for YaBB 2.5
Reply #10 - Nov 6th, 2011 at 12:52am
Print Post  
That's great. Thanks for the feedback. Smiley
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Anti-Spam Question V0.2 for YaBB 2.5
Reply #11 - Nov 9th, 2011 at 1:39am
Print Post  
V0.2 attached to the first post.

Added ability to have multiple answers and added Admin option for case-sensitive/insensitive answers.

  
Back to top
 
IP Logged
 
Devonshire Expat
New Member
*
Offline



Posts: 1
Location: Ipswich
Joined: Nov 13th, 2011
Gender: Female
Re: Anti-Spam Question V0.2 for YaBB 2.5
Reply #12 - Nov 13th, 2011 at 11:52pm
Print Post  
Derek Barnstorm wrote on Nov 9th, 2011 at 1:39am:
V0.2 attached to the first post.

Added ability to have multiple answers and added Admin option for case-sensitive/insensitive answers.

Just carried out the mod; very straightforward - thank you! Smiley

Will have to wait a couple of days to see the effect this second level of verification has (I too have left the captcha field in the registration process, even though the bots seem to have got the hang of it!!).
  
Back to top
WWW  
IP Logged
 
Jimboat
New Member
*
Offline


thanks to all!

Posts: 18
Joined: Jul 17th, 2007
Re: Anti-Spam Question V0.2 for YaBB 2.5
Reply #13 - Dec 13th, 2011 at 2:13pm
Print Post  
will this mod work on V2.4?
  

/Jimboat
Back to top
 
IP Logged
 
sachin
New Member
*
Offline


I Love YaBB 2!

Posts: 1
Joined: Oct 22nd, 2011
Gender: Male
Re: Anti-Spam Question V0.2 for YaBB 2.5
Reply #14 - Dec 19th, 2011 at 8:22pm
Print Post  
Anyone help me to know how can i Modify YaBB files using BoardMod ???? i want to add this mod in my YaBB forum but i dont know how can i do this. i am running indiancarz and getting lots of spam users. so for this i just need to intall this mod. so please someone help me to do this.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint