vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Anti-Spam Options - Moderate Spam - Sends spam to moderation queue. (https://vborg.vbsupport.ru/showthread.php?t=232780)

Royalridge 01-10-2010 10:00 PM

Moderate Spam - Sends spam to moderation queue.
 
1 Attachment(s)
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.

Royalridge 01-11-2010 10:22 AM

This is my first published mod, so be gentle!

DailyGame 01-11-2010 11:17 AM

Sounds good, any feedback from people who installed it?

Royalridge 01-11-2010 11:28 AM

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.

Hemanth 01-11-2010 11:35 AM

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" />

Royalridge 01-11-2010 11:58 AM

Quote:

Originally Posted by Hemanth (Post 1952655)
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.

Reeve of shinra 01-11-2010 01:29 PM

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

- phoenixdown

vijayninel 01-16-2010 05:10 AM

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.

Royalridge 01-16-2010 11:14 AM

Quote:

Originally Posted by vijayninel (Post 1957139)
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.

vijayninel 01-17-2010 04:31 AM

Quote:

Originally Posted by Royalridge (Post 1957268)
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.


All times are GMT. The time now is 04:21 AM.

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.01570 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete