vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Keyword weight based spam detector (https://vborg.vbsupport.ru/showthread.php?t=184757)

TimberFloorAu 09-08-2009 09:22 PM

Installed on 3.8.4

JUst so I can get my head round all this, if we set a weight of 1.0 for say the word viagra, and that is used 48 times within a new post of a member who has less than 5 posts, and our threshold score is say 50... then their post gets POSTED ?

HuangA 09-09-2009 06:00 AM

Assuming moderation threshold score set at 50, reject threshold set to 100 and it scans only people with < 5 posts...

User 1 with post count of 50:
Quote:

viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
Post appears.

User 2 with post count of 2:
Quote:

viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra
Post appears.

User 3 with post count of 4:
Quote:

viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
Post goes to moderation queue.

User 4 with post count of 1:
Quote:

viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
viagra viagra viagra viagra viagra viagra viagra viagra viagra viagra
Cialis. Prescription. ... oh, and watch replicas!
Post doesn't even get posted.


Of course, you should have more than one word, and they'd run into the limit a lot sooner. You can also have things like $, http://, url=, etc. on your list. You can also adjust the threshold limits. You can also adjust the keyword weight (IE: viagra = 50 points right away).

Long story short, you control the magic.

Nokia cell phones anyone? :p

TimberFloorAu 09-09-2009 07:32 AM

Cheers Andy ! Good one.

HansiB 09-15-2009 10:17 AM

Where do i put/find the keyword and threshold settings?

HuangA 09-16-2009 09:17 AM

You can enter your keywords and weights in Admin CP > vBulletin Options > Keyword Weight Anti-spam.
You will need to find and craft your own set of filter to cater the spams that you are getting though. The default set really only targets one set of commonly recurring ad for certain cell phone seller...

washingtonboise 05-07-2010 08:09 AM

Very impressed with this mod, found that negative values also work.
e.g. if you have a forum about selling cialis and don't want people posting about viagra, you can give 'cialis' a negative value so that if someone happens to use both in the same post (maybe they're comparing the differences and that makes it NOW an on-topic post), chances are the system will allow the conversation unless they say viagra multiple times.

InsaneNutter 05-09-2010 07:03 PM

Works perfectly to stop bots spamming warez / trojans too.

For example hotfile.com is now worth 1 point on our forum, so when a bot spams links to warez hosted on hotfile.com the post is instantly rejected :)

Surprised this mod has not gained more attention, I can see this been a great asset to our forum!

Keep up the great work.

maxc0der 06-07-2010 07:21 AM

Impressive... Just wanted to say thanks.

It hasn't been updated for a while but I hope we can see a 4.0 version.

EtaiWix 06-22-2010 05:05 PM

I'm so sorry for the noob question, but how do I install it?

I downloaded the XML file but I'm at a loss for what to do... :(

Thanks for the help!

EtaiWix 06-22-2010 05:52 PM

Nevermind, I found it... THANKS!!!!

This is GREAT!!

Now if only someone who knows some coding can help me with my other problem... :(


All times are GMT. The time now is 08:24 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.01309 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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