Register Members List Search Today's Posts Mark Forums Read

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

This modification is in the archives.
vB Version: 3.7.x Rating: (57 votes - 4.77 average) Installs: 622
Released: 30 Jun 2008 Last Update: 08 Dec 2012 Downloads: 3868
Not Supported DB Changes Uses Plugins Template Edits Additional Files Re-usable Code Translations  

Control your vBulletin forum registration process and stop the registration bots.

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 will be emailed about the event. The time is settable

We will start the registration on the forum rules page in two ways. 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.

We will use a second set of random hidden fields on the form page as well to add to the confusion.

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

A registration will have to come through the Rules page and the form. Every Site will be different.

Installation is very easy.

There are two templates to edit.
One database table is added.
Three hooks are utilized.
Includes uninstall code.
Adds to vBulletin options.
Set time frame option.
Includes Phrases.
Sends Mail to Admin.
No files to upload.
XML product install.
Instructions attached in zip.

Demo usage and view source at http://www.riderinfo.com/

Compatibility
This hack is known to work on vBulletin 3.6.11 PL1 and will likely work back a few versions in the 3.6.x vBulletin series. Of course it works on 3.7.x as posted too.

HISTORY
1.2.2
added admin email on/off setting
moved hook code to files to reduce overhead.
1.2.1
Added Enable/Disable setting.
Fixed coppa includes file probem
Added file upload instructions to readme file.
1.2.0
Added JS timer to registration button.
Added enable/diable for email.
Removed ACP settings for random fields on rules and reg form pages and automated.
Reworded Pharses in ACP.
Recoded rules form and reg form edits.
Renamed variables for better code following.
Added more DB fields per user reg for tracking random automation.
New Hook on start_registration for functions.
Added new functions file. includes/stb_functions.php.
1.0.3
Changed input user name on rules form to random named hidden field with hash value.
Removed \n chars from email phrases.
All changes to registration are transparent to the folks registering.
Renamed DB username field to hash.
New hook on register_signup.
1.0.2
Added new Pre Reg Name hidden field to register form edits and ACP.
Added code to deal transparently with user deciding to change name after pre submitting it.
1.0.1
Fixed typo, changed 36000 to 3600 in product file.
1.0.0
Original Release.

Download Now

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

Addons

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.
  #121  
Old 15 Oct 2008, 23:03
noppid noppid is offline
 
Join Date: Mar 2003
There are problems on forum_rules.

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

Are there blank fields in the ACP settings? Are all the hooks enabled? What version of vBulletin are you on?

Did you do a new install or upgrade? If upgrade, did you uninstall the old version first?
__________________
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
  #122  
Old 15 Oct 2008, 23:06
rooban12's Avatar
rooban12 rooban12 is offline
 
Join Date: May 2007
Im using 3.7.3 Patch Level 1
and
Enable checks for registraion bots? Yes
Minimum Time for Registration Submission 1
Rules Page Hash Hidden Field Name UheKLwaQ
Register Page Hash Hidden Field Name iuwHJPQn
Email Notification Yes

all the hooks enabled
Reply With Quote
  #123  
Old 15 Oct 2008, 23:08
noppid noppid is offline
 
Join Date: Mar 2003
Originally Posted by rooban12 View Post
Im using 3.7.3 Patch Level 1
and
Enable checks for registraion bots? Yes
Minimum Time for Registration Submission 1
Rules Page Hash Hidden Field Name UheKLwaQ
Register Page Hash Hidden Field Name iuwHJPQn
Email Notification Yes

all the hooks enabled
On a guess, I think there is a table problem. Uninstall product and install product xml again and see if we get the other fields filled out correctly.
__________________
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
  #124  
Old 15 Oct 2008, 23:13
rooban12's Avatar
rooban12 rooban12 is offline
 
Join Date: May 2007
showing the same msg
Reply With Quote
  #125  
Old 15 Oct 2008, 23:46
TerryMason TerryMason is offline
 
Join Date: Nov 2005
Originally Posted by rooban12 View Post
showing the same msg


I got the same error - then I realized there were template hacks to be done

did the template hacks and everything works fine!


Are you sure that you are modifying the correct template?
__________________
Jeep Forum | Help Fight Cancer | Shirtzilla - monstrously funny shirts
Reply With Quote
  #126  
Old 16 Oct 2008, 00:50
noppid noppid is offline
 
Join Date: Mar 2003
Originally Posted by rooban12 View Post
showing the same msg
IF it was an upgrade, the old edits need to be removed and replaced with the new template edits. Maybe that's the problem?
__________________
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
  #127  
Old 16 Oct 2008, 02:59
segwayon segwayon is offline
 
