The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Ban Users from a Thread Details »» | |||||||||||||||||||||||||||||||||||
This is a modification of AcidX's original "Ban Threads User" plugin for vBulletin 3.7. It has been for the most part rewritten with a focus on performance. Major changes include:
### VERSION HISTORY ### 1.0 (Initial Release) 1.1 (Added mod log actions, now fully phrased) ### FEATURES ### This plugin allows moderators to ban users from individual threads. To ban a user, the appropriate option should be selected from the dropdown menu within the post. To unban, either clear all thread bans from the moderation tools menu, unban the user through the dropdown, or click on the username at the top of the thread. Whenever you're viewing a thread from which users have been banned, a list of usernames will be shown at the top of the thread. This plugin supports permanent bans as well as n-day bans. Valid durations for temporary bans are between 0 and 364 days. The default duration may be set in the "User Banning Options" page, but you can assign custom values by editing the actual ban url and pasting it in your browser. Moderators will ONLY be able to use this feature in forums for which they can_moderate(). Super mods and admins will be able to use it in all forums. ### HOW THIS DIFFERS FROM THE ORIGINAL ### *Big-board friendly: does not add any additional queries to showthread, doesn't do unnecessary computation, and stores ban data individually for each thread instead of globally in the datastore. Queries are only made when a user is being banned or unbanned; unserialization is only done if there are any bans within the thread. *Support for expiring bans: you can choose to ban users permanently or for n days (default # of days is configurable via User Banning Options) *Easy to oversee: banned usernames are shown at the top of the thread to moderators *Flexible permissions: any moderator with permissions in a particular forum can use this facility. Not limited to admins or super mods. *Removed the ability to clear all bans from all threads. If you really need to do this, simply uninstall and reinstall the plugin. *Removed: global view of all thread bans. Not needed. ### INSTALLATION ### -Import one product file -Make 3 template edits Tested on vBulletin 3.8.7, likely compatible with 3.6.x+, or 4.x with slight code changes. Installation instructions are attached. Enjoy! Download Now
Screenshots
Show Your Support
|
4 благодарности(ей) от: | ||
frivolesPaar, Hornstar, viper357, xorex |
Comments |
#12
|
|||
|
|||
Forget my my post; i forgot to edit one template. It´s just working fine!
Thanks for that stuff! |
#13
|
|||
|
|||
Great catch- I've now updated the readme!
|
#14
|
|||
|
|||
Quote:
With that said, it would only take a few extra lines of code to implement it, but you'd have to add some conditionals to check whether or not a key in $btu represents a userid or a usergroup. |
#15
|
||||
|
||||
thanks, now work fine
|
#16
|
|||
|
|||
very nice mod ty
|
#17
|
||||
|
||||
Tagged, does this mod make it easy to see who created the thread ban? I am using AcidX's version currently but as far as I can tell there is no way to see who thread banned a user. Is that possible with this mod?
|
#18
|
|||
|
|||
I have written a version 1.1 of this mod which logs who performs the ban using the standard modlog. It has not yet been released, however.
|
#19
|
||||
|
||||
Understood, I will watch for that version. Also, if there was an option to enter a reason and notify the user with that info that would be great. The logging however is a great option and is really needed for big boards. Thanks
|
#20
|
|||
|
|||
It's pretty much ready to go- I just have to package it. I'll release it when I have some extra time in the very near future.
I'm not planning on adding ban reasons, but you're welcome to re-use the code to implement the feature. The easiest way to do it would be to trigger an AJAX popup before submitting the request to ban the user, and then POST the data to the inlinemod script. |
#21
|
|||
|
|||
New version posted!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|