View Full Version : Moderators Functions - LAM - Ban From Thread
mawby
05-03-2011, 10:00 PM
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 (https://vborg.vbsupport.ru/showpost.php?p=2187685&postcount=42) important note about Tapatalk support.
Installation
Download the attached .xml file
product-LAM_BanFromThread.xml
Install the product
AdminCP -> Plugins & Products -> Add/Import Product -> Import Product
Edit the "FORUMDISPLAY" template
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>
Add below it...
<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={v b:raw foruminfo.forumid}">{vb:rawphrase LAM_BanFromThread_ForumTitle}…</a></li>
</vb:if>
Edit the "SHOWTHREAD" template
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>
Add below it...
<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="removeredirect" tabindex="9" /> {vb:rawphrase remove_redirects}</label></li>
Add below it...
<li><label><input type="radio" name="do" value="LAM_BanFromThread" tabindex="10" /> {vb:rawphrase LAM_BanFromThread_Title}…</label></li>
Find...
<li><label><input type="radio" name="do" value="clearpost" tabindex="42" /> {vb:raw vbphrase.clear_post_list}</label></li>
Add below it...
<li><label><input type="radio" name="do" value="LAM_BanFromThread" tabindex="43" /> {vb:rawphrase LAM_BanFromThread_Title}</label></li>
<li><label><input type="radio" name="do" value="LAM_BanFromThread_Undo" tabindex="44" /> {vb:rawphrase LAM_BanFromThread_UndoTitle}</label></li>
Configuration
There are various configuration settings that allow you to customise how this product works...
https://vborg.vbsupport.ru/attachment.php?attachmentid=128805&stc=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/attachment.php?attachmentid=128808&stc=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/attachment.php?attachmentid=128806&stc=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/attachment.php?attachmentid=128809&stc=1&d=1304548519
https://vborg.vbsupport.ru/attachment.php?attachmentid=128810&stc=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/attachment.php?attachmentid=128807&stc=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/attachment.php?attachmentid=128812&stc=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/showthread.php?9545-LAM-Ban-from-Thread-goes-quot-LAM-Thread-und-Forenbans-quot
sticky
05-05-2011, 01:32 AM
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?
sulasno
05-05-2011, 02:20 AM
tagged and thanks
Special Pages
05-05-2011, 02:34 AM
Very good and creative. Thanks!
Kat-2
05-05-2011, 04:18 AM
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.
mitch84
05-05-2011, 04:27 AM
installed! thx
doopz
05-05-2011, 08:44 AM
Great, installed.
Do you have any plans to build in a feature that people get a PM when they are banned from a thread?
CharlieDelta
05-05-2011, 11:44 AM
What a great idea!
GeorgeB85
05-05-2011, 12:51 PM
One suggestion in case someone makes a mistake, it to have an unban option!
TBforums
05-05-2011, 02:02 PM
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.
mawby
05-05-2011, 04:24 PM
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.On my forum my vendors have their own sections which they have mods rights over, so this product works for them already. Getting the creation time bans working with a user group list is trivial, but for the menu option I'd have to add a new item under the "Thread Tools" menu as the other two menus currently used won't be available to non-mods. Would this be OK?
Additionally, I take it mods and admins are exempt?They can be added to the ban list but it won't ban them as the moderator permission check overrides the ban list check.
Do you have any plans to build in a feature that people get a PM when they are banned from a thread?Leave it with me and I'll see what I can do.
One suggestion in case someone makes a mistake, it to have an unban option!People can be unbanned from the option on the Administrative Tools menu. Thinking about it, it wouldn't be difficult to add an unban option to the Moderation Tools menu too, so the owners of any selected posts can be unbanned quickly.
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.
mawby
05-06-2011, 01:29 PM
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/attachment.php?attachmentid=128850&stc=1&d=1304692114
Upgrade Instructions
1) Install the new product file
2) Edit the FORUMDISPLAY template...
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={v b:raw foruminfo.forumid}">{vb:rawphrase LAM_BanFromThread_ForumTitle}…</a></li>
</vb:if>
3) Edit the SHOWTHREAD template...
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>
sticky
05-08-2011, 03:07 AM
On my forum my vendors have their own sections which they have mods rights over, so this product works for them already. Getting the creation time bans working with a user group list is trivial, but for the menu option I'd have to add a new item under the "Thread Tools" menu as the other two menus currently used won't be available to non-mods. Would this be OK?
Absolutely, that would be fine.
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.
Alan_SP
05-19-2011, 05:01 PM
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.
treefrog
05-23-2011, 11:04 AM
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?
mawby
05-25-2011, 11:36 AM
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.
OK I understand. That wont be too difficult. Leave it with me and I'll see what I can do.
The two mods should definitely work side by side even in the same forum.
Alan_SP
05-26-2011, 02:57 AM
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:
sticky
05-30-2011, 01:28 AM
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:
Exactly, this is what I would want and it would be a great way to get people to subscribe to get this feature.
Thread creators could have control of their own thread. Enabling by usergroup would be great!
barmen_1982
05-30-2011, 12:35 PM
Thank you master
Konkere
06-05-2011, 07:23 PM
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:
if (!can_moderate($threadinfo['forumid']) AND (($threadinfo['LAM_BanFromThread'] AND in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $threadinfo['LAM_BanFromThread'], -1, PREG_SPLIT_NO_EMPTY))) OR ($vbulletin->options['LAM_BanFromThread_ForumBans'] AND $foruminfo['LAM_BanFromThread'] AND in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $foruminfo['LAM_BanFromThread'], -1, PREG_SPLIT_NO_EMPTY))))) {
eval(standard_error(fetch_error('LAM_BanFromThread _NoPermission')));
}
Another small improvement.
To enable topicstarter edit banlist.
Edit the SHOWTHREAD template...
Find:
<vb:if condition="!empty($vboptions['LAM_BanFromThread_UserGroups']) AND in_array($bbuserinfo['usergroupid'], array($vboptions['LAM_BanFromThread_UserGroups']))">
and replace:
<vb:if condition="(!empty($vboptions['LAM_BanFromThread_UserGroups']) AND in_array($bbuserinfo['usergroupid'], array($vboptions['LAM_BanFromThread_UserGroups']))) OR ($threadinfo['postuserid'] == $bbuserinfo['userid'])">
In plugin "LAM - Perform Thread Manage Actions"
find:
if ($_REQUEST['do'] == 'LAM_BanFromThread') {
if (!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) {
print_no_permission();
}
and replace:
if ($_REQUEST['do'] == 'LAM_BanFromThread') {
if ((!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'])) {
print_no_permission();
}
find:
} elseif ($_POST['do'] == 'LAM_BanFromThread_Update') {
if (!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) {
print_no_permission();
}
and replace:
} elseif ($_POST['do'] == 'LAM_BanFromThread_Update') {
if ((!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'])) {
print_no_permission();
}
sticky
06-06-2011, 12:02 AM
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:
if (!can_moderate($threadinfo['forumid']) AND (($threadinfo['LAM_BanFromThread'] AND in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $threadinfo['LAM_BanFromThread'], -1, PREG_SPLIT_NO_EMPTY))) OR ($vbulletin->options['LAM_BanFromThread_ForumBans'] AND $foruminfo['LAM_BanFromThread'] AND in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $foruminfo['LAM_BanFromThread'], -1, PREG_SPLIT_NO_EMPTY))))) {
eval(standard_error(fetch_error('LAM_BanFromThread _NoPermission')));
}
Another small improvement.
To enable topicstarter edit banlist.
Edit the SHOWTHREAD template...
Find:
<vb:if condition="!empty($vboptions['LAM_BanFromThread_UserGroups']) AND in_array($bbuserinfo['usergroupid'], array($vboptions['LAM_BanFromThread_UserGroups']))">
and replace:
<vb:if condition="(!empty($vboptions['LAM_BanFromThread_UserGroups']) AND in_array($bbuserinfo['usergroupid'], array($vboptions['LAM_BanFromThread_UserGroups']))) OR ($threadinfo['postuserid'] == $bbuserinfo['userid'])">
In plugin "LAM - Perform Thread Manage Actions"
find:
if ($_REQUEST['do'] == 'LAM_BanFromThread') {
if (!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) {
print_no_permission();
}
and replace:
if ($_REQUEST['do'] == 'LAM_BanFromThread') {
if ((!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'])) {
print_no_permission();
}
find:
} elseif ($_POST['do'] == 'LAM_BanFromThread_Update') {
if (!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) {
print_no_permission();
}
and replace:
} elseif ($_POST['do'] == 'LAM_BanFromThread_Update') {
if ((!can_moderate($threadinfo['forumid'], 'canmanagethreads') AND (empty($vbulletin->options['LAM_BanFromThread_UserGroups']) OR !in_array($vbulletin->userinfo['usergroupid'], preg_split('#\s*,\s*#s', $vbulletin->options['LAM_BanFromThread_UserGroups'], -1, PREG_SPLIT_NO_EMPTY)))) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'])) {
print_no_permission();
}
Very nice.
rasp187
06-12-2011, 04:18 AM
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?
Alan_SP
06-12-2011, 10:02 AM
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?
rasp187
06-12-2011, 02:03 PM
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?
lol you're right, I didn't have it selected at the top :o
mawby
06-12-2011, 06:49 PM
mawby maybe it will be interesting to you.
It does indeed. I'll get these added into the next release. :up:
Prisoner
06-13-2011, 09:59 PM
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.
Alan_SP
06-14-2011, 12:53 PM
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.
S3Ponline
06-14-2011, 10:19 PM
It does indeed. I'll get these added into the next release. :up:
This is looking very good.
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.
Alan_SP
06-15-2011, 07:27 AM
Users already can do that when they are starting thread. After that only moderators can do that.
S3Ponline
06-16-2011, 01:24 PM
Users already can do that when they are starting thread. After that only moderators can do that.
Wait, what?
Users can already ban members from their threads? You sure this is a default vbulletin option?
bikoy888
06-16-2011, 01:43 PM
thanks for this mod
Prisoner
06-16-2011, 11:12 PM
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.
They cannot read the thread, but the thread title is still in the thread listing. When clicked on, the message, "You are not allowed to participate in this forum" appears.
I would like it if the title weren't visible in the thread list.
sulasno
06-16-2011, 11:17 PM
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 ?
mawby
06-17-2011, 07:19 AM
I would like it if the title weren't visible in the thread list.
This is a problem, one I'm still trying for fix for the dispute resolution mod which this mod is based on. To stop the thread appearing in the forum list is easy but you so discover that isn't good enough. It has to be hidden from the "latest post" section of the user profiles, the "who's doing what" section, the CMS latest posts/threads, the list goes on. Unfortunately hiding the thread from these other places isn't very easy (or even possible in some cases) using just plugins and I don't want to start giving instructions on hacking code as that become a nightmare to support. :(
is it possible to develop another mod to allow only certain members to access a thread ?My disputes resolution (https://vborg.vbsupport.ru/showthread.php?t=252472) mod already allow you to do this.
sulasno
06-17-2011, 07:32 AM
thanks
will look into it
Prisoner
06-17-2011, 09:48 AM
Thanks for the reply mawby. I can see the problem with doing that.
Alan_SP
06-18-2011, 03:49 PM
Wait, what?
Users can already ban members from their threads? You sure this is a default vbulletin option?
Not the stock vBulletin option, but an option with this mod. :) And we talk here about this mod and its possibilities. Of course, you need to setup this mod to allow this. I disabled this on my forum, but would like if I could enable this only in certain forums. At the moment this option is global.
bikoy888
06-21-2011, 12:46 AM
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
mawby
06-24-2011, 11:02 AM
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?
matthew1111
06-25-2011, 07:35 PM
Interesting mod, installing :)
bikoy888
06-27-2011, 08:28 AM
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?
sorry, don't know how to fix it as this is somewhat new to me. but will try to re-check the codes
Rahstyles
06-29-2011, 08:24 AM
does this work with tapatalk?
RTWAP
08-10-2011, 02:21 PM
Using 4.0.7,
If I thread ban a user with Prevent Viewing and Logout Protection enabled. all guests are blocked out.
Would it be possible to challenge the user based on a cookie check + last known ip?
If the error is caused from using VB4.0 vs the recommended VB4.1 then ignore the request.
Thanks
mawby
08-15-2011, 08:08 AM
Hi. The Logout protection is primitive in nature and is working as intended/how you've described. The problem with cookies is they can be easily deleted, and IPs can be easily faked.
Alex@bulletin
09-20-2011, 02:41 PM
Hey good job, very nice idea. Installed!
But one additional suggestion:
Can you add a temporary ban?
For thread bans it is not necessary as much, but for forum bans it would be great, if i could say "ban this user from forum X for Y days" : And after this Y days the ban is removed automatically. In my opinion a temporally ban is a good and efficient warning.
mask31
01-28-2012, 07:33 AM
is there a way to see all users banned from threads? is there like a "general" list of banned users from threads ? that would be helpful.
thanks
Nirjonadda
02-26-2012, 04:50 PM
Installed! Great working on 4.1.10
mawby
03-28-2012, 07:11 AM
Can you add a temporary ban?
is there a way to see all users banned from threads? is there like a "general" list of banned users from threads ? that would be helpful.
Both of those are good ideas and I will try and get them into the next release. I have no idea when that will be though due to work commitments at the moment.
Alex@bulletin
03-28-2012, 10:19 AM
welcome back :) looking forward to the next version of this mod with some additional features. :up:
Alex@bulletin
04-25-2012, 07:23 PM
Hello there,
a free german translation is available now for this mod: http://www.vbulletin-germany.org/showthread.php?9545-LAM-Ban-from-Thread-goes-quot-LAM-Thread-und-Forenbans-quot
---------
Hallo zusammen,
ich habe euch eine ?bersetzung dieses Hacks bereitgestellt:
http://www.vbulletin-germany.org/showthread.php?9545-LAM-Ban-from-Thread-goes-quot-LAM-Thread-und-Forenbans-quot
The option to set individual users to be able to view a thread or not would be grand.
sticky
09-27-2012, 07:33 PM
Hi, is it possible for this mod to give other usergroups the ability to ban from the thread? For example moderators or a paid usergroup?
Edit: I see the product does this, wonderful!
Draffi
09-27-2012, 08:32 PM
WOW ! nice work!
It is possible that a topic starter can ban other members to stop reply'ing in his thread?
Can u do this option?
sticky
10-10-2012, 02:25 AM
Ok using this and it is working. Problem is, error message for removing someone from a thread is giving "you can't participate in this forum" instead of "you can't participate in this thread".
Also, anyway to make it so that so many template edits are not necessary?
sticky
10-10-2012, 02:35 AM
Is there any way to make it so that a thread creator who is a non-moderator can ban someone from a thread after it is created?
sticky
10-10-2012, 02:35 AM
WOW ! nice work!
It is possible that a topic starter can ban other members to stop reply'ing in his thread?
Can u do this option?
Yes, I have the same request this is very important.
Phaedrus
12-30-2012, 04:10 AM
Does this work if you upgrade to 4.2.0?
Phaedrus
12-30-2012, 05:13 AM
Well, regardless I have it installed on my 4.1.x version and it is working wonderfully... I'd like to upgrade but I'll wait until I'm sure all my mods will work first.
Alex@bulletin
12-30-2012, 02:20 PM
why not creating a testing board with 4.2 and installing the mods you are using?
Draffi
12-30-2012, 07:08 PM
A good feature would be, if its possible to ban a member on every time - not only at the thread starting (Who knows, who is flaming my thread, when i`m starting...)
Phaedrus
12-31-2012, 03:05 AM
why not creating a testing board with 4.2 and installing the mods you are using?
The dbase is too large for me to copy it and test... I'll have to upgrade my server.
Phaedrus
12-31-2012, 03:06 AM
Just an FYI. If you have users using Tapatalk, they can post in threads regardless of thread/forum bans through this modification.
You may also want to have it check against the user creating the thread, you can "ban" yourself from your own threads. I'd not call it a bug... but it just seems odd.
Alex@bulletin
12-31-2012, 12:30 PM
The dbase is too large for me to copy it and test... I'll have to upgrade my server.
huh? You don't need to copy your database. You just need to install the mods you are using on a new installed 4.2 board. They should work even without the database entries from your entire board.
Phaedrus
01-02-2013, 12:28 AM
huh? You don't need to copy your database. You just need to install the mods you are using on a new installed 4.2 board. They should work even without the database entries from your entire board.
Many of my mods work with the dbase. Testing is most effective if I copy and test. I spent much time making them work right and tweaking them for my board, I need to be able to see the effects correctly. Thanks/Groans is one of them, I wouldn't know that once the numbers of Thanks/Groans gets large the counts stretch beyond the boundaries of the postbit, for example...
mitch84
03-26-2013, 07:20 PM
hi, I can ban a group? thx
Alex@bulletin
03-26-2013, 07:32 PM
hmm not with this hack. as you can see the developer has not been online for a long time now.
But I think it won't be a hard job for a coder to change the hacks source code, so banning usergroups gets possible.
RaiinbowEyes
04-18-2013, 10:19 AM
I can't find the code in the templates.. the code does not even look like the same format in the template as it does in the instructions. I'm guessing this is because I'm using v4.2.0. Is there any way to make this mod work for v4.2? I could solve nighmarish issues on my forum with this mod, so please, if anyone can help me please let me know!
Bubble #5
09-11-2013, 03:33 AM
It says "Thread Creation Bans Enabling this allows the thread creator to specify a list of banned users as the thread is being created" but how is a thread creator supposed to look into the future and know who is going to disrupt a thread? Wouldn't it make more sense to allow the thread creator the option to click on a person in the thread and ban them that way, after they start causing trouble in the thread?:confused:
Pocket Aces
11-12-2013, 12:46 PM
Is there another mod similar to this with selected forum functionality?
Barcham
03-13-2014, 10:54 PM
I guess no one has done any further work on this mod? It would really be useful for my forum if it worked on 4.2.2.
Barcham
03-14-2014, 02:56 PM
Well I gave it a shot, nothing ventured nothing gained as they always say! I installed the xml and managed to find the proper code to modify and it works great. It's nice to have the banned member listed at the top of the thread and I like having the option to ban members from viewing the thread as well or banning them from an entire forum. Although I would like it if the viewing block was selectable for each user ban instead of a global setting. Along with that, what would make it perfect would be if a PM was sent to the member to notify him he has been banned from a thread, but that can always be done manually.
But overall, it works fine and is a great addition!
ForceHSS
09-26-2014, 05:04 AM
Got it working on 4.2.2 but there is one bug if you ban a member from a topic any member any topic it will also stop guests from seeing it as well
akz645
07-31-2015, 04:21 PM
It says "Thread Creation Bans Enabling this allows the thread creator to specify a list of banned users as the thread is being created" but how is a thread creator supposed to look into the future and know who is going to disrupt a thread? Wouldn't it make more sense to allow the thread creator the option to click on a person in the thread and ban them that way, after they start causing trouble in the thread?:confused:
Exactly...
This is somewhat of a solution:
http://www.dragonbyte-tech.com/product/163-threadmins-group-moderators/
Using the Thread Admin option, if you allow the user to be able to 'moderate' others posts, the ban from thread option also appears (as the user will have access to the Moderation Tools).
Inline Moderation has to be set as No, otherwise the password verify page will not be bypassable for non moderators:
Admin CP -> Settings -> Options -> General settings -> Enable Inline Moderation Authentication (No) (http://i.imgur.com/FepvDeI.png)
hmm not with this hack. as you can see the developer has not been online for a long time now.
But I think it won't be a hard job for a coder to change the hacks source code, so banning usergroups gets possible.
^ That would be pretty useful.
"Re-usable Code"
Somebody else could help add these suggestions to the code, if they wanted.
It would be so good if they do...
P.S= I haven't spotted any errors with any of the settings using this plugin.
Got it working on 4.2.2 but there is one bug if you ban a member from a topic any member any topic it will also stop guests from seeing it as well
I didn't get that issue. Based on what the settings say, all of them work exactly as described.
Settings: http://i.imgur.com/L3axDCi.png
Evidence: http://i.imgur.com/7lri6ia.png
If the banned user logs in and tries to reply: http://i.imgur.com/8bVTkFh.png
Maybe you misread the settings or another mod you have installed clashes with it?
mito22
04-27-2019, 05:57 AM
Nothing for VB5??
Sergio68
06-16-2020, 08:51 AM
Just an FYI. If you have users using Tapatalk, they can post in threads regardless of thread/forum bans through this modification.
I just tried on version 4.2.2 and it didn't work, most probably because of this bug.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.