Patch Mephisto to add a comments list filter
posted: April 4th, 2007 · by: Sven
Mephisto is backed by Akismet when it comes to comment-spam-protection and this duo works pretty well. But like any such system it’s not 100% foolproof and therefor Rick has build it that way that comments are put aside, not completely deleted when Akismet thinks that it’s spam. You’re supposed to log into the admin interface, go to “Moderate comments” and then review them. You can approve or delete the comments separately or delete them all at once.
That’s all pretty reasonable and handy. But when I scrolled through my 900 spam comments yesterday I found myself really wanting to filter the list by keywords like “cialis” or “toyota” (what the heck is so cool about Toyota newly?). This way I could reduce the list by the largest portions in some steps and then only have to review the rest of it.
I looked at the source code and found that it’s pretty super simple to patch in support for this kind of feature. So, here you go.
Read the rest of this entry