CSPAM, Three Strikes 1.1 and Three Strikes 1.2 Alpha have been updated to check for trackback spam. Please download them again to get the updated versions. Nothing special to be done, just replace your existing plugins.
Three Strikes 1.1 Download
Three Strikes 1.2 Alpha Download
The CSPAM plugin can be downloaded from the same link as has been privately provided to you through email. I take this opportunity to promote it again. If you would like to participate in the CSPAM project, please email me or leave a comment and I will send you the download link for the plugin.
Please report bugs.
A little buggy in 1.2 beta:
That particular bug should be fixed in the download. Thanks for the report.
I keep getting this error when posting comments. I’ve checked and deleted any whitespace in the php files but still get it. Have I missed something?
Warning: Cannot modify header information – headers already sent by (output started at /wp/wp-content/plugins/bayes/class.naivebayesian.php:82) in /wp/wp-comments-post.php on line 37
I keep getting sent to the fbi site, whatever I type. This didn’t happen until I also installed ur preview of comments. I then got rid of that, but it’s still a problem.
Any ideas? (I’ve de-activated it for the time-being, but given the number of spam this morning, I’d like to get it up again as soon as possible.)
Look for empty lines in your list of spam words, this is indicative of that. Plus, your IP might be in that list, which will cause that problem. Make sure you own IP does not show up in that list.
Well spotted! There was an empty line about half way down. Cheers.
Hello, someone pointed me in this direction to perhaps help curb my spam issues. I just got done deleting over 3000 comments from my blog. Ack!
I also ran into the problem of every comment, no matter what, was being rated a spam. I discovered that
get_settings( ‘moderation_keys’ )
was returning an empty array, but this
//Strike: If there is a Spam Words Match, you have two strikes
$words = explode(“\n”, get_settings(‘moderation_keys’) );
foreach ($words as $word) {
$word = trim($word);
$pattern = “#$word#i”;
if ( preg_match($pattern, $author) ) $strike += 1;
ended up trying to match ‘##i’, which ended up incrementing $strike a bunch of times.
As a workaround, I put this wrapper around it:
//Strike: If there is a Spam Words Match, you have two strikes
$modkeys = get_settings( ‘moderation_keys’ );
if ( is_array( $modkeys ) )
{
$words = explode(“\n”, $modkeys );
…
}
Since that lookup for moderation_keys occurs more than once, there’s probably a much cleaner and orderly way to do this. But I’m running out the door, and needed comments to work again but I wanted to keep threestrikes up as well. 🙂
Hope this helps,
B
Very nice catch, thanks. I will add it to the original code!
I’m in the middle of changing from Movable Type to WordPress because of excessive spam atacks. I’m willing to be part of your test. Please send me the link for downloading it. Looks like you have the right thing going on. 🙂
Thanks
Blips