Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Stop the Registration Bots Details »»
Stop the Registration Bots
Version: 1.2.2, by noppid noppid is offline
Developer Last Online: Sep 2015 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.x Rating:
Released: 06-29-2008 Last Update: 12-07-2012 Installs: 624
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
cmmguy, gr8dude

Comments
  #222  
Old 03-10-2009, 11:17 AM
bryanb's Avatar
bryanb bryanb is offline
 
Join Date: Oct 2003
Location: Bierland
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway for the response email to include the IP address of the bot? I'm getting about 50-70 of these a day. It would be nice to record the IP and block it.


Fantastic mod by the way. :up:
Reply With Quote
  #223  
Old 03-10-2009, 12:01 PM
bryanb's Avatar
bryanb bryanb is offline
 
Join Date: Oct 2003
Location: Bierland
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a side note - if you want to ensure that your forum is 100% bot free, make sure you moderate registrations. I still have some that sneak through.

I have a number of fields to fill out when registering (hobbies, favorite movies, etc.) it's going to take at least a minute to fill out the registration form, so I have the minimum time set to 25 seconds. I have about a bot a day filling out the form longer than this, thus ending up in the moderated queue. Just a heads up.
Reply With Quote
  #224  
Old 03-16-2009, 11:01 AM
bryanb's Avatar
bryanb bryanb is offline
 
Join Date: Oct 2003
Location: Bierland
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bryanb View Post
Is there anyway for the response email to include the IP address of the bot? I'm getting about 50-70 of these a day. It would be nice to record the IP and block it.


Fantastic mod by the way. :up:
Could anyone show me how to add the IP address of the bot in the response email??

Thanks!
Reply With Quote
  #225  
Old 03-17-2009, 09:56 PM
hazzard 1 hazzard 1 is offline
 
Join Date: Mar 2009
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am new to this and I am already experiencing bots. Excuse the Newbie questions...

Does this work in the newest version of vbulletin 3.8?

The includes folder that is in this download.......Where do I upload it to since I already have an includes folder in my site from vbulletin?

Thanks
Reply With Quote
  #226  
Old 03-18-2009, 12:10 AM
jaredwilli's Avatar
jaredwilli jaredwilli is offline
 
Join Date: Aug 2008
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had installed this, but Im running vb 3.8.1, and I found that it doesn't allow registrations at all..
Would this mod be made for 3.8.x vbulletin by any chance?
I really hope so because the spam registrations are out of control.
Reply With Quote
  #227  
Old 03-19-2009, 05:40 PM
pts123's Avatar
pts123 pts123 is offline
 
Join Date: Oct 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:


***Forth: Upload the contents of the upload folder.


***Fifth: In the vBulletin Admin Control Panel Product Manager Add/Import the attached product xml file.


***Sixth
In the ACP under vBulletin options, set up the options under
"Stop the Registration Bots Options". Make all random fields unique to your site.


That's it. Your registration process is highly modified and fast submissions and direct
submissions will be denied registration.

Good luck!
Above is the portion of the installation text file, where I am stuck? Where do I upload the contents of the upload folder, specifically? And the contents in the upload folder are in another folder called "includes". Do I want to copy it, the folder with everything in it, or go down further to the seperate files? Again, where do I copy it for the next step?

Then it says to go to vBulletin Admin Control Panel Product Manager Add/Import. I do not find that on the menu? What am I missing?

And step six really confuses me? I did the first three steps and saved it so, if I could get the rest, "Help" The bots are killing me!

Jerry in KC

Jdwyer@ptsnetwork.com
Reply With Quote
  #228  
Old 03-21-2009, 09:57 AM
pts123's Avatar
pts123 pts123 is offline
 
Join Date: Oct 2007
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After finishing this mod, I tried the registration to make sure it would work for a normal human and I got this as soon I clicked on registration:
---------------------------------------------------------
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/pts123/public_html/k0gq.com/forums/includes/stb_functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pts123/public_html/k0gq.com/forums/register.php(81) : eval()'d code on line 4
---------------------------------------------------------
I thought I did the template edits very carefully. Can anyone see what this error is telling me, ahhh?

Jerry in KC
Reply With Quote
  #229  
Old 03-21-2009, 04:50 PM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Greetings....

Operational question...

I was using IsBot ver 1.0 that more or less did a time check. I had A LOT of mails coming in about BOT's that were stopped.

I just installed this version onto 3.7.X Vb on two different sites. The thing is...No more notices have been sent. (Yes, I have the setting to send the mail.)

So, the question is, what needs to take place for the e-mail to be sent? I see this new version has a count down before a registration button can be clicked so I am guessing this might have something to do with it??? Heck I even went as far as turning off the human verification check to see if I then would be flooded with notices. But nothing when I was getting a number of isBot notices.

Can you please advise one

1) What needs to take place for the e-mail to be sent?
2) Any way to test it?
3) Anyway to verify any of this is working?

As mentioned, the older one that just checked amount of time that had past was sending out notices.

Thanks you.

On sites... http://www.avsforum.com & http://www.dbstalk.com

Regards,
Reply With Quote
  #230  
Old 03-22-2009, 01:43 AM
David Bott David Bott is offline
 
Join Date: Dec 2001
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In thinking about the issue above, as I have yet to receive one notice of attempt, does the count down before they can click "register" kind of defeat the purpose of the timing between the page submission? As such, does an e-mail ever get sent then as the time has always gone past the value set before they can submit? I mean, all the bot's need to do is now set a timer or something. (for this time they know the site is using this method of checking.) They can see the setting after all in the page...

countdown = 15;
actualcountdown = 15;

Anyone, any thoughts as the author has not been on the site from the beginning of February.

Please advise.

Thank you.
Reply With Quote
  #231  
Old 04-15-2009, 09:52 AM
losedude losedude is offline
 
Join Date: Dec 2007
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I just installed this and if it works you are a life saver. I just pruned out 1000 damn spam bots.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:23 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05078 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete