Customizing SMF > SMF Coding Discussion
[SCRIPT] Ban bunch of people in a single click...
(1/1)
emanuele:
...or two... :P
That's something I wrote (a while ago) for this forum, but it probably needs a bit of testing.
The main idea is that ban is an admin feature and in large forums could be difficult to keep up with all the bans.
From that idea I wrote both a mod and this script.
It's enough to put the script in your forum directory and navigate to it.
Two options are available:
1) write down a list (using a comma to separate the entries) of all the user names you want to ban into the text area
2) go through the topics in a board, take the names from the subject and select those you want to ban from a list (that second option is useful for example if you agree with your collaborators to open a new topic into a certain board for each member that has to be banned).
The script allows to fill in the usual options needed to create a new ban. Specifying an existing ban name the triggers will be associated to that ban. Finally it's also possible to select the type of ban (email, IP, username and all the possible combination of the three).
Feel free to report issues, suggestions ,etc.
As usual the code is available also at github along with a bunch of other things.
Dzonny:
Sounds great. :)
Will try that one even though i don't have such big number of to-be-banned members on the list.
Navigation
[0] Message Index
Go to full version