The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
SpamBuster v1.0.0 (Stable): Identify, log and remove spam posts on your forum Details »» | |||||||||||||||||||||||||||
SpamBuster v1.0.0 (Stable): Identify, log and remove spam posts on your forum
Developer Last Online: Mar 2013
This is the v3.5 version of vbSpamBuster that I wrote for vBulletin v3.0.x This version adds some new features.
What does it do? It spots posts that could potentially be spam then (depending on option settings) creates a thread alerting site admin/moderators about the post and/or hides the post from view. How does it identify the spam? All off the posts for users with a post count of less than 10 (configurable) have their posts checked against a number of rules. Each rule has a different "score". If the total score for the post exceeds a specified limit then the post is deemed to be spam. Can I add my own rules? The installer file has a default rule set with it, you may wish to customise the rules in the options section of the AdminCP. The rules system is fairly simple to add to, in simple terms each rule is a perl regular expression and a score. How do I install it? Import the product via the Product Manager in the AdminCP. The options group and plugins will be added to your system. Now would be a good time to click the install link on here to record the fact that you've installed it. How do I configure it? Head to the "SpamBuster" option group in the "vBulletin Options" section of your AdminCP. Fill in the relevant fields. Further documentation will follow but it should be obvious what each setting does for the moment. How do I upgrade? Just run a regular install. It's worth backing up your settings particluarly the rules before performing the upgrade. If you're upgrading from v0.3.2 to v1.0.0 you can just download the attached rules file and add it via the admincp as there have been no code changes. How can I test it? Try posting a new thread/post with some trigger values in it. The string ekmas.com should do the trick. Help it's broken my forum! Erm, that's not an intended feature. Disable all six of the plugins that are part of the product "SpamBuster" and post an error report to this thread. The forum will work fine. Why doesn't it do x,y or z? Because I've either not thought about it yet or I've not written it yet. Please drop a post into this thread with any (sensible!) suggestions. Can I use it commercially? You're free to use it for whatever purpose comercially/privately as long as you don't resell the code. It's released under the LGPL, see the link below for futher info. If you find this plugin useful and you'd like to make a donation please use the "donate" button below. This software is licenced under the CC-GNU LGPL. Changelog
Supporters / CoAuthors Show Your Support
|
Comments |
#82
|
|||
|
|||
Just updated the new rules
|
#83
|
||||
|
||||
Quote:
|
#84
|
|||
|
|||
You know the best thing for me? I stop all users from posting a URL in their first 5 posts. Kills 99% of spam.
regexp:a_url:10:any:"/http/i" regexp:a_www_url:10:any:"/www/i" obviously a threshold of 10 - so anyone who posts any kind of URL will need to be moderated - if they have less then 5 posts. Jimbo - I am not very good at figuring out the templates. How can I add the name of the poster to the spam report? I have spam reports posted to a special forum. I would like to have their name available (in the title?) so I can scan the title and see the real problem posters. Is that possible? |
#85
|
||||
|
||||
Quote:
regexp:a_url:10:any:"/http:\/\//i" regexp:a_www_url:10:any:"/www\./i" Quote:
|
#86
|
||||
|
||||
Quote:
|
#87
|
|||
|
|||
Great plug-in, and we've just recently installed and began using it on our system. Still tweaking the rule-set, but so far it's been great.
I have run into the admincp/modcp issue as well, since as far as I can tell the postdata_presave hook is also called when moderating posts. I haven't been getting any errors, but the admincp/modcp page doesn't refresh at all after validating posts (I get a blank page), and the whole process basically just fails. In my case, I had to add the following snippet, modified from an earlier post in this thread: Code:
if (function_exists('sbhits') == true) { $GLOBALS['sbhits'] = sb_test($this); } I've also made a small addition in my system that I thought I'd share... Generally, spammers on our forum get banned pretty quickly, but obvioiusly I don't want that to be an automated process until an Admin or Senior Moderator has had a chance to review the situation. So what I did was a template modification to add a link to the banning portion of the modcp. Basically, a "Click Here to Ban or Suspend This User" link. The following specific modifications were made in SpamBuster Libraries under the global_start plug-in hook: In variable definitions: Code:
// added 21 Jun 06 by JDH to fetch userid for banning link $spam_userid = $post->registry->userinfo['userid']; Code:
[URL=http://forums.ilounge.com/modcp/banning.php?do=banuser&u=${spam_userid}]Click here to Ban or Suspend this user[/URL] Normally, if a user posts a new thread which is tagged as spam, the entire thread is set to require moderation. However, if the user posts a valid thread, and then goes back and edits their first post, then only the post is sent to the moderation queue. This creates a situation where normal users see a dangling thread header with no posts. Further, the in-line moderation tools don't work for approving the post, because they're looking to approve the thread. I think the post can still be approved from the ModCP, but ultimately it creates an odd situation. Granted, this shouldn't occur too often, but it would be nice to add a check to the code following an edit to determine if the post being edited is the first in it's thread, in which case the thread should probably be set to "moderated." I'm going to poke a bit at the code myself to see if I can't make this work, although it's not a huge priority. If I do solve it, however, I'll post my results here. Thanks again for a great mod otherwise, though. |
#88
|
||||
|
||||
Thanks for the detailed feedback and suggestions. I'll factor these in for the next release.
|
#89
|
|||
|
|||
Any update of this for 3.6.0?
|
#90
|
||||
|
||||
I don't have a 3.6 install to test it on at the moment. If anyone would like to verify if it works or otherwise that would be great.
Thanks |
#91
|
|||
|
|||
It appears to be working in 3.6.0...though I haven't had any real-world tests (actual spammers) hit it yet.
It did catch my test posts (both new posts and replies). If it does anything odd, I'll be sure to let you know. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|