Fork me on GitHub

Tuesday, December 12, 2006

Blog / [Plugin] QuickSpamFilter

[Plugin] QuickSpamFilter

As spam is reaching allarming proportions even on FlatPress (it was a matter of time :’( ) I must create a plugin that can filter all the crap, blocking it. Now, as I don’t have time to write something enough “strong”, I must create something quick, dirty and - I hope - still effective enough.
It’s quite weak, but I hope it will last at least for little while.

Blog spammers are always adding html or bbcode-like tags to be sure that their links are really clickable (so that search engines will index them). If you won’t never add links in your comments using html or bbcode (as they are anyway converted to a clickable link) ALL the comments containing the words “href” or “[url” will be BLOCKED.

The list of banned words can be easily customized so that you could add other words… in the meantime I hope this HACK is enough :/

I’m sure it won’t last a lot; while they’re thinking about it (hoping they aren’t reading this blog :’( ), I hope we’ll block a bunch of that crap.

You can find it here:
http://www.nowherela … plugin.qspam.php.txt

remove “.txt” from the name, upload it to fp-plugins/ e and add ‘qspam’ to your plugin panel. Let’s hope…

:/