888888.888888.88""Yb..dP"Yb..8888b..Yb..dP.88b.88....db....8b....d8.88..dP""b8..dP"Y8
88__...88__...88__dP.dP...Yb..8I..Yb.YbdP..88Yb88...dPYb...88b..d88.88.dP...`".`Ybo."
88""...88""...88"Yb..Yb...dP..8I..dY..8P...88.Y88..dP__Yb..88YbdP88.88.Yb......o.`Y8b
88.....888888.88..Yb..YbodP..8888Y"..dP....88..Y8.dP""""Yb.88.YY.88.88..YboodP.8bodP'


88b.88.888888.888888.Yb........dP.dP"Yb..88""Yb.88..dP
88Yb88.88__.....88....Yb..db..dP.dP...Yb.88__dP.88odP.
88.Y88.88"".....88.....YbdPYbdP..Yb...dP.88"Yb..88"Yb.
88..Y8.888888...88......YP..YP....YbodP..88..Yb.88..Yb

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.

Poll Daddy Reviewed
Polldaddy poll?
2 comments
page 42
Why I Ditched Disqus
Add wordpress comments to friendfeed?
5 comments
page 1175
Html 5 Gallery
Html5 gallery?
6 comments
page 1305
Html 5 Gallery
Html5 gallery?
6 comments
page 1305
Post Image The Easy Peasy Way
Wp display all post images?
26 comments
page 1065
Quick N Dirty Post Exclusion
Fitler theloop addfilter?
11 comments
page 124
Using Your Own Url Shortener
Constructor and link shortner?
4 comments
page 1190
My Experience Of Flexx
Flexx of genesis wp theme?
4 comments
page 1026
Html 5 Gallery
Html5?
6 comments
page 1305
Wordpress Chat
Tchat page wordpress?
3 comments
page 1308
Quick N Dirty Post Exclusion
Filter wordpress posts plugin?
11 comments
page 124
Post Image The Easy Peasy Way
Wp add attachment?
26 comments
page 1065
Html 5 Gallery
Html 5 gallery?
6 comments
page 1305
Html 5 Gallery
Pictures html5?
6 comments
page 1305
Html 5 Gallery
Pictures html5?
6 comments
page 1305
Post Image The Easy Peasy Way
Wordpress attach images to post?
26 comments
page 1065
Post Image The Easy Peasy Way
Wp post orderby?
26 comments
page 1065
Auto Cycle Fun With Sidebar Tabs
Wordpress make your plugin updateable?
one comment
page 1129
Wordpress Chat
Postimagetheeasypeasyway?
3 comments
page 1308
Using Your Own Url Shortener
How to flushrewriterules?
4 comments
page 1190
Custom Hooks For Admin Pages
Addaction adminpost?
one comment
page 430
Custom Hooks For Admin Pages
Addaction adminpost?
one comment
page 430
Wordpress Chat
Chat themes?
3 comments
page 1308
Html 5 Gallery
Html5 wordpress?
6 comments
page 1305
Html 5 Gallery
Html5 photo gallery?
6 comments
page 1305
How To Add Sidebars To A Theme
Add more than one widget area to wordpress?
10 comments
page 1053
Post Image The Easy Peasy Way
Wordpress postimage img tag?
26 comments
page 1065
Html 5 Gallery
Photo gallery in html 5?
6 comments
page 1305
Quick N Dirty Admin Login Screen
Admin login?
no comment
page 128
Why I Ditched Disqus
Disqus themes?
5 comments
page 1175
My Experience Of Flexx
Ithemes flexx theme?
4 comments
page 1026
3 Ways To Speed Up Your Blog Without A Cache Plugin
Wp plugin speedup page?
one comment
page 1321
Theming Habari Vs Wordpress
Habari vs wordpress?
13 comments
page 440
  1 query every 1311 seconds, updated 1 seconds ago.
Sunday, 8pm
 __
(__)
   `

 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.

Sunday, 7pm
 __
(__)
   `

 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 ;)

Sunday, 6pm
 __
(__)
   `

 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.

Sunday, 3pm
 __
(__)
   `

 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.

Saturday, 4pm
 __
(__)
   `

 jimmy

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

Friday, 7pm
 __
(__)
   `

 Andrew Rickmann

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

Friday, 6pm
 __
(__)
   `

 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.