Page 1 of 1

Prevent Spammers?

Posted: Fri Jan 14, 2005 5:13 pm
by TKS
Hi all,


Since my page has become a bit more popular via trackbacks and whatnot, I've begun to experience spammers hitting the comments areas of my posts. I check my logs and find that these guys are using proxy's to change their IP address...so my .htaccess will keep filling with IP addresses wihtout preventing anything at all. What I hate is that I might block a user who is unwittingly giving those spammers a proxy and they might not be able to view the page.

I was wondering if there was a plugin or function that could help me prevent spammers from visiting/posting in my comments. I already have changed all posts to 'moderated comments' but I'm getting somewhere in the neighborhood of 10-15 comments from these clowns a day...clogs the inbox quite a bit. So, is there a way/plugin/function/hack that might be able to help me out?


Thanks,

TKS

Re: Prevent Spammers?

Posted: Fri Jan 14, 2005 5:29 pm
by garvinhicking
Use the serendipity_event_spamblock plugin which is bundled since 0.7 and activate Captchas. Users who have enabled this have since not yet received spam. The plugin also has various other means of preventing spam, SURBL being one of the more faciliated ones you may also want to use.

Regards,
Garvin

Excellent

Posted: Fri Jan 14, 2005 7:52 pm
by TKS
Excellent!


Didn't even see that one in there...that's what I get for thinking I had read all of the plugins and was familiar with all of them. I'll give a report back on this thread and report results :P

Posted: Fri Jan 14, 2005 10:30 pm
by Guest
HAte to jack the thread, but i've already been spammed with about 3000 spam comments; dont ask me how ..

this was before upgrading today to the new Serendipity .07 .. and enabling the anti-spam plugin, which is now setup and on ..

my question is how can i delete all of these spam comments and not go through all 300 pages of spam comments? such a way?

i dont mind deleting all of the other comments, site doesnt have much traffic or comments so i dont mind.

thanks in advance..

Posted: Fri Jan 14, 2005 10:33 pm
by leonardb
that was me above.. love the site .. i just upgraded using docs from this site.. excellent.

Now i need help with the above

Posted: Sat Jan 15, 2005 3:24 pm
by garvinhicking
About deleting the comments, the best way probably will be to use a tool like phpMyAdmin and browser your serendipity_comments table. There you can also delete all comments.

Depending on the type of Spam I use SQL queries like:

Code: Select all

DELETE FROM serendipity_comments WHERE body like '%casino%';
DELETE FROM serendipity_comments WHERE body like '%insurance%';
DELETE FROM serendipity_comments WHERE body like '%sperm%';
DELETE FROM serendipity_comments WHERE body like '%viagra%';
DELETE FROM serendipity_comments WHERE body like '%phentermine%';
and so on - I just use the words that the spammers usually use...

Regards,
Garvin

Posted: Sat Jan 15, 2005 3:33 pm
by leonardb
yep, i use phpmyadmin .. forgot i had it installed and did it just that way before getting your post. thanks :)