Anti‑Link–Spam

December 9th, 2006 2006-12-09T22:09:19-0800

Anti‑Link–Spam for Wordpress is a very crude plug‑in that blocks all comments containing 5 or more URLs. In fact, it’s cruder than that; it will block all comments containing 5 or more instances of the string ‘http://’ — so it’ll block mis‑directed BBCode ‘[url=]’ spam as well.

It’s not pretty, there’s no configuration screen (you can change the hyperlink count by setting a variable in the code, and edit the HTML of the error message as well), but I’m confident it’ll reduce my comment moderation burden.

Download Anti‑Link–Spam 1.0 for Wordpress.

Please consider this plug‑in code free. If you wish to take it and transform it into a full, configurable Wordpress plug‑in then you’re welcome, though please provide attribution for this original effort.

Posted in

Leave a reply

About You
What you want to say

You can use Textile to format your comment.

So here's the deal: I'll never publish your email address ever. However, entering a valid address helps to ensure that you're not posting spam onto my pages (because that sucks). The address is also used to display your Gravatar picture next to your comments (if you have one).

Submit your comment

Ben Michael Ward.

Ben is a 24 year old Web Developer from Cambridge and is a computing graduate of the University of Manchester.

Talk to me

Email

IM

AIM
iChat
Skype
Yahoo! Messenger
BenWardcouk
Google Talk
Jabber
MSN Messenger
talk@ben-ward.co.uk

Add me to your Address Book

  • Links