This mod allows your moderators to do the following:
Ban a user from the site and/or a thread via the username drop down menu in a post (as well as the admin/mod cp).
All moderators with banning/unbanning permissions for the forum can use this feature.
This opens a page which allows you to select a ban period, whether or not to allow the user to view the thread (for thread bans), and provide a text message which the user will see when trying to enter the site or view / reply to the thread.
Once you ban the user you are returned to the same post from which you banned the user.
You will now notice a small icon besides the ip icon.
Clicking on that will open a page that will display the current ban information and in the case of a thread ban, also a list of other threads from which this user is banned.
You will also have the option to edit or lift the ban from here.
You may now also unban the user from the username drop down menu.
From the admin cp vbulletin settings you can set whether you wish to have a Private Message sent to the user whenever they are banned/unbanned from a thread.
You may also view, edit, or lift bans from the admin/mod control panel. Just click on the ?view banned users? or 'view banned from thread users' link. If you turned on the feature to moderate permanent bans, this is where you will see a list of bans awaiting approval. You may approve, reject (lift), or edit (modify) moderated bans.
Available Options:
Limit bans to only Thread, only Site, or both Thread and Site bans via the postbit
Banning permissions are set on a per moderator basis.
Send PM to User:
You may choose whether you wish to send a private message to the user whenever they are thread banned/unbanned
Moderate Permanent Bans:
Whether to moderate (approve, edit, reject) permanent site and/or thread bans.
If this feature is turned on, all permanent site and/or thread bans are entered into a moderation queue requiring admin attention within 7 days of ban date. If no action is taken (approve, edit, reject), the ban reverts to a 7 day ban.
You may also provide an email address to be used for notification that a permanent ban awaits approval.
To Intall:
Please see the 'readme' text file for installation instructions.
Installing this mod will take you approximatly 20 minutes, however, I do believe you will find it to be well worth the time and effort.
Revisions:
version 1.7
New 'includes/cron/remove_managed_bans.php'.
All you need to do is FTP this file to your server.
.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
SELECT user.*,
userban.usergroupid AS banusergroupid, userban.displaygroupid AS bandisplaygroupid, userban.customtitle AS bancustomtitle, userban.usertitle AS banusertitle
FROM userban AS userban
LEFT JOIN userban_manage AS userban_manage ON(userban_manage.userid = userban.userid)
INNER JOIN user AS user USING(userid)
WHERE userban.bandate < 1193958065;
MySQL Error : Column 'userid' in from clause is ambiguous Error Number : 1052
Date : Friday, November 9th 2007 @ 12:01:05 AM
It took me forever to install, but it looks like it is working and man oh man is this a cool mod. Installed. Please let us know if there are any errors since thats a lot to edit and seemingly a lot of chances for error. But great work, you have me impressed.
The site ban option is a bit confusing for me...can we make them jump to the banned usergroup? Or is that what it does? My banned usergroup is 15. Will that matter?
MrD,
Thanks for reporting.
It is now fixed in version 1.2
If you do not wish to upgrade to this version, just FTP 'includes/cron/remove_managed_bans.php' and overwrite the old file with the new one.
Audentio,
When you site ban a user you get the option as to which banned usergroup you wish to insert them into. The drop down menu.
are there usergroup permissions? I want admins and supermods to be able to ban from site and thread, but moderators to only be able to ban from thread.
Here is a TMS (template modification system) XML file, for those that have TMS installed.
Is that template edit the complete xml for this mod so we don't have to do the edits manually?
In the admin control panel select the moderator you wish to edit for a desired forum, then under 'User Permissions' select 'Can Thread Ban Users' and/or 'Can Restore Thread Banned Users' in addition to the default site banning options.
SELECT user.*,
userban.usergroupid AS banusergroupid, userban.displaygroupid AS bandisplaygroupid, userban.customtitle AS bancustomtitle, userban.usertitle AS banusertitle
FROM userban AS userban
LEFT JOIN userban_manage AS userban_manage ON(userban_manage.userid = userban.userid)
INNER JOIN user AS user USING(userban.userid)
WHERE userban.bandate < 1194004975;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.userid)
WHERE userban.bandate < 1194004975' at line 5 Error Number : 1064
Date : Friday, November 9th 2007 @ 01:02:55 PM
Script : http://.../cron.php?&rand=479507