Filed Under (Geekspeak, WordPress) by Justin on 2004-10-29

The comment spam has to stop. Now, not later. So, before you non-geekspeak fans ignore the rest of this post, do me a favor and link to it on your blog or wherever else you can get it linked to. If you don’t have anyway to link it, email all your friends who are bloggers and have them post a link for all I care. I just want this post to get noticed by as many people as possible, indexed by as many search engines possible, and something to be done about it.

I’m tired of it. I’m about to turn my comments off for a few days (on this blog and on Bonnie’s I guess) and see if this spammer will go away. For three days straight now, I’ve woken up to 101, 63, and 57 (respectively) emails in my inbox saying that there are comments awaiting moderation. Now, as usual, not a single one has been posted, meaning that the spammer has been unsuccessful in their attempts. But this is ridiculous. I refuse to continue to deal with it anymore. I suppose in that regard they have been successful in some unintended annoying way. To all of you who comment, thanks a million, I hope to be able to restore this “privilege” to you soon.

I have no idea if I have any WordPress developers, plug-in authors, or just PHP coders reading my site, but if so, here is a call out to you: I know that comments are automatically inserted in the database when submitted, then comment moderation rules are checked, and if pases, it’s posted. Smart. If it’s not, it’s held in a general queue. My proposition requires a few minor changes to the core of WordPress. One, blacklisting via the moderation keys database field must be in the default. I suppose this is already in place in some form, just not sure if it would work with my idea. Whitelisting is already in the nearing release of 1.3, so that will help this matter. Secondly, a slight change to the ‘comment_approved’ field in the ‘comments’ table in the database to allow a few choices: approved, unapproved, and blacklisted: Then, we’ll need to separate the moderation queues for unapproved and blacklisted comments so that it’s easier to manage “normal” unapproved, legitimate comments and those caught by the blacklist which will 99.9% of the time be spam. What I would like most at this stage in the process is an option to automatically delete those directed to the “blacklisted” queue and the moderation keys field in the database be updated with the new spammer’s information.

Now, there are a couple plugins around that *could* probably be a good basis for building this functionality. Kitten’s Spam Killer deletes any comment flagged for moderation, and should easily be adjusted to change the status to “unapproved” rather than just deleting the comment and then deleting those that don’t pass the blacklisting rules. The final piece of this puzzle would be Dougal’s Spammer Tar Pit to immediately block access to all WordPress powered PHP pages on your site if any of the information submitted in the comment is spam as flagged by the moderation keys.

Can we just solve the problem, pretty please?

(4) Comments   


Podz on 29 October, 2004 at 10:21 am #

There’s a ton of posts in the wp forums about this.
Kitten has a list if IP’s that can be blocked.
TG has some code to prevent comments on ‘posts yet to be written’
Owen has just released a plugin that checks for various things.
Kitten has yet more code that can be used.

There’s quite a bit of code floating around – my guess is that it’s taken them this long to crack WP so they are now making up for lost time….

dot-totally.co.uk on 29 October, 2004 at 12:03 pm #

Stop the damned Spam!
Damn the spam! Damn the spam! I wholeheartedly agree with Justin:

The comment spam has to stop. Now, not later. So, before you non-geekspeak fans ignore the rest of this post, do me a favor and link to it on your blog or wherever else you can get it…

Matt on 29 October, 2004 at 2:10 pm #

For the love of god I hope you fellas come up with somethin too because now I’m getting hit – about 10 today. It’ll only get worse..Megans too

Jim on 4 February, 2009 at 10:50 pm #

Great Post
You can avoid collecting your email by spam boots by generating an image signature for your email…
try using http://www.killspam.info

Post a Comment