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

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
  #2  
Old 01-11-2010, 10:22 AM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my first published mod, so be gentle!
Reply With Quote
  #3  
Old 01-11-2010, 11:17 AM
DailyGame DailyGame is offline
 
Join Date: Jan 2010
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds good, any feedback from people who installed it?
Reply With Quote
  #4  
Old 01-11-2010, 11:28 AM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is installed on my own big board and another couple of big boards and there's been no problems encountered. This is obviously not a complete spam solution, I use it in conjunction with the inbuilt vBulletin AntiSpam and vbStopForumSpam I just needed something that would take care of the muppets that post lists of products for sale and are highly repetitive with words or phrases within their posts.
Reply With Quote
  #5  
Old 01-11-2010, 11:35 AM
Hemanth's Avatar
Hemanth Hemanth is offline
 
Join Date: Nov 2005
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It says:

Quote:
The following dependencies were not met:

1. This product is not compatible with version 3.8.1 of vBulletin. (Compatible starting with 3.8.4 / Incompatible with 4.0.0 and greater)
It is supposed to work in vB 3.8.1, right?

EDIT

I got it installed. Changed the XML a bit:

Code:
<dependency dependencytype="vbulletin" minversion="3.8.1" maxversion="4.0.0" />
Reply With Quote
  #6  
Old 01-11-2010, 11:58 AM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hemanth View Post
It is supposed to work in vB 3.8.1, right?

I got it installed. Changed the XML a bit:

Code:
<dependency dependencytype="vbulletin" minversion="3.8.1" maxversion="4.0.0" />
Cheers for spotting that, I've now included an install file with -nd at the end that won't force the dependency check.
Reply With Quote
  #7  
Old 01-11-2010, 01:29 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great mod... glad to see it 'officially' released!

- phoenixdown
Reply With Quote
  #8  
Old 01-16-2010, 05:10 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did not work on my 3.8.4 board. It is an great idea however. I would love to use the bug free version.

I have blacklisted both the keywords Nokia and iPhone if repeated in a post 5 times for users below 5 posts.

Now if you test it out on my board then it will say that your thread is being placed under moderation for approval but will fail to place it under moderation.

It is detecting all right but failing to put the thread under moderation.
Reply With Quote
  #9  
Old 01-16-2010, 11:14 AM
Royalridge Royalridge is offline
 
Join Date: Oct 2004
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vijayninel View Post
Did not work on my 3.8.4 board. It is an great idea however. I would love to use the bug free version.
I might put a 3.8.4 board up and try it at some point.
Reply With Quote
  #10  
Old 01-17-2010, 04:31 AM
vijayninel's Avatar
vijayninel vijayninel is offline
 
Join Date: Mar 2009
Posts: 537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Royalridge View Post
I might put a 3.8.4 board up and try it at some point.
I see..but I thought that you had tried it on an 3.8.4 board before releasing it here.
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 02:53 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.16297 seconds
  • Memory Usage 2,317KB
  • Queries Executed 24 (?)
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_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
  • (1)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
  • (2)postbit_attachment
  • (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_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