Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => SMF Feedback and Discussion => Topic started by: tigersfan on April 25, 2012, 08:44:59 AM

Title: Bulk Banning
Post by: tigersfan on April 25, 2012, 08:44:59 AM
Hi, quick question. In our forums, we have a bunch of folks who have registered with names like "1-cash-loan" in an obvious attempt to spam the top of the members list. There are 100s of them and we'd like to ban them all, is there a setting or a plug-in that would allow us to ban multiple accounts at once? Or do we have to do each at one time?
Title: Re: Bulk Banning
Post by: shubha on April 25, 2012, 09:10:41 AM
Block their IP address and Host name.

Admin->Member->Ban list->New Ban
Title: Re: Bulk Banning
Post by: tigersfan on April 25, 2012, 09:26:11 AM
Yeah, I do that, but, what I'm wondering is, is there a way to do a bunch of accounts at the same time? I don't want to have to do that 100s of times individually if there is a faster way.
Title: Re: Bulk Banning
Post by: shubha on April 25, 2012, 09:29:13 AM
One method is left ,

Install the Forum Firewall, Bad Behaviour mod and Add the anti spam question

And from another website install the "Block script".You may block the country also without any difficulty.Now a  days spammers choice IP address.

Take a look at this
http://www.simplemachines.org/community/index.php?topic=474496
Title: Re: Bulk Banning
Post by: Thantos on April 25, 2012, 10:43:57 AM
Quote from: tigersfan on April 25, 2012, 09:26:11 AM
Yeah, I do that, but, what I'm wondering is, is there a way to do a bunch of accounts at the same time? I don't want to have to do that 100s of times individually if there is a faster way.
I'm going to answer with:  It depends.  If they are coming in from a few IPs or a few hostnames you can ban by that which will then ban them all.  You can also create one ban and just add one ban trigger per.

I don't recall any screen that lets you check which members to ban and then ban them all at once.
Title: Re: Bulk Banning
Post by: LiroyvH on April 25, 2012, 11:24:57 AM
We have actually been looking in to that ourselves. I think there are some concepts, maybe it will be released as a mod someday :)
Title: Re: Bulk Banning
Post by: emanuele on April 25, 2012, 11:43:35 AM
/me has in the to-do list to clean-up a certain "ban_script.php" file and put it somewhere... O:)
Title: Re: Bulk Banning
Post by: emanuele on May 06, 2012, 11:45:40 AM
ban_script uploaded here (https://github.com/emanuele45/tools/downloads)! :)

Disclaimer: in this bulk of downloads there is also a version of repair_settings, this is version not supported nor endorsed in any way by SMF, it is a version I modified, it may work better for certain things, but it may also contain bugs. Please use it only if you know what you are doing.
The official version of repair_settings.php can be found at the tools download page (http://download.simplemachines.org/?tools) here at sm.org.