2/19/2005 ↓

Three Strikes Spam Plugin Updated

Author: Mark Ghosh Category: WordPress Hack

Thanks for visiting! If you're new here, you may want to subscribe to our RSS feed. This blog posts regular Wordpress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about Wordpress. Go ahead, subscribe to our feed! You can also receive updates from this blog via email.

I want to release a beta version of the Three Strikes Plugin exclusively written for Wordpress 1.5. Newer comment spam features built into the 1.5 code needed to be exploited and this plugin makes use of one such feature.

New features include:

  • Better Bayesian Filtering - the bayesian code has been updated a little to train better, fixed some bugs
  • Better training on install - Used some of the new features in WP 1.5 to train the filter at install
  • More bugfixes and workarounds for Wordpress 1.5

Please leave bugs/suggestions as comments. Thanks for trying it out.

Download link for Three Strikes 1.5 Beta Plugin for Wordpress 1.5

[EDIT] I left a debug statement in the code which would have borked commenting, fixed in the download.

[EDIT] As a suggestion for testers/users of this plugin, get some good and some spam comments first before you install it. The plugin does not work well on brand new blogs, by design.

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...
Sphere: Related Content | stumbleit |
Translate to German Translate to Spanish Translate to French Translate to Italian Translate to Portuguese Translate to Japanese Translate to Korean Translate to Russian Translate to Chinese

Latest Videos

Latest WordPress Jobs

15 Comments | Leave a comment | Comments RSS

  1. I think I’m missing a few things here. I have a fresh update of 1.5, a handful of things classified a priori as spam (a small percentage of my overall comments mind you), built the bayes databases.

    almost any comment i manually add i receive ‘this is spam’.

    trying to ‘train’ it as per the instructions (dont use the moderation system, use mass edit/delete as spam instead) doesn’t work - there is no ‘delete as spam’ button in 1.5 any more for me…

    the only other plugin i have running is markdown.
    any thoughts?

    flip phillips (2 comments.) — 02/20/2005 @ 10:21 am
  2. Looking into the bugs
    Mark — 02/20/2005 @ 10:31 am
  3. Have you activated the plugin through your admin?

    There was a bug with the “this is spam” message and that is fixed in the download.

    Make sure the plugin is activated and you SHOULD see the delete as spam button when you are in mass edit mode for comments.

    Mark — 02/20/2005 @ 10:44 am
  4. Can I run this in tandem with Spaminator ?

    Podz — 02/20/2005 @ 2:24 pm
  5. You should be able to. This should pick up before the spaminator, but I might be wrong about that. If something clashes (such as redefinition of a function) please let me know.
    Mark — 02/20/2005 @ 3:59 pm
  6. did a fresh install a few minutes ago, administrator activated it. still don’t see the delete as spam button for some reason. tweaked the settings a little and i don’t get the ‘this is spam’ but still did with the ‘default’ settings.

    flip phillips (2 comments.) — 02/20/2005 @ 4:14 pm
  7. Did you do the fresh install with a FRESH download? I have fixed those bugs in the download.
    Mark — 02/20/2005 @ 4:21 pm
  8. Fresh update (like 1 second ago as I was told to get a new update due to fix in debug statement).

    I am still getting this error whenever posting a comment.

    Warning: Division by zero in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php on line 82

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 44

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 45

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 46

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 48

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 49

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 50

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 51

    Warning: Cannot modify header information - headers already sent by (output started at /usr/home/zero/domains/obscurethoughts.net/public_html/wp-content/plugins/bayes/class.naivebayesian.php:82) in /usr/home/zero/domains/obscurethoughts.net/public_html/wp-comments-post.php on line 55

    Travis — 02/20/2005 @ 4:46 pm
  9. I think I know where I am screwing up. In every test that I have performed, I have removed the three tables created by this plugin and then installed again. Can you do the same?
    They should be nb_categories, nb_references and nb_wordfreqs

    I am on the IRC channel #wordpress on irc.freenode.net if you want live help :P

    Mark — 02/20/2005 @ 5:10 pm
  10. I am currently having this problem also.
    I removed the tables then installed again.
    But still the same thing happens.

    Is it a problem with the prefix nb_?

    jerome (1 comments.) — 02/21/2005 @ 12:26 am
  11. Please make sure that there are a few comments that are good and a few comments in your blog that you have moderated as spam. This has to have been done in Wordpress 1.5 This plugin learns from those comments and will not function without them.
    Mark — 02/21/2005 @ 9:02 am
  12. I can’t seem to find any “common spam words” area in my admin.

    gnightmaire (1 comments.) — 02/21/2005 @ 4:21 pm
  13. You’ve wrote in the instrudtions.txt:
    “…paste them into the “Common Spam Words” form in the admin of your blog”

    Where is the “Common Spam Words” form? I cannot find it

    lorta — 02/22/2005 @ 6:45 pm
  14. [...] y ereg ones worked, but the blacklisting in WP doesn’t use ereg), so I’m using 3 strikes again. As always, let me know if things go aw [...]

  15. Have installed this on my 1.5 blog that I converted from 1.2.1 and it works well via FireFox, but users of IE6 get sent automatically to the fbi.gov page. I’ve checked the list and there are no blank lines. If I turn off 3-strikes, the IE leaves comments OK.

    I had previously been using 3-strikes alpha on the 1.2.1 ver. and noticed a lot of error messages when trying to initialize the plugin as per the install instructions. If this is a corrupt database issue, which tables need to be deleted in MySQL and what would be the best way to reinstall?

    Thanks.

    OkieBoy (3 comments.) — 04/3/2005 @ 2:47 pm

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required, will not be published)


S2