Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Stop the Registration Bots Details »
Stop the Registration Bots
Mod Version: 4.0.2, by noppid (Member) noppid is offline
Developer Last Online: Sep 2015 I like it Show Printable Version Email this Page

vB Version: 4.2.0 Rating: (21 votes - 4.52 average) Installs: 306
Released: 16 Jun 2010 Last Update: 07 Feb 2013 Downloads: 2176
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files Translations  

Stop the Registration Bots for vBulletin 4.2.0 PL3 and up.

This mod will check the the time it takes for a vBulletin registration form to be submitted. If the form is submitted faster then humanly possible, the registration will be denied and the admin contact can be emailed about the event.

First we will add a custom hidden field with a hash. Second we will insert a randomly named hidden field with a random value. This should make it a bit difficult to program a bot since the field names on all sites will be different as well as the values.

Time stamps to check the time spent on registration submission are stored in a DB table and private.

Installation is very easy.
Template edits.
Files to upload.
Product xml file to import.

Backup your database before any install or upgrade.

To upgrade from 2.x to 4.0.2, remove the existing Stop the Registration Bots product in the ACP and then follow the installation file instructions.


History

4.0.2
Added 10 minute delete interval
Fixed bug in part 3
updated table query
removed old hook code from product.

4.0.1
modify phrase vars
modified install instructions for 4.2.0 pl3 templates.

4.0.0
modified to work with vB 4.x.

2.0.2
Edited file includes/stb_reg_process.php
Added IP and Proxy IP to email notification.

2.0.1
Added tabindex="1" to input box template edit.
Fixed onsubmit code in input box template edit.

2.0.0
Conversion from vB 3.x version to vB 4.x
Reduced template edits to one.
Edited all arrays to include single quotes.
Removed ACP Setting StopBotReg_rulespage_hash
Removed Rules page instructions. All one page now.
Removed file includes/stb_reg_signup.php
Removed hook register_signup
Edited includes/cron/strb_cron_job.php Removed Rules page query.
Removed `rf_name` and `rf_value` fields from DB table.
Moved register_form_start hook code to register_form_complete hook
New Phrases
stop_reg_bot_please_wait
stop_reg_bot_seconds_more
stop_reg_bot_seconds_remaining
Removed phrase stop_reg_bot_enter_prereg_name
Removed phrase setting_StopBotReg_rulespage_hash_title
Removed phrase setting_StopBotReg_rulespage_hash_desc

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Stop the Registration Bots noppid vBulletin 3.7 Add-ons 334 01 Aug 2013 04:26

  #61  
Old 08 Dec 2012, 11:08
noppid noppid is offline
 
Join Date: Mar 2003
Gonna try this on vB 4.2.0 PL3 today and will post any needed updates.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum.
An informed rider makes their first destination the motorcycle forum at rider info.
Reply With Quote
  #62  
Old 08 Dec 2012, 14:03
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
No need to update.....
I have installed this on vB 4.0.8 and it is ever since running.
Updated vB every time and running now without any problems on vB 4.2.0 PL3 since several months.
Reply With Quote
  #63  
Old 08 Dec 2012, 14:13
MacGuyInNC MacGuyInNC is offline
 
Join Date: Feb 2012
In the second step, I think I see a typo in the instructions.

Under b) Find:
<input type="submit" class="button" value="{vb:rawphrase complete_registration}" tabindex="1" accesskey="s" />

You have:
Change to:
<input type="submit" class="button" name="timeremaining" value="{vb:rawphrase complete_registration} in {vb:raw vboption.StopBotRegMinTime}" tabindex="1" accesskey="s" onsubmit"submit_form()") />

The "onsubmit" is missing the =
Reply With Quote
  #64  
Old 08 Dec 2012, 14:31
noppid noppid is offline
 
Join Date: Mar 2003
Originally Posted by Stefan118 View Post
No need to update.....
I have installed this on vB 4.0.8 and it is ever since running.
Updated vB every time and running now without any problems on vB 4.2.0 PL3 since several months.
The instructions needed an update for 4.2 templates. The product name needed attention and the version check needed attention. You may want to just double check things. Thanks.

Originally Posted by MacGuyInNC View Post
In the second step, I think I see a typo in the instructions.

Under b) Find:
<input type="submit" class="button" value="{vb:rawphrase complete_registration}" tabindex="1" accesskey="s" />

You have:
Change to:
<input type="submit" class="button" name="timeremaining" value="{vb:rawphrase complete_registration} in {vb:raw vboption.StopBotRegMinTime}" tabindex="1" accesskey="s" onsubmit"submit_form()") />

The "onsubmit" is missing the =
I just updated the zip with that fixed. Thanks for the heads up.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum.
An informed rider makes their first destination the motorcycle forum at rider info.
Reply With Quote
  #65  
Old 10 Dec 2012, 04:24
MacGuyInNC MacGuyInNC is offline
 
