Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #62  
Old 12-08-2012, 11:08 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gonna try this on vB 4.2.0 PL3 today and will post any needed updates.
Reply With Quote
  #63  
Old 12-08-2012, 02:03 PM
Stefan118 Stefan118 is offline
 
Join Date: Dec 2010
Location: Vaassen (Netherlands)
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #64  
Old 12-08-2012, 02:13 PM
MacGuyInNC MacGuyInNC is offline
 
Join Date: Feb 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #65  
Old 12-08-2012, 02:31 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.

Quote:
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.
Reply With Quote
  #66  
Old 12-10-2012, 04:24 AM
MacGuyInNC MacGuyInNC is offline
 
Join Date: Feb 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, since I upgraded, I'm getting an error on the REPLACE statement:

Code:
REPLACE INTO stopbotsregistry (hash,rf_name,rf_value)
	values(
	'[Redacted]',
	'[Redacted]',
	'[Redacted'
	);
The MySQL error I'm getting is:
Code:
Unknown column 'rf_name' in 'field list'
The only columns in that table are:
Code:
hash, regtime, uf_name, uf_value
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
  #67  
Old 12-10-2012, 03:00 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #68  
Old 12-10-2012, 04:48 PM
MacGuyInNC MacGuyInNC is offline
 
Join Date: Feb 2012
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
  #69  
Old 12-12-2012, 02:27 PM
nicklfire nicklfire is offline
 
Join Date: Mar 2008
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this mod take into consideration the Facebook login feature as well?
Reply With Quote
  #70  
Old 12-12-2012, 02:45 PM
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Posts: 436
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #71  
Old 12-12-2012, 07:09 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
Reply

Thread Tools

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 09:47 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.06889 seconds
  • Memory Usage 2,335KB
  • 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_code
  • (4)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
  • (1)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
  • (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