vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   SpamBuster v1.0.0 (Stable): Identify, log and remove spam posts on your forum (https://vborg.vbsupport.ru/showthread.php?t=109258)

UK Jimbo 03-01-2006 10:00 PM

SpamBuster v1.0.0 (Stable): Identify, log and remove spam posts on your forum
 
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.

https://vborg.vbsupport.ru/external/2010/02/12.gif

https://vborg.vbsupport.ru/external/2010/02/66.png
This software is licenced under the CC-GNU LGPL.


Changelog
  • 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.

Daniel 03-02-2006 01:37 AM

Nice job. :)

Hornstar 03-02-2006 01:55 AM

nice work, ill let you know how everything goes once I install it.

Injektilo 03-02-2006 02:08 AM

will wait to get out of the beta stage...awsome hack and idea :)

CongTuDepTrai 03-02-2006 02:17 AM

did you upload the hack yet?

Mike11212 03-02-2006 05:30 AM

When this goes final I will install it

sensimilla 03-02-2006 06:23 AM

great idea, its should be a default vbulletin option

UK Jimbo 03-02-2006 12:08 PM

After lots of testing I only put this live on the forum I admin an hour or so before posting it on here last night.

As a precaution I'm running it so that it creates spam reports but doesn't delete the spam.

It caught its first spam post about an hour ago and I'm happy :)

dsotmoon 03-02-2006 02:58 PM

I will add this forsure once out of beta, thanks for working on it!

Quote:

hides the post from view.
what exactly is hides from view? admins and mods can see it in its original state inside the forums or is it actually moved or deleted? we have a post quarentine in our admin section, i;d like to see it configurable to automatically have it moved to a specified forum where we could either delete it or move it back to the forums if its not spam

UK Jimbo 03-02-2006 03:05 PM

Quote:

Originally Posted by dsotmoon
what exactly is hides from view? admins and mods can see it in its original state inside the forums or is it actually moved or deleted?

It's "visible" flag is set to 0 just like a post that's been moderated. It's similar to a soft delete.

Admin users will see the thread/post but regular users (including the poster) won't.

I think that's a better solution than permanently deleting it or moving it elsewhere :)

bashy 03-02-2006 04:55 PM

Working well thank you..

Me clicks install :)

Kihon Kata 03-03-2006 05:09 AM

Installed!!! This is a hot mod! One problem, it didn't work at all LOL I realize it's only beta.

We tried 20 different styles of spams

Here are my settings:
(Yes we have a police user)

UK Jimbo 03-03-2006 09:02 AM

Quote:

Originally Posted by TonysDesigns
Installed!!! This is a hot mod! One problem, it didn't work at all LOL I realize it's only beta.

We tried 20 different styles of spams

Here are my settings:
(Yes we have a police user)

Those settings look fine.

Are the plugins all enabled?
Do the user(s) you're making test posts with have a post count lower than 20?

IrPr 03-03-2006 10:42 AM

Nice Job M8 ;)
Works Fine on 3.5.X ( All of Versions ) for me ;)

IrPr 03-03-2006 10:42 AM

umm is it possible to change redirect page for Moderated Threads to Forum , not thread ?!

UK Jimbo 03-03-2006 12:00 PM

Quote:

Originally Posted by IrPr
umm is it possible to change redirect page for Moderated Threads to Forum , not thread ?!

Good plan - watch this space...

Kihon Kata 03-03-2006 01:13 PM

Hi UK,

THanks for replying! Yep, user has loser than 10 posts.

IN fact, when I posted my original post, the plugins were NOT enabled. But I have since enabled them and tested it with urls, the word "FREE" etc...still NOT working :(

If you want, PM me and I can give you some access to assist us.

Thanks!
Quote:

Originally Posted by UK Jimbo
Those settings look fine.

Are the plugins all enabled?
Do the user(s) you're making test posts with have a post count lower than 20?


UK Jimbo 03-03-2006 01:23 PM

Quote:

Originally Posted by TonysDesigns
THanks for replying! Yep, user has loser than 10 posts.

Thought I'd quote this before you had a chance to edit it :)

I'll drop you a line Sunday/Monday when I have a chance to look at it.

Kihon Kata 03-03-2006 01:29 PM

Quote:

Originally Posted by UK Jimbo
Thought I'd quote this before you had a chance to edit it :)

I'll drop you a line Sunday/Monday when I have a chance to look at it.

hahaha
OOPS, Loser. Now that is funny since I am the testuser lmao

Thanks, I'll look for your pm

IrPr 03-03-2006 02:07 PM

another suggestion
isnt better to match all cases using strtolower?

UK Jimbo 03-03-2006 02:10 PM

Most of the regular expressions have an /i at the end of them which means they're case insensitive. A few in the rule file don't (some intentionally, some unintentionally!).

IrPr 03-03-2006 02:14 PM

TIA
another one:P
how to add a rule for exact match ?
possible with this plugin?
if yes goto 1 :D else goto 2
1: which Rule ?
2: waiting for ur next update ;)

