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
SpamBot Posting Protection Details »»
SpamBot Posting Protection
Version: 1.2, by iMisspell iMisspell is offline
Developer Last Online: Mar 2009 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.0 Rating:
Released: 12-20-2008 Last Update: 12-24-2008 Installs: 52
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

== What this Plugin does ==
The following product will place a hidden blank text box (humans can not see these text box, but Bots can) in your Register, Posting, Replying and Quick Reply forms. When the post is submitted there will be a check done on this hidden field to see if it was filled out. If a bot has filled in the hidden field the post will be rejected and a "Spam Message" will appear.
This is not hi-tech spam prevention, but does work pretty well and does not interfere with human posting in any way. Ive implement it on Forum Extension which i wrote for the MediaWiki system and it worked out pretty good.

== Theory behind the mod ==
Spam bots automatically fill in any blank text fields they "see".
By placing a text field in the posting form and then hiding it (via css, div hiding does not work that well) only bots can see the field, humans can not. So if the field is filled in during form submission it would have to be filled in by a bot and not a human since the human can not see the field. After the post is submitted it will be checked to see if the field is empty or not. If the field is empty the post will go through, if the field has info in it, the submission will die with a Spam Message (not that the bot will read this, but the message can also work as error control).

This mod was inspired by :
http://www.mediawiki.org/wiki/Extension:SimpleAntiSpam

This product has been tested on:
vBulletin 3.6.5, 3.7.0


Installation:
Install the plugin via your AdminCP.
AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]

There are four template edits which the plugin automatically does for you.
There is a "ReadMe" included which has the edits in there in case you want to know what they are.


Admin Options:
AdminCP ->vBulletin Options -> AWC's SpamBot Protection
  • Test SpamBot Field
    This option will "un-hide" the text boxs so you can test.
    _
  • Auto Ban Spammer
    When a spambot posts a thread or post they can be automatically banned to the group of your choice.
    _
  • How to send Banned message (Admin, Mods, etc.) notifying a bot has been Banned.
    You can automatically send out a PM or Email to selected members notifying them a spambot has been banned.
    _
  • What to Check
    You can turn On and Off what you would like the plugin to check, New Registration, New Threads or New Posts.
    _
  • Move spam post
    Posts created by a spambot can be placed in a selected forum of your choice.



1.0 to 1.x Upgrade info:
If you have installed 1.0 and are upgrading to 1.x you will have to remove the template edits you made before (sorry about this, wont happen again ).
Search and remove the following from your templates:
PHP Code:
 $awc_bot_fields 




Plugin Version History:

Ver. 1.2 - Dec 25, 2008
- Added
-- AdminCP page
-- Test Option
-- Move spam post to selected forum
-- Redirect option for registration
-- PM or Email banned member name to selected members

- Changed
- How text field was added to Quick Reply (to make compatible with Vb 3.6.x)


Ver. 1.1 - Dec 22, 2008
- Changed to auto template edits
- Added new hidden field to Register form
- Added auto ban option


Ver. 1.0 - Dec 20, 2008
- Add 3 hidden fields (Quote, New Reply and New Thread) and check:
- Manual template edits


Heres the AdminCP section...



Its been a long time since ive dabbled with vbulletin so im sure there are other ways to implement this.

Any feed back would be great.
Enjoy.

_

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-21-2008, 04:43 AM
ziko_583 ziko_583 is offline
 
Join Date: Nov 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will try it soon
Reply With Quote
  #3  
Old 12-21-2008, 06:36 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will the member posting the spam be banned?
Reply With Quote
  #4  
Old 12-21-2008, 07:27 PM
iMisspell's Avatar
iMisspell iMisspell is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ziko_583 View Post
will try it soon
Sounds good.
If you have the time could you post back how you think its working for you.


Quote:
Originally Posted by Alfa1 View Post
Will the member posting the spam be banned?
No, sorry.... but good idea.
Maybe if people show interest in this plugin that will be in the next version or something like the Adimn can redirect the spam post to a "spam forum" (so they can see whats being blocked) or have an auto ban for that member or a cron-job which will email/pm the Admin with a list of daily spammers or options for all of this and any other suggestions.

If there is a next version one thing which will be added is the blank text box to the sign-up form, this is something which should have been in place now... maybe ill add that tonight or tomarrow being it will not take any time to code that.

_
Reply With Quote
  #5  
Old 12-22-2008, 05:00 AM
iMisspell's Avatar
iMisspell iMisspell is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
Will the member posting the spam be banned?
Just added this as an option.
As of now there is no AdminCP page for the plugin, you will have to use the Plugin Manager to active 'Auto Ban'. Please re-read the main post here for more information about this.

_
Reply With Quote
  #6  
Old 12-22-2008, 05:28 PM
iMisspell's Avatar
iMisspell iMisspell is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just started to play with an Admin section along with a couple new options.

- Moving spam post to a selected forum ID
- Being able to pick what group ID Auto Ban changes members group ID to.
- Redirect URL for registration check just in case the plugin gets a false read for what ever reason, the person can get in contact with the forums Admin (can't think why this would happen, but just to be safe).
- Easy options to select what checks the plugin does.
Reply With Quote
  #7  
Old 12-22-2008, 07:45 PM
oninuva oninuva is offline
 
Join Date: May 2006
Location: USA
Posts: 388
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work with 3.8.0
Reply With Quote
  #8  
Old 12-23-2008, 02:22 PM
iMisspell's Avatar
iMisspell iMisspell is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by oninuva View Post
Does this work with 3.8.0
Don't know, have not tried it.
Only version tested with has been 3.7.0

_
Reply With Quote
  #9  
Old 12-23-2008, 03:26 PM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will be trying this on 3.6.X unless you know it doesnt work.

Another good feature would be that the admin, or someone specified in admincp would be notified through pm/email that XXX user was banned. Know what I mean?
Reply With Quote
  #10  
Old 12-23-2008, 04:01 PM
iMisspell's Avatar
iMisspell iMisspell is offline
 
Join Date: Mar 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SVTCobraLTD View Post
Will be trying this on 3.6.X unless you know it doesnt work.
Sounds good, please post back how it works.

Quote:
Originally Posted by SVTCobraLTD View Post
Another good feature would be that the admin, or someone specified in admincp would be notified through pm/email that XXX user was banned. Know what I mean?
Working on 1.2 now, will try and add this as an option in the AdminCP.

as of now 1.2 has...
- AdminCP page (added thorugh .xml, no file uploads or edits)
- test option
- move to selected forum
- registration redirect
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 11:54 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.04648 seconds
  • Memory Usage 2,307KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_php
  • (6)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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