Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Pushkar Gaikwad on
Well seems there are few bots/ppl who are spamming my site and I think the time has come for me to start banning them as I am tired of deleting posts. Which is the BEST and easiest way to Ban such users ? I can do it from my websites cPanel but it is very painful process and time consuming. I am sure Drupal certainly provides something to handle such spamming activities.
Cheers
Comments
Try Troll Module
http://drupal.org/project/troll
I haven't tried the IP Blocking feature as of yet, but the feature does exist as a contrib.
Try the Spam module
Spam for content and Gotcha for Contact form.
Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database
NancyDru
CAPTCHA "Already 700 blocked
CAPTCHA "Already 700 blocked form submissions". Suck on that you spamming losers. Look at: Reports-> Recent log entries to find the spammers IP's then use User management-> Access rules to block those suckers. This website is also cool http://www.projecthoneypot.org/ they have a module on Drupal http:BL but it's outdated and still for version 5.
EDIT:
And now I see this post was for D5 anyway *facepalms*
I use this mysql query after
I use this mysql query after approving all the comments I'd like to keep.
SELECT DISTINCT hostname
FROM `comment`
WHERE `status` =0
LIMIT 0 , 30
That will get you the IPs you need to block.
Add the IPs to the blocklist in admin/config/people.
Delete their accounts and all related content while you're at it.
It's not a quick solution, but it works to clean stuff up. I wish Mollom would delete accounts when you mark spam, but they just temporarily suspend them.
I prefer...
I prefer to block them so that if they try to login again, they get a message telling them to go away.
NancyDru
Comparison of modules for dealing with troublesome users
Comparison of modules for dealing with troublesome users http://drupal.org/node/645216