View Full Version : I completly rewrote the mod banning system and added an admin banning system as well.
Slynderdale
03-05-2003, 11:31 AM
As the title says, I completly rewrote the vBulletin banning system and also made an admin banning system in the admin cp as well. What this does, is create a Banned usergroup where ban members is set to if the banned usergroup isnt already made. Then when an admin or mod goes to ban a user, they must enter the reason for banning and how long there banned for, this can be set to permantly or a certain date.
While banned, when ever the member tries to access the forum, they get an error mesage saying there banned, who banned them and the reason and time they will be unbanned.
If the unban time isnt set to permanent, they will automaticly be unbanned after the ban time is up.
Mods and admins can then edit and even unbanned ban members too. It keeps the info on how many times a member has been beened and so on. I also create a mod and admin ban list that list all the banned members and info about them.
Ill post some screen shots below, tell me how you like it.
Slynderdale
03-05-2003, 11:33 AM
Heres a screenshot of the admin cp when you search for users.
Slynderdale
03-05-2003, 11:34 AM
Heres a screenshot of when you search for users like before, but when the member is banned.
Slynderdale
03-05-2003, 11:35 AM
Heres a screen shot of the admin/mod ban list that shows a list of all the banned members and there info.
Slynderdale
03-05-2003, 11:36 AM
Here is the error message you get when you are banned.
Slynderdale
03-05-2003, 11:36 AM
Here is the screen when you choose to ban a user.
Slynderdale
03-05-2003, 11:37 AM
Here is the screen when you choose to edit the ban of a user.
Slynderdale
03-05-2003, 11:37 AM
Here is the screen of when you go to un-ban a user.
Slynderdale
03-05-2003, 11:39 AM
Thats all the screen shots for now, tell me what you think, after some bug testing I might release it for every one, I just made it tonight, any ways, I gotta get ready for school in a little while, see ya around.
Xenon
03-05-2003, 12:06 PM
Looks really good, from what i can see, some kind of banning system like vb3 has. :)
i wish you a good bugtst ;)
Dean C
03-05-2003, 03:30 PM
Lmfao Slynderdale. Your a legend i swear. Where do you get all the time to do this and not email me my little mini-hack hehe ;) This looks awesome though - it really does! I hope you released it before vb3 :D
- miSt
Erwin
03-05-2003, 07:56 PM
I have also extended the vB banning system, with a complete integration of the warning system, suspension system, banning system and reporting system, all based on points. It's all automated as well - just click a button, and points are removed, PMs and emails sent, and usergroup changed. :)
sparky2
03-05-2003, 08:44 PM
Atop this thread you asked "How do you like it?"
The interface is beautiful, but the "reason" field is way too small to be practical. Needs to be datatype mediumtext, with a textarea form field in the editing interface.
What's the context of your interface screencaps? AdminCP--}EditUser
???
FWIW, I hacked something less elegant & had to rework it 4-5 times to suit our moderators. One of the things they asked for was to have "Ban Duration" reported. That way, the earlier incidents can serve as precedents. By referring to past disciplinary actions, they can see what "timeBan" duration is appropriate (and be consistent in their enforcement of the forum rules).
I'm tempted to just chuck the script I wrote & go with yours.
I had just added fields to the user table, so each new time-based ban for a particular user overwrote the data from previous "incidents". I'm not keen on the idea of having six selectboxes required to set the date; in our implementation, a moderator just types a decimal number (can be 0.1) into a textbox to indicate the time (in hours) they want to assign for the temporary ban.
Two other suggestions for you:
First, the Report (grid) should include the DATES of previous bans.
If a person was warned before for the same behavior
(a moderator may not even know about it; may have been a different mod earlier) knowing whether the warning was issued last week or last year is an important piece of info.
----------
Second, it would be really helpful if the report had two "views":
current bans in effect, and all bans ever issued (dateline DESC)
What really motivated me to post to this thread was wanting to discuss banning, in general. It's a losing proposition & just becomes a cat-and-mouse game between the habitual troublemakers and the moderators.
The vBulletin developers factored in a "moderate new posts" permission setting, but it's not flexible enough (and too time-consuming to manage). Instead of forcing all posts in a particular subforum to require moderation before being publicly visible, or having to "reassign" a user into a different usergroup, for which "posts require moderation"...
maybe we should tie this into the Time-based "banning" feature, so that when a user gets a "formal warning", his account is tagged "posts require moderation" for the specified "ban" period... and afterwards, (automatically, once the dateline for the ban is exceeded) the account tag allows posting but keeps the member account on a "watchlist" for moderators.
Maybe?
Slynderdale
03-05-2003, 08:52 PM
Originally posted by sparky2
Atop this thread you asked "How do you like it?"
The interface is beautiful, but the "reason" field is way too small to be practical. Needs to be datatype mediumtext, with a textarea form field in the editing interface.
What's the context of your interface screencaps? AdminCP--}EditUser
???
FWIW, I hacked something less elegant & had to rework it 4-5 times to suit our moderators. One of the things they asked for was to have "Ban Duration" reported. That way, the earlier incidents can serve as precedents. By referring to past disciplinary actions, they can see what "timeBan" duration is appropriate (and be consistent in their enforcement of the forum rules).
I'm tempted to just chuck the script I wrote & go with yours.
I had just added fields to the user table, so each new time-based ban for a particular user overwrote the data from previous "incidents". I'm not keen on the idea of having six selectboxes required to set the date; in our implementation, a moderator just types a decimal number (can be 0.1) into a textbox to indicate the time (in hours) they want to assign for the temporary ban.
Two other suggestions for you:
First, the Report (grid) should include the DATES of previous bans.
If a person was warned before for the same behavior
(a moderator may not even know about it; may have been a different mod earlier) knowing whether the warning was issued last week or last year is an important piece of info.
----------
Second, it would be really helpful if the report had two "views":
current bans in effect, and all bans ever issued (dateline DESC)
What really motivated me to post to this thread was wanting to discuss banning, in general. It's a losing proposition & just becomes a cat-and-mouse game between the habitual troublemakers and the moderators.
The vBulletin developers factored in a "moderate new posts" permission setting, but it's not flexible enough (and too time-consuming to manage). Instead of forcing all posts in a particular subforum to require moderation before being publicly visible, or having to "reassign" a user into a different usergroup, for which "posts require moderation"...
maybe we should tie this into the Time-based "banning" feature, so that when a user gets a "formal warning", his account is tagged "posts require moderation" for the specified "ban" period... and afterwards, (automatically, once the dateline for the ban is exceeded) the account tag allows posting but keeps the member account on a "watchlist" for moderators.
Maybe?
Hmm, real good ideas, ill implement them with my current hack before release, especaily the previous ban records, Instead of adding the data to the ban list in the screen shot above, ill make the total ban count a link that opens a window to show all detailed ban data for that user.
filburt1
03-06-2003, 01:11 AM
Looks nice but FYI the mod CP of vB3 pretty much has the same features now.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.