![]() |
LAM - Ban From Thread
1 Attachment(s)
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... https://vborg.vbsupport.ru/attachmen...1&d=1304548519 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... https://vborg.vbsupport.ru/attachmen...1&d=1304548519 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... https://vborg.vbsupport.ru/attachmen...1&d=1304548519 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... https://vborg.vbsupport.ru/attachmen...1&d=1304548519 https://vborg.vbsupport.ru/attachmen...1&d=1304548519 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... https://vborg.vbsupport.ru/attachmen...1&d=1304548519 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. https://vborg.vbsupport.ru/attachmen...1&d=1304549316 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 |
Fantastic modification.
Is it possible to specify only certain usergroups can use the ban from thread feature? For example, I would like to allow my vendors to use this to keep fanboys out of certain threads. Additionally, I take it mods and admins are exempt? |
tagged and thanks
|
Very good and creative. Thanks!
|
Well darn. Every time I tried to Edit the "SHOWTHREAD" template, I got ''bad request''.
Guess I am uninstalling after 3 tries. Nice mod though. |
installed! thx
|
Great, installed.
Do you have any plans to build in a feature that people get a PM when they are banned from a thread? |
What a great idea!
|
One suggestion in case someone makes a mistake, it to have an unban option!
|
This is an excellent mod. I cant believe no one has ever thought of this simple mod. Once there is a usergroup and unban option, this mod would surely have potential to be MOTM. Tagged.
|
Quote:
Quote:
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. |
1 Attachment(s)
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. https://vborg.vbsupport.ru/attachmen...1&d=1304692114 Upgrade Instructions 1) Install the new product file 2) Edit the FORUMDISPLAY template... Code:
Find... Code:
Find... |
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. |
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. |
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?
|
Quote:
The two mods should definitely work side by side even in the same forum. |
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: |
Quote:
Thread creators could have control of their own thread. Enabling by usergroup would be great! |
Thank you master
|
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:
|
Quote:
|
For some reason when I try to create a thread, it doesn't give me a box to ban specific users from it. I have to create the thread THEN ban them via the inline moderation dropdown. Any ideas?
|
Probably you didn't set it up properly? Check your settings, did you enable user banning when thread is started and how did you setup usergroups able to do this?
|
Quote:
|
Quote:
|
Is it possible to make it so that the banned user cannot see the thread in the thread listing?
There will be fewer problems for me if the banned user doesn't even know it exists. |
Take a look at the image of admincp options. You'll see there an option called prevent viewing. Read its description, this is your answer.
|
Quote:
Can you make it so that members can ban users from their own threads that they have started? This would be an excellent feature to give subscribers. |
Users already can do that when they are starting thread. After that only moderators can do that.
|
Quote:
Users can already ban members from their threads? You sure this is a default vbulletin option? |
thanks for this mod
|
Quote:
I would like it if the title weren't visible in the thread list. |
will new registrants be able to view the thread ?
is it possible to develop another mod to allow only certain members to access a thread ? |
Quote:
Quote:
|
thanks
will look into it |
Thanks for the reply mawby. I can see the problem with doing that.
|
Quote:
|
hi, i got this error message when i banned a user from the thread
"Invalid Action Specified" im using v4.1.3 and followed the instructions carefully how to install any views will be a great help. thanks |
bikoy888, I can't see any obvious reason why that would happen if the product is installed correctly. Have you managed to fix it yet?
|
Interesting mod, installing :)
|
All times are GMT. The time now is 06:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|