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 |
#32
|
|||
|
|||
I guess you will have to open the php file in tapatalk responsible for adding new posts, and add a call to the newreply_start hook.
I knew that tapatalk was insecure, despite their claims that they go through the vb framework! |
#33
|
|||
|
|||
I just checked reply_post.php in tapatalk and they conveniently have the hook commented out on line 190...
Add this code if you want thread bans to work: PHP Code:
|
#34
|
|||
|
|||
I want something similar to this... but
I need a mod that: 1. Doesn't allow any members from usergroup x to see any threads on the forum accept ones from x forum 2. I want a mod that allows an admin to add users to specific threads through thread tools, only then can those users view those threads. I know in edit permissions or permission masks, you can edit permissions on specific forums but i want this done through the forum and on threads, not forums. Can someone help with this? |
#35
|
|||
|
|||
nice but a global list of all users who have been banned from all threads is usefull, not the way the original mod used to display them.
but maybe in the Admin CP -> View Banned Thread Users or something similar |
#36
|
|||
|
|||
Quote:
SELECT threadid, title, threadbans FROM " . TABLE_PREFIX . "thread WHERE threadbans != ''" And then unserialize threadbans. |
Благодарность от: | ||
Konstantinos |
#37
|
|||
|
|||
MoMan -- thanks so much!! My mods were so excited when I installed this and were so upset when I uninstalled it. Now all will be good again
|
#38
|
|||
|
|||
How do I make it so only admins can ban users from a thread?
|
#39
|
|||
|
|||
In the threadmanage_start hook, change
PHP Code:
PHP Code:
|
#40
|
||||
|
||||
Quote:
|
#41
|
|||
|
|||
And how can you make a lock to be able to read this topic, but could not write with the withdrawal of the notification banning.???
Help |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|