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 |
#2
|
||||
|
||||
<Reserving second post in thread, in case if I ever need to extend beyond the first post>
|
#3
|
|||
|
|||
interesting Andy ... but just a question runs onto the latest vB?
|
#4
|
|||
|
|||
This is fantastic! I've installed all of the keyword-moderation hacks but I've been having problems with effectiveness. Is there any way you could set a post count threshold for checking keywords? Also, does this work for edited posts as well?
|
#5
|
||||
|
||||
I see no reason why it would not work with it. Though, I don't have a test forum to install it on. I'll try to work out a test forum tonight.
It doesn't work for edited posts yes. So in theory they can make a post with 10 characters first, and then edit it. I am planning to add that in to a later version to stop that work around. |
#6
|
|||
|
|||
Reserving, thank you
|
#7
|
||||
|
||||
Apologies for the first person to install... If you gotten 0.0.0 instead of 0.1.0, please upgrade... it is probably best if you remove 0.0.0 and then install 0.1.0 because I changed the plugin name (for differentiation) and added the missing options (forgot to export them in first build and didn't notice it).
Aside from that, I did the post count thing so it only scans for a configurable amount of posts, and made it use error message screen instead of boring die() screen as per requested. So in summary: KURTZ: Yes, it works for 3.7.2 youradhere4222: Yes, it works for edit now (please install 0.1.0) |
#8
|
||||
|
||||
I think I might try this, because it might block some annoying spamming that I've seen without causing the disruption of censoring it.
|
#9
|
|||
|
|||
This works great!
This is somewhat of a long-shot suggestion, but in addition to having posts automatically rejected could we have users automatically banned for a pre-defined period if they hit a certain number of keywords? Also, to ensure that the ban was accurate, could a PM be sent (or even better a thread posted in a "staff forum" - like reported PM's and infractions) saying that xxx has been banned for xx days for posting the following message [ quote ] nokia, ipod, etc. [ /quote ] Thanks! |
#10
|
||||
|
||||
Quote:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|