The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Keyword weight based spam detector Details »» | |||||||||||||||||||||||||
I coded this one because I constantly had to moderate and / delete them lengthy lame cell phone ads on vBulletin.com's forums and my own forums. You know, buy iphone, ipod touch, noika blah blah blah sony ericsson blah blah blah etc. etc. etc. email us, we're legitimate business in a country you've never heard of, blah blah blah spam.
While Akismet does work on filtering them out, some times they still leak through. I know there's two other keyword based tools that automatically adds things to moderation queue (One from SirAdrian and one from tweakmonkey), but it doesn't work too well for me, because I run an iPhone / iPod Touch site and I can't have those keywords on auto spam for simply appearing. So, here's what I did for mine... What does this product do?
How does it work? 1) You configure your keyword list, and score weight. For example, I use this list: Code:
Nokia|0.5 iPhone|0.5 iPod Touch|0.5 Order|0.5 HTC|0.5 Samsung|0.5 Sony Ericsson|0.5 hotmail|0.5 $|0.5 usd|0.5 url|0.3 email|0.5 2) You configure your moderation score, for example, I use 50. 3) You configure your rejection score, for example, I use 100. 4) You configure your exemption post count, for example, I use 5. When a new post is being created (this could be a thread, or a reply, doesn't matter, they both trigger newpost_process hook), the plugin will count how many times each keyword appears, and total the score. If it is higher than or equal to the moderation score, it will tuck the post into moderation queue. If it is higher than or equal to the rejection score, a standard vBulletin error message is shown to the user. How much overhead does this add? Realistically, not much... depending on amount of keywords used, I'd say most likely under 0.05 seconds of your CPU time for each post. If you are really that worried, you can set your exemption post count to something lower, and so lesser posts are scanned. Default is 5 right now. This have been tested on 3.7.0 Beta 5, and 3.7.2. I see no reason why it would not work on 3.6.x series, too. Change log 0.0.0 => 0.1.0
Show Your Support
|
Comments |
#22
|
||||
|
||||
Installed on 3.8.4
JUst so I can get my head round all this, if we set a weight of 1.0 for say the word viagra, and that is used 48 times within a new post of a member who has less than 5 posts, and our threshold score is say 50... then their post gets POSTED ? |
#23
|
||||
|
||||
Assuming moderation threshold score set at 50, reject threshold set to 100 and it scans only people with < 5 posts...
User 1 with post count of 50: Quote:
User 2 with post count of 2: Quote:
User 3 with post count of 4: Quote:
User 4 with post count of 1: Quote:
Of course, you should have more than one word, and they'd run into the limit a lot sooner. You can also have things like $, http://, url=, etc. on your list. You can also adjust the threshold limits. You can also adjust the keyword weight (IE: viagra = 50 points right away). Long story short, you control the magic. Nokia cell phones anyone? |
#24
|
||||
|
||||
Cheers Andy ! Good one.
|
#25
|
|||
|
|||
Where do i put/find the keyword and threshold settings?
|
#26
|
||||
|
||||
You can enter your keywords and weights in Admin CP > vBulletin Options > Keyword Weight Anti-spam.
You will need to find and craft your own set of filter to cater the spams that you are getting though. The default set really only targets one set of commonly recurring ad for certain cell phone seller... |
#27
|
|||
|
|||
Very impressed with this mod, found that negative values also work.
e.g. if you have a forum about selling cialis and don't want people posting about viagra, you can give 'cialis' a negative value so that if someone happens to use both in the same post (maybe they're comparing the differences and that makes it NOW an on-topic post), chances are the system will allow the conversation unless they say viagra multiple times. |
#28
|
|||
|
|||
Works perfectly to stop bots spamming warez / trojans too.
For example hotfile.com is now worth 1 point on our forum, so when a bot spams links to warez hosted on hotfile.com the post is instantly rejected Surprised this mod has not gained more attention, I can see this been a great asset to our forum! Keep up the great work. |
#29
|
|||
|
|||
Impressive... Just wanted to say thanks.
It hasn't been updated for a while but I hope we can see a 4.0 version. |
#30
|
|||
|
|||
I'm so sorry for the noob question, but how do I install it?
I downloaded the XML file but I'm at a loss for what to do... Thanks for the help! |
#31
|
|||
|
|||
Nevermind, I found it... THANKS!!!!
This is GREAT!! Now if only someone who knows some coding can help me with my other problem... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|