UK Jimbo 03-03-2006 02:17 PM

If you want to match "New York" you could match against the perl regular expression /new york/i or /New York/

The i at the end makes it case insensitive.

IrPr 03-03-2006 02:26 PM

TIA again ...
im using this hack for Auto-Moderating Threads/Posts by keyword :)

for example: i just want to add a rule for "Test" but not "Testing"
how to ?~

UK Jimbo 03-03-2006 02:38 PM

Quote:

Originally Posted by IrPr
TIA again ...
im using this hack for Auto-Moderating Threads/Posts by keyword :)

for example: i just want to add a rule for "Test" but not "Testing"
how to ?~

I think that /[\W]?test[\W]?/i will do the trick but that's untested. You're best off reading up on perl regular expressions. http://www.google.co.uk/search?hl=en...utorials&meta=

UK Jimbo 03-06-2006 08:55 PM

v0.3.2 released

- when a user's thread is removed the user will be redirected to the forum index
instead of getting an "invalid thread specified" error

hotwheels 03-07-2006 08:13 PM

Thanks for the update......

hotwheels 03-13-2006 07:12 PM

The set up worked for the first time today, but when i try to validate it, i recieve this error:
Quote:

Fatal error: Call to undefined function: sb_test() in /home3/hotwheel/public_html/forums/includes/class_dm_threadpost.php(728) : eval()'d code on line 1
Is there something i can do to fix this error?

I uninstalled it for now........

UK Jimbo 03-13-2006 08:11 PM

Are you sure the global_start plugin was enabled?

Krose 03-16-2006 06:18 AM

*clicked install*..still don't know if this is working though :p

Nick0r 03-16-2006 06:50 PM

I'd love to see further progress on this and a stable version before I install it. It's a real need on my type of forum to have anti-spam measures in place and this is most probably the best idea yet to prevent spam from hitting the boards.

titodj 03-17-2006 07:58 PM

Does this pluginn adds stress tho the server??
Thanks...

Martin 03-17-2006 08:59 PM

Quote:

Help it's broken my forum!
Erm, that's not an intended feature.
Priceless

AddHandler 03-18-2006 03:25 AM

OK this is my first time trying out a Plugin or a Hack of any kind...

I can't get it to work...

I followed the instructions and it doesn't show up or do anything to new members post with ekmas.com in it...

QUESTIONS:::::::
1. It says it uses PLUGINS am I missing a required plugin..??

2. I am using the Latest version available: 3.5.4 is this the correct product for that version..??

3. Do I have to edit the product first before importing it..??

Just trying to get the SPAMBUSTER WORKING.. before I open the new forum...

Thanks for the help in advance..!!
:banana:

UK Jimbo 03-22-2006 02:58 PM

Quote:

Originally Posted by titodj
Does this pluginn adds stress tho the server??
Thanks...

I've not done any benchmarking but it shouldn't add much.

Checks are only performed when a user posts or edits a post and then only if their post count is below the post count threshold.

I'd be surprised if the addition of this hack resulted in performance problems.

UK Jimbo 03-22-2006 03:03 PM

Quote:

Originally Posted by AddHandler
OK this is my first time trying out a Plugin or a Hack of any kind...

I can't get it to work...

I followed the instructions and it doesn't show up or do anything to new members post with ekmas.com in it...

QUESTIONS:::::::
1. It says it uses PLUGINS am I missing a required plugin..??

2. I am using the Latest version available: 3.5.4 is this the correct product for that version..??

3. Do I have to edit the product first before importing it..??

Just trying to get the SPAMBUSTER WORKING.. before I open the new forum...

Thanks for the help in advance..!!
:banana:

You should just be able to make it work by following the instructions in my initial post.

There's some general reading on plugins on the vBulletin site http://www.vbulletin.com/docs/html/ that might be of interest too.

If you have any specific questions please include more details and I'll try to help out.

hotwheels 03-24-2006 06:06 AM

Quote:

Originally Posted by UK Jimbo
Are you sure the global_start plugin was enabled?

I am pretty sure everything is set right.........I reinstalled tonite and once i get another spam hit, i will let you know the results.......thanks for your help

UK Jimbo 03-24-2006 01:58 PM

Quote:

Originally Posted by hotwheels
I am pretty sure everything is set right.........I reinstalled tonite and once i get another spam hit, i will let you know the results.......thanks for your help

You can test it by creating a new user in the admincp and then posting a spam message using that account.

UK Jimbo 03-24-2006 03:35 PM

I've been fine tuning my rule file and find that most of the spam posts on the forum are being caught at the moment with only one "false positive" since it was installed.

I'm really keen to hear from other users about how you're finding it, what features you'd like to see and any other feedback. Thanks :)

TCooper 03-26-2006 01:22 AM

awesome plugin... cant wait til out of beta. will click install til further releases


All times are GMT. The time now is 05:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03086 seconds
  • Memory Usage 1,830KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete