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

Reply
 
Thread Tools
Moderate Spam - Sends spam to moderation queue. Details »»
Moderate Spam - Sends spam to moderation queue.
Version: 0.0.4, by Royalridge Royalridge is offline
Developer Last Online: Jun 2023 Show Printable Version Email this Page

Category: Anti-Spam Options - Version: 3.8.x Rating:
Released: 01-10-2010 Last Update: 01-17-2010 Installs: 30
Uses Plugins
Re-useable Code Translations  
No support by the author.

This mini-mod was inspired by SirAdrian's "Prevent Spam Posts" mod.

Introduction
This mod takes a list of spam words or phrases and counts the number of occurances of them in the post. If the total of all the spam checks is over a certian number then the post goes in to the moderation queue. The reason for this is that I don't want to block any post that includes the word "Nokia" once or twice, but I do want to ban the spam lists that try to sell phones by listing a whole load of model numbers prefixed by "Nokia".

Users that can moderate the forum the post is in are exempt from the checking, as are users that have more than a defined number of posts.

This also works for posts that are edited by the user, so they can't simply post something normal and then edit it to show the spam.

Installation
Download and install the attached product xml file. The product no longer checks for specific versions and has been tested with vB 3.8.1

Configure
In your vBulletin Options there is a new section "Moderate Spam" the options are:
Keywords - List of words to consider as spam words. Separate each word with a comma (,). Phrases can be enclosed in quotes, for example "Nike Shoes".
Maximum Posts - Users with MORE than this number of posts will not have their posts checked.
Spam Score - Each time a word or phrase is detected in a post the Spam Score is increased. Only posts with a score higher than this score will be sent to the moderation queue.

Disclaimer
This mod has only been tested on vB 3.8.4 although it should work with any of the 3.8 versions. It has not been tested with any previous version and is highly unlikely to work with vB 4.

This mod has been running on my own large (2.5m post) forum for several weeks now, the forum gets roughly 1000 new posts a day without problems. However I cannot guarantee that this will work on your forum or with any other add-ons used.

Update 0.0.4
0.0.4 No longer checks version numbers, it also now checks the initial post "earlier" in the process, this means should help with compatibility with other add-ins.

Download Now

File Type: xml product-tt_moderatespam.xml (5.2 KB, 152 views)

Screenshots

File Type: jpg spam_settings.jpg (57.1 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 01-17-2010, 01:50 PM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vijayninel View Post
I see..but I thought that you had tried it on an 3.8.4 board before releasing it here.
Brain fade on my part, I had it in my mind that my main test board was running 3.8.7 when I typed the reply. Why I thought there even was a 3.8.7 is anyones guess! Old age on my part.

You're absolutely right, this mod was developed and tested on 3.8.4 so unless it's fighting with another add-on it should work fine with 3.8.4.
Reply With Quote
  #13  
Old 01-18-2010, 10:07 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah...I understand happens sometimes. Pity I cant figure out where the conflict is.

Thanks for the effort anyway. Hope to see this a few months later in vB4.
Reply With Quote
  #14  
Old 01-18-2010, 10:51 AM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vijayninel View Post
Pity I cant figure out where the conflict is.
I'm going to give it a try on a different forum with different add-ins and see if I can spot any problems. I've an older 3.8.1 forum that I have in mind for testing.
Reply With Quote
  #15  
Old 01-18-2010, 02:48 PM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vijayninel View Post
Pity I cant figure out where the conflict is.
I think I may have worked out a solution, I changed the hook for the initial processing and it checks the post earlier in the saving sequence. I have now also tested the new 0.0.4 version with vBulletin 3.8.1
Reply With Quote
  #16  
Old 03-30-2013, 03:59 AM
v123shine v123shine is offline
 
Join Date: Sep 2008
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you make this plugin for vb 4.x.x
Please!
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 05:36 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.09143 seconds
  • Memory Usage 2,279KB
  • Queries Executed 21 (?)
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
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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_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