Three Strikes Spam Plugin Updated
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.













Comments RSS
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?
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.
Can I run this in tandem with Spaminator ?
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.
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
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
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_?
I can’t seem to find any “common spam words” area in my admin.
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
[...] 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 [...]
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.