Following the release of
vB SpamBuster v0.1 earlier in the week I've added some of the improvements based on the discussion about it.
This version is a complete rewrite over v0.1 and adds the major features:
- Moves spam into the moderation queue rather than giving the user a "permission denied error"
- Has a highly configurable scoring system
As you can see the ruleset is fairly small at the moment I still think that it will catch a lot of spam posts. Any help/feedback from people running the system and either getting "false positives" or want to add any better rules to the default list please let me know.
Installation instructions
Download
spambuster-libs.php and
spambuster-rules.php.
You may wish to edit the define values at the top of the spambuster-libs.php file. Later on you might want to edit the rules in spambuster-rules.php too.
Upload
spambuster-libs.php and
spambuster-rules.php into your includes directory.
In both
newthread.php and
newreply.php find:
PHP Code:
require_once('./includes/functions_bigthree.php');
after it add:
PHP Code:
require_once('./includes/spambuster-libs.php');
In
newthread.php find:
PHP Code:
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
after it add:
PHP Code:
// do a spambuster test
sb_test($_POST['subject'],$_POST['message'].$_POST['WYSIWYG_HTML']);
Now in
newreply.php find:
PHP Code:
$threadid = intval($_REQUEST['threadid']);
after it add:
PHP Code:
// do a spambuster test
sb_test($_POST['title'],$_POST['message'].$_POST['WYSIWYG_HTML']);
As ever any feedback would be gratefully received.