Join Date: Mar 2008
I had the 1.0.3 installed. When I saw this 1.2.1 upgrade, I uninstalled 1.0.3, went into the template edit and saw they were not reverted, so I went ahead and edited them in accordance with the 1.2.1 instuctions, then imported the XML, and tested the register page.

I got this:

Warning: require_once([path]/includes/stb_functions.php) [function.require-once]: failed to open stream: No such file or directory in [path]/register.php(81) : eval()'d code on line 4

Fatal error: require_once() [function.require]: Failed opening required '/home/domain_name/public_html/forum/includes/stb_functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/domain_name/public_html/forum/register.php(81) : eval()'d code on line 4
In the meantime I've uninstalled the mod. Did I do something wrong? Should I have reverted the template code before importing the new XML? Thanks!
Reply With Quote
  #128  
Old 16 Oct 2008, 12:46
noppid noppid is offline
 
Join Date: Mar 2003
You didn't upload the functions file to the includes folder. I thought we updated the read me with that. I know I did on new install. I must have not added it to the upgrade section.
__________________
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
  #129  
Old 17 Oct 2008, 06:24
mlucek's Avatar
mlucek mlucek is offline
 
Join Date: Feb 2004
Yup, working for me !! Upgraded from 1.0.3 to 1.2.1, made template updates and uploaded functions file as indicated.

Between this mod, NoSpam, and a potentially broken (?) ReCaptcha, 20+ registrations a day are now being blocked . If any do make it through, I have new user moderation turned on, so they gotta past all that 1st
Reply With Quote
  #130  
Old 17 Oct 2008, 14:27
segwayon segwayon is offline
 
Join Date: Mar 2008
Originally Posted by noppid View Post
You didn't upload the functions file to the includes folder. I thought we updated the read me with that. I know I did on new install. I must have not added it to the upgrade section.
My bad. It was listed in the fresh install directions, and that was the route I had taken, but I had glazed over the needed upload of the functions file.

Retried and tested and all is well. Thanks again, noppid!

By the way, any chance that IP addresses can be included in the emails?

Also, in this 1.2.1 version did you add a space character after the listed email address and before the "Form Processing Time in Seconds" string? The emails in 1.0.3 would say "user@domain.comForm"
Reply With Quote
  #131  
Old 17 Oct 2008, 18:59
noppid noppid is offline
 
Join Date: Mar 2003
Originally Posted by segwayon View Post
My bad. It was listed in the fresh install directions, and that was the route I had taken, but I had glazed over the needed upload of the functions file.

Retried and tested and all is well. Thanks again, noppid!

By the way, any chance that IP addresses can be included in the emails?

Also, in this 1.2.1 version did you add a space character after the listed email address and before the "Form Processing Time in Seconds" string? The emails in 1.0.3 would say "user@domain.comForm"
I got the space. Thanks, looks better.

I think we can add the IP. That shouldn't be hard. But remind me, I'm off for the weekend and I'm really burnt out on code this week. See ya soon.
__________________
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
  #132  
Old 22 Oct 2008, 17:17
ATVTorture ATVTorture is offline
 
Join Date: Sep 2008
Is there any way to make this script show the IP address the potential bot came from. That would allow us to be able to reconginize a common subnet and ban that entire subnet.

Thanks!
Reply With Quote
  #133  
Old 22 Oct 2008, 20:16
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Originally Posted by ATVTorture View Post
Is there any way to make this script show the IP address the potential bot came from. That would allow us to be able to reconginize a common subnet and ban that entire subnet.

Thanks!
I use the proxy checker to address this issue:

http://www.vbulletin.org/forum/showthread.php?t=131852

Spam bots almost always use a proxy IP so I use the script I linked to set to a later execution order to moderate users that registered from a known proxy IP. Every now and then I have to approve a user that must be real but I have not had a problem with bots registering for a while but I have a custom antispam setup that combines a number of scripts plus custom user fields that make my site just not worth the effort it would take to spam them.

Then, the one touch ban and cleanup takes me 1-second to remove the spammer that does try to get through. Life is getting better thanks to the great mods that have been shared here!

I am upgrading one of my sites to 3.7.x this weekend and I plan to install this on the new install as I like the move to the DB where it can not be faked.
Reply With Quote
  #134  
Old 26 Oct 2008, 01:20
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Real name: Peggy
Originally Posted by noppid View Post
You didn't upload the functions file to the includes folder. I thought we updated the read me with that. I know I did on new install. I must have not added it to the upgrade section.
Nope you didn't, and still haven't. I just had the same problem, lol.
Reply With Quote
  #135  
Old 26 Oct 2008, 01:42
james trevel james trevel is offline
 
Join Date: Aug 2008
Installed.
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 03:10.

Layout Options | Width: Wide Color: