Page 1 of 1

Stop spam in comments module

Posted: Mon Apr 30, 2007 8:40 pm
by brady
I use the Comments module throughout the site to add a little user interaction. However, lately I have been having problems with people spamming. The comments module includes an option to make all new comments inactive, but I don't really like that. I wanted a way to only make comments that appear to be spam inactive, until I get around to checking them out. Instead of writing my own spam detector I decided to rely on Akismet(Spam detection web service)

I have attached a version of the Comments module that integrates with my Akismet module(get it in the forge). It is still pretty rough around the edges. When I have more time I will put some more work into this, and base it off of the SVN version of Comments so I can submit a proper patch. Until then, this seems to be working fairly well.

Edit: Can't attach, get them here
http://www.webtech101.com/uploads/cmsms ... ts-MOD.zip
http://www.webtech101.com/uploads/cmsms ... .0-MOD.xml

Re: Stop spam in comments module

Posted: Wed May 02, 2007 9:18 am
by cyberman
Not sure, but does comments module not captcha for preventing spam?

PS: Many thanks for your CMS akismet.

Re: Stop spam in comments module

Posted: Wed May 02, 2007 7:41 pm
by brady
Yes, it does. But this method stops spam posted by users too, and is less annoying for users. Besides Captcha wouldn't work on my server....

Re: Stop spam in comments module

Posted: Thu May 03, 2007 5:29 am
by cyberman
You were right - have problems with captcha on some accounts too.

Thanks once again - your patch should be a part of Comments :).

Re: Stop spam in comments module

Posted: Thu May 03, 2007 8:19 pm
by brady
I have submitted a patch to Comments tracker. http://dev.cmsmadesimple.org/tracker/in ... 3&atid=171

Re: Stop spam in comments module

Posted: Thu May 03, 2007 11:55 pm
by Elijah Lofgren
brady wrote: I have submitted a patch to Comments tracker. http://dev.cmsmadesimple.org/tracker/in ... 3&atid=171
Applied in SVN.
Thanks!

- Elijah