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 |
#2
|
|||
|
|||
will you consider releasing one for vB 4.x.x ?
can I assume that all previous posts made by the banned member will not be removed ? |
#3
|
|||
|
|||
Do you plan a modification of this code to ban users from a single forum?
That would be a brilliant mod. |
#4
|
|||
|
|||
This is already supported by vBulletin - just edit the user and disallow access to a forum via access masks
|
#5
|
|||
|
|||
Quote:
All this mod does is prevent the banned user from viewing the thread or replying to it. Therefore, you're right- their posts are never modified. |
#6
|
||||
|
||||
install and make template modifications, but i dont see link for ban user
|
#7
|
|||
|
|||
In the instructions, the code you say to place in postbit legacy is missing a final </if>. Saving template throws an if/then parsing error. Adding an additional </if> to the end of your new code block fixes it.
|
#8
|
|||
|
|||
Seems to be working otherwise. Thanks for hooking this up for 3.8x, and the addressing performance issues.
|
#9
|
||||
|
||||
Is it Possible to Include an Option to Ban Usergroups From a Thread?
Sometimes in a Forum that All UserGroups (or Some Usergroups) can Access would be Great to be able to Ban an Entire Usergroup from Viewing the Content of Certain Thread or Threads in Particular. I Hope that Additional Option can be Possible to be Included in an Update. :up: Thank You Very Much For Sharing this Updated Version of this Great Mod for vB3.8x. :up: My Best Regards. |
#10
|
|||
|
|||
Same here; any idea?
Where have we to put the code in the navbar template? Thanks for helping! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|