November 30, 2007

Lots of people are talking about turning off Akismet for a day to see how much work it actually does. I think that’s mental!

I am inclined to think that it would be better to use an altered version with some kind of logging function so you get the stats without having to spend 24-36 hours de-spamming your comments.

I am considering it though, but for a different reason.

I am quite interested in preventing the spam in the first place, rather than dealing with it once it arrives, and so have been experimenting with ideas for a little while. I am running something experimental at the moment just to see what effect it has. Turning off Akismet would give me a greater challenge, but I’m slightly scared in case it goes wrong.

One thing I have found is that it is particularly difficult to intercept spam before it gets processed by WordPress. For my current experiment I needed to be able to alter the Post variables before they were used by WordPress. I have actually had to change some of the core files to allow this as the only way to deal with it totally via a plugin is to let the comment happen, and then roll it back with it after the fact.

That seems slightly odd to me, so perhaps I have missed something.



Wordpress title showing space?
no comment on page 1371

Wordpress fun?
one comment on page 1376

Live blogging plugin?
4 comments on page 1258

Wordpress 3 admin speed up?
4 comments on page 1321

Framework photoshop?
3 comments on page 296

Fun wp plugins?
one comment on page 1376

Habari vs wordpress?
12 comments on page 440

Wp tags vs categories?
12 comments on page 7

Wordpress rss seo?
one comment on page 1361

Photo albums html5?
6 comments on page 1305

Wordpress chat?
no comment on page 1308

Wordpress exif data?
12 comments on page 230

Css sidear tab?
2 comments on page 336

Wordpress theme html5 blueprint?
6 comments on page 1305

Wordpress shortcode in plugin?
no comment on page 236

Html 50 photo album?
6 comments on page 1305

Get the post attachement?
24 comments on page 1065

Wordpress plugin development 30?
one comment on page 1373

Wordpress plugin development 30?
one comment on page 1373

Disqus formatting?
7 comments on page 1175

Html5 photoalbum?
6 comments on page 1305

Html5 photoalbum?
6 comments on page 1305

Wordpress fun?
one comment on page 1376

Fun wordpress plugins?
one comment on page 1376

Url shortener ideas?
4 comments on page 1190

Url shortener ideas?
4 comments on page 1190

Html 5 photo gallery?
6 comments on page 1305

Multiple post navigation?
no comment on page 1147

Html5 photo galleries?
6 comments on page 1305

Adding images to a wordpress 3 post?
24 comments on page 1065

Html5 photo gallery code?
6 comments on page 1305

Wordpress multiple blog master?
one comment on page 1376

Wordpress 3 tableprefix?
one comment on page 1376

Wordpress 3 tableprefix?
2 comments on page 1374

Using wordpress as a framework?
2 comments on page 335

Single post image size?
24 comments on page 1065

Get featured image src wordpress?
24 comments on page 1065

Disqus wordpress mu?
7 comments on page 1175

Image gallery html 5?
6 comments on page 1305

Wordpress theimage?
24 comments on page 1065

Wpgetattachmentimagesrc size?
24 comments on page 1065
  every 1733s, 1s ago, in 0.03s.
 __
(__)
   `
 Andrew Rickmann

Janis,

I did consider the fake field option. It’s been going around for a little while and when I have used it, it has worked well.

In this instance though I wanted to see how things would go with just this one interception technique on its own.

At the moment it is pretty easy to get around if someone really wanted to but I working on that.

 __
(__)
   `
 Janis Elsts

Is your experiment by any chance similar to what I did recently?

You might also be interested in the Comment Spam Trap plugin (it uses preprocess_comment).

P.S.
Okay, I looked at the page source, I can see what you’re doing ;)

 __
(__)
   `
 Andrew Rickmann

I had a quick look at Bad Behaviour and it looked like a Javascript based validation solution. I didn’t have much time to look in depth unfortunately.

That is certainly one way to add additional protection.

I think Spam Karma rolls the comments back as well.

I have found that there is a pre-process filter hook: preprocess_comment

This lets the comment data be filtered before it is added to the database.

Unfortunately it is still a little too late to alter the post variables.

 __
(__)
   `
 andrea_r

SpamKarma2 is also quite good, and while it does process everything, it gives you numbers. :) And inserts a foot saying how many it snagged.

I’m also currently trying out a trifecta of smaller spam-stoppers on a medium-sized WPMU install.

 __
(__)
   `
 jimmy

dealing with spams waste a lot of time for me too.

 __
(__)
   `
 Andrew Rickmann

I haven’t looked at Bad Behaviour, but I will. Thanks Andrea.

 __
(__)
   `
 andrea_r

Doesn’t Bad Behaviour stop most spam before it gets processed? that’s how I thought it worked. Haven’t tried it much; just going by what a few users have said.


0.01s