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

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

Category: Administrative and Maintenance Tools - Version: 4.2.0 Rating:
Released: 06-15-2010 Last Update: 02-06-2013 Installs: 307
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations  
No support by the author.

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

File Type: zip Stop the Registration Bots 4.0.2.zip (11.3 KB, 666 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Toorak Times

Comments
  #72  
Old 12-20-2012, 07:04 PM
hugh_ hugh_ is offline
 
Join Date: Mar 2005
Location: Netherlands
Posts: 368
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #73  
Old 12-22-2012, 01:36 AM
DAMINK DAMINK is offline
 
Join Date: Jun 2010
Location: Melbourne Australia
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #74  
Old 12-22-2012, 02:15 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
Благодарность от:
Max Taxable
  #75  
Old 12-22-2012, 02:26 AM
DAMINK DAMINK is offline
 
Join Date: Jun 2010
Location: Melbourne Australia
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #76  
Old 12-22-2012, 02:47 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #77  
Old 12-22-2012, 02:58 AM
DAMINK DAMINK is offline
 
Join Date: Jun 2010
Location: Melbourne Australia
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep i run a Q&A mate.
I do email verification.
I put all new users into a special group.
I force all new uses to post in one area only that is moderated. (non visible to members or bots)
They have no access to spam my site. None actually.
Once someone registers they loose access to my forum unless they are allowed.
It works just fine. I dont care if its difficult. I only want members who are real anyway.

I dont have visible spam on my forum. I just dont. I have in place the measures to stop that.
I simply want this mod to post in thread as other mods do like duplicate ips and what not.

Quote:
Do you think that would make them feel so bad they will stop annoying us?
That is my point about sarcasm or being a smartarse.
Did i think it would stop annoying us?
Well first of all. I dont concider me and you US.
But as for me. No i dont. I simply want to post a thread about it.
Public or private. My choice. But is that too much to ask without comments like above?

ps....
i dont show my member list.
I dont promote spammers as members.
I have anyone who has not posted after X deleted as a user.
I have people that are inactive moved to different user groups.
My forum was never about ego and stats. Others are and i get that.
Mine is not.
Reply With Quote
  #78  
Old 12-23-2012, 01:10 AM
stickskills stickskills is offline
 
Join Date: May 2008
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hugh_ View Post
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;
Yeah, I'm receiving the exact same issue.
Reply With Quote
  #79  
Old 12-26-2012, 01:05 AM
togotutor togotutor is offline
 
Join Date: May 2011
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Downloaded and Installed..
Reply With Quote
  #80  
Old 12-27-2012, 04:26 AM
DAMINK DAMINK is offline
 
Join Date: Jun 2010
Location: Melbourne Australia
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance of adding and option to push the user who registered too quickly to a specific URL or our choice?
That would be GOLD for me.
Reply With Quote
  #81  
Old 01-14-2013, 06:08 PM
mrsbuzzy mrsbuzzy is offline
 
Join Date: Oct 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Before I upgraded my forums and then this hack to the most recent vB (not the version 5) this hack worked beautifully. But, since the upgrade to the vB and to this hack I am getting TONS of new bot registrations. Literally 30+ a day are making it through this hack. I have checked and double checked the settings. I have the time for registration set to 65 seconds.

Anyone else having this problem?
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:22 AM.


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.04844 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete