Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
SpamBuster: Identify, log and remove spam posts on your forum Details »
SpamBuster: Identify, log and remove spam posts on your forum
Mod Version: 1.1.2, by UK Jimbo (Member) UK Jimbo is offline
Developer Last Online: Mar 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (19 votes - 4.68 average) Installs: 193
Released: 14 Aug 2007 Last Update: 08 Nov 2007 Downloads: 746
Not Supported Uses Plugins  

This is the v3.6 version of SpamBuster that I wrote for vBulletin v3.5.x This version is mainly bug fixes.

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 have any problems I recommend removing the product then installing it from scratch.

How can I test it?
Try posting a new thread/post with some trigger values in it. The string cialis 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.


click to donate



This software is licenced under the CC-GNU LGPL.


Changelog
  • 8th November 2007 - v1.1.2 - New thread redirect bug fixed
  • 14th August 2007 - v1.1.1 - Multiple post bug fix
  • 13th August 2007 - v1.1.0 - Important bug fixes, updated rules file
  • 15th June 2006 - v1.0.1 - Updated list of rules uploaded as a text file
  • 6th April 2006 - v1.0.0 - Stable release: code remains the same but the rules file has changed.

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
SpamBuster v1.0.0 (Stable): Identify, log and remove spam posts on your forum UK Jimbo vBulletin 3.5 Add-ons 147 15 Feb 2010 12:38

  #91  
Old 27 Jul 2008, 05:36
cdoyle cdoyle is offline
 
Join Date: Oct 2004
I had this on my 3.5 forum, and we are about to upgrade to 3.7.
from what I'm reading this won't work with 3.7?

That really stinks, this is such a great hack, it worked wonderful on our forum.
I'm going to really miss it.
Reply With Quote
  #92  
Old 31 Jul 2008, 04:22
PossumX's Avatar
PossumX PossumX is offline
 
Join Date: Oct 2006
I am running 3.7.1 PL2 and it is still working fine. Upgraded from 3.6.x all the way through, and it's still working.

3.7.2 PL1 upgrade is next, so we'll see what happens.
Reply With Quote
  #93  
Old 03 Aug 2008, 13:48
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Originally Posted by PossumX View Post
I am running 3.7.1 PL2 and it is still working fine. Upgraded from 3.6.x all the way through, and it's still working.

3.7.2 PL1 upgrade is next, so we'll see what happens.
go for it , it works fine in 3.7.2 patch1 .
Reply With Quote
  #94  
Old 18 Aug 2008, 17:49
septimus septimus is offline
 
Join Date: Aug 2006
EXCELLENT Mod, using it on two forums and am very happy with it.

One issue: It seem to sporadically fail to post up the report post. I can make it put up the report post with a test spam thread or post, but occasionally it just up and doesn't. I'm not sure exactly why, but I suspect that when there's a post that contains a massive number of keywords it might be choking on it?

For now we're just keeping an eye on the moderation queue, but it really would be more convenient to be able to have the report thread posting work reliably.

Any ideas how I can go about troubleshooting this?
Reply With Quote
  #95  
Old 21 Oct 2009, 09:16
gr8dude gr8dude is offline
 
Join Date: Sep 2005
Hi everyone, I've been using SpamBuster for a while and it made my life significantly easier. I thought of an improvement, I implemented it on my forum but the results are not as expected.

My idea was simple - add a regular expression that detects any string that has at least 3 URLs in it.

The regexp I'm using is

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If I test it with online regex tools, any "bad" string that should be busted is busted; however, when the same regexp is used by SpamBuster - messages are still getting past the filter.

I don't understand what is causing this. My guess is that it has something to do with the priority of the rules used by SpamBuster?

Unfortunately I am not a skilled PHP programmer, but I think I would be able to figure it out if I could step through the code with a debugger (as one can do with other languages) and see the state of each variable as new instructions are executed.

Any thoughts?
Reply With Quote
  #96  
Old 21 Oct 2009, 09:24
UK Jimbo's Avatar
UK Jimbo UK Jimbo is offline
 