Join Date: Feb 2012
Also, since I upgraded, I'm getting an error on the REPLACE statement:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The MySQL error I'm getting is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The only columns in that table are:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In the updated files, I'm seeing "rf_name" in 3 different files for a total of 8 instances. Also, "rf_value" appears in some of those files as well. Was there a database change that just didn't take? If I change the query to match the columns in the table, will that fargle anything up?
Reply With Quote
  #66  
Old 10 Dec 2012, 15:00
noppid noppid is offline
 
Join Date: Mar 2003
Somewhere along the line I think the upgrade procedure was to remove the product to remove the DB table and then re-install the product to create the new DB table.

The fix should be uninstall the product and re-install the product. Let us know it that works. There is no data in the table that won't be recreated.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum.
An informed rider makes their first destination the motorcycle forum at rider info.
Reply With Quote
  #67  
Old 10 Dec 2012, 16:48
MacGuyInNC MacGuyInNC is offline
 
Join Date: Feb 2012
Originally Posted by noppid View Post
Somewhere along the line I think the upgrade procedure was to remove the product to remove the DB table and then re-install the product to create the new DB table.

The fix should be uninstall the product and re-install the product. Let us know it that works. There is no data in the table that won't be recreated.
Yeah, in looking at my setup a little more closely, I noticed 2.0.2 was still installed.

Uninstalled, reinstalled, am waiting now to see if there are any problems.

Thanks for pointing out my PEBKAC moment.
Reply With Quote
  #68  
Old 12 Dec 2012, 14:27
nicklfire nicklfire is offline
 
Join Date: Mar 2008
Does this mod take into consideration the Facebook login feature as well?
Reply With Quote
  #69  
Old 12 Dec 2012, 14:45
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
I have had this mod for a while, it has saved me so many hours work getting rid of spammers, when I have had it off after a crash et al I'd get flooded...JUST upgraded to 4.2pl3 and will be installing the upgrade tomorrow I hope.

I have had a few sneaking thru so it will be interesting to see how it responds, I will report back
Reply With Quote
  #70  
Old 12 Dec 2012, 19:09
noppid noppid is offline
 
Join Date: Mar 2003
Originally Posted by nicklfire View Post
Does this mod take into consideration the Facebook login feature as well?
You should force the vB registration form on your forum to use this mod with FB or else you are relying on FB to give you real members.

This is designed to stop remotely submitted forms by installing random data fields in the registration form. It's one tool in the process of stopping spam.
__________________
Add a photo gallery garage to your auto forum and get noticed by your members. Find out how at the vBulletin Computer Help Forum.
An informed rider makes their first destination the motorcycle forum at rider info.
Reply With Quote
  #71  
Old 20 Dec 2012, 19:04
hugh_ hugh_ is offline
 
Join Date: Mar 2005
I get this error when I try to install this:

Database error in vBulletin 4.2.0:

Invalid SQL:

CREATE TABLE IF NOT EXISTS stopbotsregistry (
`hash` varchar(100) NOT NULL default '',
`regtime` int(10) unsigned NOT NULL default '0',
`rf_name` varchar(10) NOT NULL default '',
`rf_value` varchar(10) NOT NULL default '',
`uf_name` varchar(10) NOT NULL default '',
`uf_value` varchar(10) NOT NULL default '',
PRIMARY KEY (`hash`),
KEY `regtime` (`regtime`)
) TYPE=MyISAM;
Reply With Quote
  #72  
Old 22 Dec 2012, 01:36
DAMINK DAMINK is offline
 
Join Date: Jun 2010
I would love for this mod to be able to write the results of failed registrations to thread instead of or as well as email.
Me personally i like to name and shame and this mod could do well for that.
If anyone could give advice on how to do this, that would be great.
__________________
FTW Forum <- Home of the damned!
Reply With Quote
  #73  
Old 22 Dec 2012, 02:15
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Originally Posted by DAMINK View Post
Me personally i like to name and shame and this mod could do well for that.
You want to "name and shame" bots? Do you think that would make them feel so bad they will stop annoying us?
Reply With Quote
  #74  
Old 22 Dec 2012, 02:26
DAMINK DAMINK is offline
 
Join Date: Jun 2010
No not really Videx.
Way i figure it........
Better in a thread than 500 emails a day.
To have them available to visually see i think could be a good thing if only for reference and perhaps a constant ip address that is not dynamic and therefor easy to ban.
Dunno just think it would be better in a thread than an email.
( I get too many emails NOW)
But im guessing your comment was infact a smartarse one rather than a constructive one so i will not reply further to that.
__________________
FTW Forum <- Home of the damned!
Reply With Quote
  #75  
Old 22 Dec 2012, 02:47
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
No, I was not being a smartass. I really think you're doing something terribly wrong if you're getting 500 emails a day from rejected bots. Have you just tried a simple Q&A? That eliminates about 100% of our bots, and no email notification is necessary.

That leaves real humans as our only remaining source of spam. And when you ban these guys, they won't be able to read your 'shame' forum anyway so why bother?

And the few bots that may register but never post - and thus don't get banned - aren't a problem anyway. They just swell our ranks which isn't a Bad Thing.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:40.

Layout Options | Width: Wide Color: