The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
LAM - Ban From Thread Details »» | |||||||||||||||||||||||||||||||||||||||||
This product will allow you to ban someone from a thread so they cannot reply to it or, depending on the configuration, they cannot even view its contents.
On my site we have some people who like to stir things up when they see threads about a certain subject. Their replies aren't worthy of an outright ban but they can be very annoying and disrupt the flow of the thread. Rather than leaving up to the moderators to keep deleting the posts and warning the poster, this product puts a stop to the problem by allowing moderators to lock people out of a thread as needed. As of version 4.1.3.1 it is now possible to specify user groups that can use this product even if they don't have moderator rights over the forum the thread is in. It is also possible to quickly unban people who have already posted to the thread. And there is a new option to allow bans to be set at the forum level. Tapatalk Users - Please see this important note about Tapatalk support. Installation
Configuration There are various configuration settings that allow you to customise how this product works... Thread Creation Bans Enabling this allows the thread creator to specify a list of banned users as the thread is being created. This is the only time a non-moderator is able to ban someone from a thread and the following option will appear if enabled... Show Banned Users Enabling this will display a banner at the top of the thread listing all of the users who are banned from that thread, for example... Show Banned Users (Mods Only) Enabling this will display the same banner as above but only if the person viewing the thread is a moderator of the forum the thread is in. Prevent Viewing Enabling this will attempt to stop the person who is banned from a thread from being able to view the contents of that thread. If they attempt to open the thread, or view the preview text, they will get... Logout Protection This works in conjunction with the "Prevent Viewing" option, and enabling this will prevent users not logged into your forums from being able to view the thread if anyone is banned from it. This is to stop someone who is banned from a thread simply logging out of your forums to bypass the ban by viewing the thread as a guest. Allow Forums Bans This allows users to be banned from a forum. Once ban they cannot reply to (or view if "Prevent Viewing" is enabled) any thread in that forum. They will also be prevented from creating new threads in that forum. This setting wont propagate down to sub-forums. There is no forum banner showing who is banned at forum level, however all forum level bans will appear in the thread banner (if enabled) when viewing a thread in that forum. User Groups Optional comma separated list of user group IDs who will have access to this products functionality even if they don't have moderator permissions over the thread. This option will also restrict which users can use the "Thread Creation Bans" feature. Example If a moderator wants to ban someone from a thread then they have two options... The option under the "Moderators Tools" menu will ban the users of any selected posts. This allows quick banning of people who have already replied to the thread. The option under the "Administrative" menu will bring up the following screen which will allow the moderator to enter the names of users they want banned, allowing pre-emptive banning of people you know are going to cause trouble in a thread! This screen is also the only way people can be unbanned from a thread. Version History 4.1.3.1 - Forum level bans, unban and user group settings (2011/05/04) 4.1.3.0 - Initial release (2011/05/04) German Translation: http://www.vbulletin-germany.org/sho...Forenbans-quot Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
nacaruncr |
Comments |
#12
|
|||
|
|||
Quote:
They can be added to the ban list but it won't ban them as the moderator permission check overrides the ban list check. Quote:
Quote:
I've also had a request from a moderator on my site to allow bans at forum level too so I'll see if I can get that into the next version whilst I'm at it. |
#13
|
|||
|
|||
I've just updated the product. There is now an option to allow users to be banned from an entire forum using a new "Ban From Forum" option on the forum's Administrative menu. This is only available to users who have moderator rights over the forum.
There is now an option to unban from the Moderation Tools menu. This will unban users of the selected posts. There is also a user groups setting which will allow non-moderators to access this product from a new menu item on the "Thread Tools" menu, plus it will restrict who can use the creation time bans - if enabled. I didn't get time to look at the PM option. Upgrade Instructions 1) Install the new product file 2) Edit the FORUMDISPLAY template... Code:
Find... <vb:if condition="$show['post_new_announcement']"> <li><a href="moderator.php?{vb:raw session.sessionurl}do=postannouncement&f={vb:raw foruminfo.forumid}" rel="nofollow">{vb:rawphrase post_new_announcement}…</a></li> </vb:if> After it add... <vb:if condition="$vboptions['LAM_BanFromThread_ForumBans']"> <li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=LAM_BanFromThread_Forum&f={vb:raw foruminfo.forumid}">{vb:rawphrase LAM_BanFromThread_ForumTitle}…</a></li> </vb:if> Code:
Find... <vb:if condition="$show['addpoll']"> <li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}poll.php?{vb:raw session.sessionurl}do=newpoll&t={vb:raw threadid}">{vb:rawphrase add_a_poll_to_this_thread}…</a></li> </vb:if> After it add... <vb:if condition="!empty($vboptions['LAM_BanFromThread_UserGroups']) AND in_array($bbuserinfo['usergroupid'], array($vboptions['LAM_BanFromThread_UserGroups']))"> <li><a href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=LAM_BanFromThread&t={vb:raw threadid}">{vb:rawphrase LAM_BanFromThread_Title}…</a></li></vb:if> Find... <li><label><input type="radio" name="do" value="LAM_BanFromThread" tabindex="43" /> {vb:rawphrase LAM_BanFromThread_Title}</label></li> After it add... <li><label><input type="radio" name="do" value="LAM_BanFromThread_Undo" tabindex="44" /> {vb:rawphrase LAM_BanFromThread_UndoTitle}</label></li> |
#14
|
|||
|
|||
Quote:
I have a vendor section as well but I have premier sponsors who are allowed to create threads wherever they like. So, this ability would really come in handy for them. |
#15
|
||||
|
||||
This mod is global and this is fine for moderators to ban users from threads.
But, for users to be able to ban other users, I would like it to be forum specific. Is it possible to leave it global for moderators and enable it for users only in certain forums? And would this work in this way with your dispute mod? If same forum is used for disputes and for this mod? Not in the same thread, but in the same forum. |
#16
|
|||
|
|||
Does this work in the mobile styles too? I changed the code as required for the main style that people use...but didn't see the code in the mobile one. Do I need to change the code in the original vBulletin style?
|
#17
|
|||
|
|||
Quote:
The two mods should definitely work side by side even in the same forum. |
#18
|
||||
|
||||
Thanks. Just to clarify, when users create thread in certain forums, they could ban unwanted users from their threads. If it's possible, include option that banning when creating threads be global too for those of us who use it this way.
I already have forum set for private threads where users can create their own private discussions. Now it would be a new type of private thread, where they can ban only certain users from their threads. :up: |
#19
|
|||
|
|||
Quote:
Thread creators could have control of their own thread. Enabling by usergroup would be great! |
#20
|
|||
|
|||
Thank you master
|
#21
|
|||
|
|||
mawby maybe it will be interesting to you.
If user has participated in the topic but then was banned, he still has the ability to edit your post in topic. To avoid this, I added a new plugin. Product: LAM - Ban From Thread Hook Location: editpost_start Title: LAM - No Permission Message (Edit Post) Execution Order: 5 Plugin is Active: Yes Plugin PHP Code: PHP Code:
To enable topicstarter edit banlist. Edit the SHOWTHREAD template... Find: Code:
<vb:if condition="!empty($vboptions['LAM_BanFromThread_UserGroups']) AND in_array($bbuserinfo['usergroupid'], array($vboptions['LAM_BanFromThread_UserGroups']))"> Code:
<vb:if condition="(!empty($vboptions['LAM_BanFromThread_UserGroups']) AND in_array($bbuserinfo['usergroupid'], array($vboptions['LAM_BanFromThread_UserGroups']))) OR ($threadinfo['postuserid'] == $bbuserinfo['userid'])"> find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|