Join Date: Sep 2002
Hi - it's a long time since I've worked on this plugin. For general spam filtering in recent version of vBulletin I'd suggest using the built in Akismet powered spam filtering.

The only way I can think of checking for three + URLs with a regexp is to use something similar to:

(untested)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

James


edit:

Perhaps try:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

for your regexp too
__________________
administrator: visordown.com
Reply With Quote
  #97  
Old 21 Oct 2009, 10:28
gr8dude gr8dude is offline
 
Join Date: Sep 2005
Thanks for the swift response.

This is what I use as a testbed:
Every regexp you mentioned, as well as the one I devised myself works fine; i.e. the regexp tester reports that the given string matches the regexp.

Now, neither of them is effective when used with SpamBuster. I made this regexp the first one in SpamBuster's list - so I am certain this is not related to the order in which the rules are written in the config.

Maybe it can be understood by adding some debug statements to the plugin's code and watching the flow of its execution?


Thanks for suggesting Akismet, but my optimism faded away in just a few seconds - I saw that it is marked as "installed", therefore it means that some time ago I tested it and was not satisfied with the results and that my conclusion was that "SpamBuster is better" (-:
Reply With Quote
  #98  
Old 11 Jan 2010, 10:42
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Real name: Simon
I'd like to use this update version on vb 3.5.4 would it work?
__________________
Kind regards,
Simon Microsoft Office Help
My Mods: Find my modifications here
Please do not pm me for support unless i have invited you to!
Reply With Quote
  #99  
Old 12 Jan 2010, 15:33
gr8dude gr8dude is offline
 
Join Date: Sep 2005
UK Jimbo, I understood the cause of the problem.

The used regexp contains the ':' character (inside "http://").
When spambuster parses the rules, it uses ':' as a separator to explode the string into bits, ex:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Basically, the culprit is in this line of the sb_parse_config function:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This explains why the regexp is not found in the string - the regexp is simply not the one we thought we were using.

Suggested fix:
Use '::' as a separator in each rule, rather than ':'.

Replace

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note: regular expressions are quite difficult to wrap one's brain around (-: Especially if I haven't written it myself, or if the regexp was written a long time ago. I didn't try to parse this regexp myself, I just guessed what it does and added another ':' and prayed for the best (-:

I don't know what the rationale behind that choice was, but isn't it easier to use this instead? It is straightforward and requires no belief in external forces :-)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

My local tests are successful, below I have included the source of the file I am using for local tests. It is a stripped down version of Spambuster, the rules and the tested post are taken straight from this files, so you can make quick tests without involving VBulletin itself.


Can you share your thoughts on this, and perhaps update Spambuster to include this fix?




Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It looks messy, I apologize for that; PHP is simply not my cup of tea...

Last edited by gr8dude; 12 Jan 2010 at 15:41.
Reply With Quote
  #100  
Old 18 Jan 2010, 10:06
gr8dude gr8dude is offline
 
Join Date: Sep 2005
Post

Seeing that there is no activity on this front, I attached my version of SpamBuster, with the change applied to it.

Note that the rules were changed, and that if you install it above the existing version you will have to manually update the rules via the administration panel.


I've been testing it since the time of the last message in this thread and it works as expected, no side effects were revealed.
Attached Files
File Type: xml product-spambuster.1.1.3-customized.xml (22.7 KB, 7 views)
Reply With Quote
  #101  
Old 11 Mar 2010, 08:43
gr8dude gr8dude is offline
 
Join Date: Sep 2005
I have an additional question about this plugin - after applying the change I described above, everything works fine, but the problem is that I get a lot of notifications from SpamBuster.

A lot of threads are created on the forum, and even though they are not public, it is still a lot of work to sift through the email reports and delete the bad threads.

It will be much better if I could set another parameter, a threshold which, if reached, will tell SpamBuster to immediately delete the post, without notifying me and without asking questions.


Can someone implement that, or at least tell me where I should start digging in order to figure out how to add this feature?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 10:24.

Layout Options | Width: Wide Color: