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.
I am running a forum on my site and periodically get targeted by spammers, who create a user id and then try to leave spam. The module copes with this pretty well, but I'm still left with the job of blocking or deleting users who have left the spam. Would it be possible to include this option in the module? For example, I would think that you could, when deleting or unpublishing multiple comments, also offer the option of blocking or deleting the users who have left the spam.
Many thanks, JG
Comment | File | Size | Author |
---|---|---|---|
#4 | antispam.admin_.inc_.patch | 3.48 KB | joel_guesclin |
Comments
Comment #1
chrism2671 CreditAttribution: chrism2671 commentedMe too. Or auto block if repeat offender.
+1
Comment #2
Everett Zufelt CreditAttribution: Everett Zufelt commentedI like this and would like to include ability to block IP for anonymous users. Good idea for 7.x-2.x.
Comment #3
joel_guesclin CreditAttribution: joel_guesclin commentedThe problem with blocking IP is that an awful lot of people using broadband connexions do not have a fixed IP address, so blocking their IP is at best useless and at worst risks blocking the IP of a bona fide user.
The advantage of blocking the user id is that it forces the spammer to go through the hassle of creating a new e-mail address. No big deal for them I know, but since these spammers are human beings, once they discover that their address is blocked and that their posts don't get through, they go away
Comment #4
joel_guesclin CreditAttribution: joel_guesclin commentedI went ahead and modified the antispam.admin.inc file myself. It seems to work ok. A patch is attached for 6.x-1.3. Would it be possible to roll this into a production version?
I don't know whether the patch might look a bit odd - I ran both the files through Netbeans reformatting before creating the patch