![]() |
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:
|
All times are GMT. The time now is 09:00 AM. |
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:
|