1 stk May 11, 2006 04:31
3 m_ Jun 20, 2006 11:47
thank you for this nice overview!
it's exactly what I needed!
4 s7uar7 Jun 24, 2006 12:27
I've had to do a few hacks to my site to cut down on the number of spam comments - I've had 25,000 attempts this month and only a handful have got through, and they're only the 'beautiful site, nice design' ones that seem to be manually entered.
- check for duplicate email address or comment contents, 2 minutes and 24 hours respectively, and block the comment if necessary.
- removed the URL field from the form, and block any comments that are submitted with a URL. This doesn't seem to have reduced the number of genuine comments, and if someone doesn't want to post because they can't advertise their own site it's effectively spam anyway. I've get a special pass-phrase, and if the author name field contains the phrase it sets the name and URL to mine so people can identify where I've responded to comments.
- block any comments containing URLs by searching for http, www and a few top level domains (.com, .pl etc). This may not suit your site, but I've not had any problems, and I make it clear on the form that they're not allowed.
- maintain an array of keywords used in spam comments, e.g. phentermine, viagra etc, and block any comments that contain them.
All this means I don't have to constantly keep an eye on it, and users don't have to jump through hoops to leave a comment. And if any of the 'nice site, good content' comments slip through people will just think others are impressed by my site :)
I haven't posted any of the code because I had so many hacks in place before doing all this I'd not been able to upgrade to anything like the most current version, so I don't know if it would still fit (and some may already be in the latest versions). They're mostly in comment_post.php though and it should be fairly easy to work out what to add, and where.
5 m_ Jun 25, 2006 22:09
s7uar7 wrote:
I've had to do a few hacks to my site to cut down on the number of spam comments - I've had 25,000 attempts this month and only a handful have got through, and they're only the 'beautiful site, nice design' ones that seem to be manually entered.
well that's pretty nice success ...
- check for duplicate email address or comment contents, 2 minutes and 24 hours respectively, and block the comment if necessary.
by hand or how? I'm trying to host blogs for customers so there should be a way to get this done automated ...
- removed the URL field from the form, and block any comments that are submitted with a URL. This doesn't seem to have reduced the number of genuine comments, and if someone doesn't want to post because they can't advertise their own site it's effectively spam anyway.
right. people use that field to get more incoming links to their website for a better pr and stuff ...
I've get a special pass-phrase, and if the author name field contains the phrase it sets the name and URL to mine so people can identify where I've responded to comments.
nice ... where is your blog located? I would like to have a look ...
- block any comments containing URLs by searching for http, www and a few top level domains (.com, .pl etc). This may not suit your site, but I've not had any problems, and I make it clear on the form that they're not allowed.
good idea ...
- maintain an array of keywords used in spam comments, e.g. phentermine, viagra etc, and block any comments that contain them.
I can't do this by myself every day there must be an automated way somehow - the central anti-spam list is a beginning, but I still have to click 'update' manually - why doesn't it do it every 24hrs automatically via cron or somethng?
All this means I don't have to constantly keep an eye on it, and users don't have to jump through hoops to leave a comment. And if any of the 'nice site, good content' comments slip through people will just think others are impressed by my site :)
yeah, right :D ...
I haven't posted any of the code because I had so many hacks in place before doing all this I'd not been able to upgrade to anything like the most current version, so I don't know if it would still fit (and some may already be in the latest versions). They're mostly in comment_post.php though and it should be fairly easy to work out what to add, and where.
okay, I will - thanks a lot for your these posts here!
I woke up today I decided I needed to work on spam in my blog.
Thanks for this helpful list!