View Full Version : Moderators Functions - Ban Users From a Thread
AcidX
02-16-2011, 10:00 PM
Ban Users From A Thread
(Keep users out of a particular thread)
Summary:
Allows Administrators to ban a user from a particular thread.
Most useful if you have a "flame started" and you don't want to lock the entire thread or ban the user entirely - just keep them out of the thread!
Previous versions can be found here: 3.5 (https://vborg.vbsupport.ru/showthread.php?t=109416), 3.6 (https://vborg.vbsupport.ru/showthread.php?t=152121), 3.7 (https://vborg.vbsupport.ru/showthread.php?t=183183)
Features:
1. Allows banning users from a particular thread.
2. This mod can be used by Administrators.
3. Cannot ban Moderators/Super Moderators/Administrators.
4. Gives you the ability to clear all bans in a particular thread, or bans from All threads (forum wide).
5. Can ban/unban user from a single menu when clicking their username (https://vborg.vbsupport.ru/ button).
6. Page to display Forum Wide Thread Bans.
Instructions:
1. Download the .zip file
2. Read the guide in the README.txt document
3. Click Install if you like the mod
Support:
I will offer as much support as I can for all of you that installed this mod.
Please do not PM me for support. Instead, state your question in this thread.
If you installed the product please click install, so you could receive future update notifications. If you want to help develop this product further, please post your suggestions on the thread, or share your ideas with me via PM.
If you find this mod useful and want to buy the developers a beer or two, please donate via PayPay https://vborg.vbsupport.ru/external/2011/12/12.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=bidikov@gmail.com&lc=SI&item_name=VB%20BTU¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%20%20%2egif% 3aNonHosted)
sulasno
02-17-2011, 11:14 AM
tagged and thanks;
at the moment, I use Usergroup permissions to ban members from posting in all threads
CharlieDelta
02-17-2011, 12:41 PM
Nice idea.
AcidX
02-17-2011, 08:00 PM
tagged and thanks;
at the moment, I use Usergroup permissions to ban members from posting in all threads
That would be like banning them from the entire forum, wouldn't it? :)
It's way more useful if you could just ban the problematic users only from the particular thread that they're "fighting" in. Well, now you can! :) This way, you could punish members by restricting them access to the thread and still save the thread for the other users to discuss.
Let me know how you and your admins like it when you install it :)
OldSchoolDSL
02-17-2011, 08:38 PM
Did not work on
4.1.1 :(
AcidX
02-17-2011, 08:56 PM
Did not work on
4.1.1 :(
Never had this problem on 4.1.2. Working on it...
Anyone else experiencing problems?
MoMan
02-17-2011, 10:05 PM
From a development standpoint, wouldn't it make more sense to have this mod use the thread table instead of the datastore? That would eliminate the one query that's currently being added to each showthread pageload. After all, you only really ever care about the thread that you're currently viewing. If you wanted to get a global snapshot of all threads with bans a select where thread.btu != NULL query could be used.
I'll likely end up installing this if such a modification is made. Or, if I have some extra time, I'd be more than willing to try making it given your permission (this would be for the 3.x version of the plugin).
BaanFarsang
02-18-2011, 02:27 AM
VB4.1.2 errors
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4097
Parse error: syntax error, unexpected T_STRING in /home/baanfars/domains/baanfarsang.com/public_html/postings.php(212) : eval()'d code(122) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 4097
BSViper
02-18-2011, 11:54 AM
Great hack!
But i need using this hack by our moderators, not only administrators.. Can someone help?
Thx..
BadgerDog
02-18-2011, 03:02 PM
Great hack!
But i need using this hack by our moderators, not only administrators.. Can someone help?
Thx..
That would be great for us too ... :)
We're running 4.04pl1 ...
Regards,
Doug
sross
02-18-2011, 05:54 PM
yeah, need mods to bea able to use this then I can install. Thanks
COL NIL SATIS
02-18-2011, 06:26 PM
tagged
Skyrider
02-18-2011, 10:00 PM
Using 4.1.1, banned someone:
You have been removed from this discussion thread. Please contact an administrator if you are unaware of the reason.
Works great, thanks!
Manoel J?nior
02-18-2011, 11:48 PM
Hoooooooooooooooooooooooooooo GREAT my bro'
Very very Thanks!
Tagged Instaled more five stars
Bulletnewcomer
02-19-2011, 12:18 PM
tagged
Manoel J?nior
02-19-2011, 12:41 PM
"But i need using this hack by our moderators, not only administrators.. Can someone help?
Thx.."
[2]
sticky
02-19-2011, 04:18 PM
This is very useful, could this be edited to allow certain other usergroups to use it?
For example, vendors could ban certain competing vendors from posting in their threads taking them off track?
Jahaziel
02-20-2011, 11:36 AM
Hi, I have correctly installed this mod, and it runs fine, but when I go to "View All Thread Bans" on top of the page appear the following code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957
Parse error: syntax error, unexpected T_STRING in /homez.334/lvalhall/board/postings.php(210) : eval()'d code(92) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 3957
What is it??
The page shows correctly users who have been banned, but I don't know what mean this code error... :confused:
Thank you, mark as installed and 5*
AcidX
02-20-2011, 12:17 PM
Hi, I have correctly installed this mod, and it runs fine, but when I go to "View All Thread Bans" on top of the page appear the following code:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957
Parse error: syntax error, unexpected T_STRING in /homez.334/lvalhall/board/postings.php(210) : eval()'d code(92) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 3957
What is it??
The page shows correctly users who have been banned, but I don't know what mean this code error... :confused:
Thank you, mark as installed and 5*
Nothing serious, the mod (banning) still works. I'll post an update that fixes this error soon. ;)
NunzioG
02-20-2011, 10:35 PM
I've this problem.
Can you fix please ?
Manoel J?nior
02-20-2011, 11:55 PM
I've this problem.
Can you fix please ?
I too
Great mod!
I would also like to request the ability for moderators to do this, as well as admins. Our mods are regularly telling people not to post in a thread again, and this hack will be very handy.
It would also be great to add a reason, which could then appear on the user message: "You have been removed from this thread because xxx". It would also appear when admins view the thread bans list.
AcidX
02-21-2011, 07:44 AM
I've this problem.
Can you fix please ?
I tooNunzioG, Manoel J?nior
Make sure you have the ban icon (https://vborg.vbsupport.ru/) in /images/site_icons/ignore.png. If not, save it and add it there.
The modification uses this (default and already existing) icon from vBulletin 4 on purpose, so it would spare you the trouble of uploading a custom icon via FTP manually. But, in case for any reason you don't have the icon in your /images/site_icons folder - you should upload it manually :)
Great mod!
I would also like to request the ability for moderators to do this, as well as admins. Our mods are regularly telling people not to post in a thread again, and this hack will be very handy.
It would also be great to add a reason, which could then appear on the user message: "You have been removed from this thread because xxx". It would also appear when admins view the thread bans list. At the moment, that option is not available, but it's in my to-do list.
However, there is a simple work-around that will allow your moderators to ban users from threads - but it's kinda tricky. It will give your moderators permissions to ban users from threads even on forums that they don't moderate.
However, I must advise you to be patient. Both features you mentioned are in my to-do list.
To-Do:
- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.
Hall of Famer
02-21-2011, 08:15 AM
Does this work fine on VB 4.12?
AcidX
02-21-2011, 08:25 AM
Does this work fine on VB 4.12?
Yes, I'm running 4.1.2 on my board.
king zell
02-21-2011, 03:23 PM
does this work on 4.0.3 ?
NunzioG
02-21-2011, 05:54 PM
NunzioG, Manoel J?nior
Make sure you have the ban icon (https://vborg.vbsupport.ru/) in /images/site_icons/ignore.png. If not, save it and add it there.
The modification uses this (default and already existing) icon from vBulletin 4 on purpose, so it would spare you the trouble of uploading a custom icon via FTP manually. But, in case for any reason you don't have the icon in your /images/site_icons folder - you should upload it manually :)
Tks. Fix it :)
sulasno
02-22-2011, 04:03 AM
That would be like banning them from the entire forum, wouldn't it? :)
It's way more useful if you could just ban the problematic users only from the particular thread that they're "fighting" in. Well, now you can! :) This way, you could punish members by restricting them access to the thread and still save the thread for the other users to discuss.
Let me know how you and your admins like it when you install it :)
going to install vB 4.1.2 during the weekend and install this mod and will post more
NunzioG, Manoel J?nior
Make sure you have the ban icon (http://forum.kajgana.com/images/site_icons/ignore.png) in /images/site_icons/ignore.png. If not, save it and add it there.
The modification uses this (default and already existing) icon from vBulletin 4 on purpose, so it would spare you the trouble of uploading a custom icon via FTP manually. But, in case for any reason you don't have the icon in your /images/site_icons folder - you should upload it manually :)I still have this issue and uploading that .png file did not resolve it. Any ideas?
Thanks.
oatsy
02-26-2011, 10:43 AM
I still have this issue and uploading that .png file did not resolve it. Any ideas?
Thanks.
Yep. I had the same thing and used Firebug to compare the code for this icon/link in the user info to others there, e.g. 'View Forum Posts'. I noticed that in the others, the image paths were missing the leading '/'
I edited the xml file for this mod to remove it, reinstalled the mod, and it's sorted.
So, open the xml file in a text editor, go to line 62 and change it from ...
<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">
to
<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">
Save, and reinstall.
Good catch oatsy. Problem solved. Thanks a lot.
Coder may want to take note and fix the path in the file for the benefit of others.
Yep. I had the same thing and used Firebug to compare the code for this icon/link in the user info to others there, e.g. 'View Forum Posts'. I noticed that in the others, the image paths were missing the leading '/'
I edited the xml file for this mod to remove it, reinstalled the mod, and it's sorted.
So, open the xml file in a text editor, go to line 62 and change it from ...
<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">
to
<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">
Save, and reinstall.
BSViper
03-01-2011, 11:46 AM
Any news about new release?
Martini-man
03-09-2011, 11:18 AM
Great mod :)
Fakher
03-10-2011, 05:05 AM
Now one this ....
If the forums is not installed at root the image ignore.png ll not load coz it tries to load image
http://yourdomain/images/site_icons/ignore.png
so if you have forums like in forum directory it should load from here
http://yourdomain/forums/images/site_icons/ignore.png
but it stall loads from old path http://yourdomain/images/site_icons/ignore.png....
i guess this needs to be fixed.
BSViper
03-14-2011, 11:05 AM
Any news about new release?
UP..
Dennis Olson
03-24-2011, 06:46 PM
Two things:
1) All staff levels need to be able to ban/unban (as has been stated)
2) There needs to be an indicator on the banned persons post(s) in the thread letting us know that he is banned from it.
Thanks
Thanks for this. Haven't tested it yet, but seems to be working well on 4.1.1.
Marked installed and rated.
DonosOdD
03-31-2011, 12:37 AM
Tagged for later. Might find a good use for this one. :)
Phaedrus
04-02-2011, 04:59 AM
Does anybody have this working on 4.1.2?
8thos
04-02-2011, 07:37 AM
This is very useful, could this be edited to allow certain other usergroups to use it?
For example, vendors could ban certain competing vendors from posting in their threads taking them off track?^^^What this guy said!
BSViper
04-02-2011, 07:20 PM
I guess we all ignored..
fishmaster
04-03-2011, 04:48 PM
Voted MOTM.
Excellent tool..
8thos
04-03-2011, 08:56 PM
Installed.
SeanMT
04-05-2011, 08:21 PM
+1 For allowing mods to ban...seeing as that's what mods are there for.
futureaudio
04-07-2011, 07:05 PM
VB4.1.2 errors
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4097
Parse error: syntax error, unexpected T_STRING in /home/baanfars/domains/baanfarsang.com/public_html/postings.php(212) : eval()'d code(122) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 4097
I've fixed the error and attached the updated .xml product file.
Please edit/remove this post if this is against the rules.
All credit to OP. I've just updated it to be compatible with recent version of vblulletin. ( Simple fix )
I had to edit the image path in the xml file but aside from that it installed and runs fine on 4.0.8 (that's as far as I'm going - wish I'd stopped at 3.8 - but that's for another thread).
bwheelock
04-11-2011, 07:56 PM
I've fixed the error and attached the updated .xml product file.
Please edit/remove this post if this is against the rules.That definitely removes the error for me (on 4.1.0), but the page layout is still a little messy. I can probably work that out, but it'd be great if the next release addresses this alongside the other mentions:
To-Do:
- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.Two things:
1) All staff levels need to be able to ban/unban (as has been stated)
2) There needs to be an indicator on the banned persons post(s) in the thread letting us know that he is banned from it.
G0F0RBR0KE
05-03-2011, 04:59 AM
Can section mod have the ability to do this?
Danny M
05-30-2011, 03:21 PM
Hey,
I get this error at the top of the page on "View all thread bans":
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957
Parse error: syntax error, unexpected T_STRING in /home/dannym/public_html/forums/postings.php(210) : eval()'d code(92) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 3957
rfsforums
05-31-2011, 05:04 PM
Installed and works on vBulletin 4.0.7 Patch Level 1 - Thanks!!!
bryanb
07-28-2011, 01:22 PM
Does this work with 4.1.5? Getting ready to upgrade.
nerbert
08-09-2011, 04:09 AM
Does this work with 4.1.5? Getting ready to upgrade.
Works for me with one minor change to btu_link template: I removed alt="{vb:rawphrase btu_unban}" from the img tag. For some reason I don't get the little image to work and so I get the alt text "UNBAN USER' or something like that, which causes the link to disappear.
And that's for another post.
diettalk
08-09-2011, 01:25 PM
Works for me with one minor change to btu_link template: I removed alt="{vb:rawphrase btu_unban}" from the img tag. For some reason I don't get the little image to work and so I get the alt text "UNBAN USER' or something like that, which causes the link to disappear.
And that's for another post.
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.
<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />
to
<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />
and it should work.
Dragaon
08-17-2011, 01:55 AM
Hey,
I get this error at the top of the page on "View all thread bans":
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 3957
Parse error: syntax error, unexpected T_STRING in /home/dannym/public_html/forums/postings.php(210) : eval()'d code(92) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 3957
Same here, running 4.1.5
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4183
Parse error: syntax error, unexpected T_STRING in /home//public_html/forum/postings.php(212) : eval()'d code(102) : eval()'d code on line 1
The second issue is ok, the fix below for the missing postbit graphic and link worked perfectly.
Other than the error above and the fix posted below for the separate issue the mod works on 4.1.5
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.
<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />
to
<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />
and it should work.
Successfulsteps
08-17-2011, 05:02 AM
Looks good, I'll wait until the bugs are out and this one is updated for mods to use besides admins. It would just make better sense also so the mods all know and can see. Until then it may just be too confusing.
OturanBoğa
08-24-2011, 10:04 AM
i need using this hack by our moderators, not only administrators.. Can someone help?
Thanks
And:
[...]
However, I must advise you to be patient. Both features you mentioned are in my to-do list.
To-Do:
- Allow Mods/Supermods to use thread bans [optional];
- Time ban [hours, days, weeks...];
- Display ban reason when user tries to enter thread;
- Notification for banned users via PM.
If I'm remembering right, you have to go into the xml file and change this line... to take out the slash in front of images.
<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />
to
<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}" />
and it should work.
Thanks for this :)
i need using this hack by our moderators, not only administrators.. Can someone help?
Thanks
And:
Yes, needed by Moderators
attroll
08-30-2011, 05:02 PM
What would be nice is once you ban a user from a thread, when you click on there name in the postbit it would display a Banned icon instead of the Thread Ban/Unban icon. There is no way of a quick reference to know if the user is already banned from the thread.
Dragaon
09-07-2011, 11:14 AM
I've fixed the error and attached the updated .xml product file.
Please edit/remove this post if this is against the rules.
All credit to OP. I've just updated it to be compatible with recent version of vblulletin. ( Simple fix )
The fix posted above works on both errors mentioned on this thread, installed on 4.1.5 PL1 with allow overwrite checked in the upload plug-in form.
great mod btw!
thenashy
09-09-2011, 02:22 AM
Update for 4.1.5. I don't go an buy a TV and have to fix it when I first buy it.
rollerman
09-10-2011, 01:04 AM
Looks like a very cool mod. I like the concept a lot, even though I don't think I would have to use it much on my board, but it's always nice to have another tool in the box when you need one.
As I'll be doing some much-delayed upgrading this weekend, I'll try to give it a shot on the latest and report back. That's on the list with about 478 other things to do, but I'll try.
RedDevil
09-25-2011, 07:03 AM
On feature would be nice logging who uses it in mods log, currently unable to track who dunnit.
steeler7
09-27-2011, 07:53 PM
Any word on the Moderator Permissions for this? Has anyone that has installed this hack, figure out a way to allow for Moderators?
sdebank
10-01-2011, 08:39 AM
Is this mod dead? Shame as it looks handy.
Daman01
01-12-2012, 11:28 AM
So, open the xml file in a text editor, go to line 62 and change it from ...
<img src="/images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">
to
<img src="images/site_icons/ignore.png" alt="{vb:rawphrase btu_unban}">
Save, and reinstall.
Thank you, that fixed the problem.
GameOverViper
01-12-2012, 07:51 PM
Looks like a mod that would be put to good use on one of my forums if it were updated to the latest version of vbulletin.
barcena
05-10-2012, 07:14 AM
Is it possible to ban Guests?
By IP maybe from a thread?
GameOverViper
05-27-2012, 06:00 PM
Is it possible to ban Guests?
By IP maybe from a thread?
You can ban guests by finding there IP in the users online now section at the bottom of your forum. There's a mod that I've seen as well that allows you to ban certain users from a specific thread. However, if you just want to ban all guests from viewing a forum/thread, change the forum permissions for that forum.
Raakin
06-15-2012, 07:25 PM
vB 4.1.5
Cannot view 'Clear this thread bans', 'Clear all thread bans' & 'View All Thread Bans' links in the Administrative tools.
Any fix for this?
Pure Dope
06-20-2012, 05:28 PM
work for 4.2?
Toshinobu
06-20-2012, 06:47 PM
work for 4.2?
I tested it in 4.2 and the menu option in the screenshot below doesn't appear.
https://vborg.vbsupport.ru/attachment.php?attachmentid=126755&d=1297946220
However, I tried banning a user from a thread and received a confirmation message. I didn't actually test if the user could post in the thread though after being banned.
Looks like the mod will need to be updated regardless.
jluerken
09-12-2012, 07:43 AM
Waiting also for an update for 4.2.x.
Interesting addon
Danny M
02-08-2013, 09:29 AM
Please update for 4.2
titan90
02-17-2013, 04:10 PM
Using in 4.2 and it works - with some of the errors already posted.
Donated some funds to the dev. Would really like to see some upgrades and additions to this mod.
vsforums
09-10-2013, 12:42 PM
Will this mod work on 4.1.8? :)
yesfans
09-10-2013, 09:42 PM
I wish someone would tidy up the issues in this mod and update it for the latest 4.x.x. This is an awesome tool I would love to use.
Bubble #5
09-13-2013, 12:43 AM
4.2.1
Receiving this error at the top of the forum:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4591
Parse error: syntax error, unexpected T_STRING in /home/loveforum/public_html/4um/postings.php(208) : eval()'d code(92) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 4591
Can anyone figure this out? :confused:
Paul.
10-30-2013, 08:57 PM
I get the error shown above, only when I view who is banned from a thread.
Other than that, works fine on 4.2.0 PL3
dawges
10-31-2013, 02:54 AM
Thanks! Works for me on 4.2.0 just fine. Not sure what i did right or wrong but it works for me and this is just what i needed.
Barcham
01-28-2014, 01:39 AM
Just installed on 4.2.2 and it works perfectly. This is one of those perfect mods for my board because I have a sports discussion section on my board and some people get a bit over heated at times. This will allow me to lock them out of the particular thread for a couple of days and give them time to cool off. The only extra option I'd like to see would be a way to set the length of the ban when you hand it out. It would save a bit of time having to check every day to see if you have a ban to lift or not.
But even without that option, it's still an excellent hack and very much appreciated!!!
sevenmix
01-28-2014, 03:44 PM
How to make this work with tapatalk?
ozzy47
01-28-2014, 03:47 PM
Request tapatalk to support the functionality. It is not a issue with the mod.
4.2.1
Receiving this error at the top of the forum:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]/includes/functions.php on line 4591
Parse error: syntax error, unexpected T_STRING in /home/loveforum/public_html/4um/postings.php(208) : eval()'d code(92) : eval()'d code on line 1
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in [path]/includes/functions.php on line 4591Can anyone figure this out? :confused:
I have this problem too on 4.2.2
Barcham
03-13-2014, 10:38 PM
I tested it in 4.2 and the menu option in the screenshot below doesn't appear.
https://vborg.vbsupport.ru/attachment.php?attachmentid=126755&d=1297946220
However, I tried banning a user from a thread and received a confirmation message. I didn't actually test if the user could post in the thread though after being banned.
Looks like the mod will need to be updated regardless.
After further testing, I have the same problem as the quoted user. I have no way to see who is banned from any thread. The only way to keep track of them is with a note in my admin panel or to have a thread going where I list thread banned members. I can confirm, however, that the member is indeed banned from posting in the thread.
It's still a useful hack but will take a bit of care to keep track of the banned members. If anyone gets around to doing some work on this mod, I wonder if it would be possible to list at either the top or bottom of the thread the members who are banned from posting in the thread. That would make it perfect!
mort2412
06-10-2014, 05:55 PM
For those not being able to see the extra 3 options from Administrative menu did you read the README.txt file and add:
<vb:if condition="$show['btu_canban']">
<li><label><input type="radio" name="do" id="ao_btu" value="btu_clear" /> {vb:rawphrase btu_clear}</label></li>
<li><label><input type="radio" name="do" id="ao_btua" value="btu_clear_all" /> {vb:rawphrase btu_clear_all}</label>/li>
<li><label><input type="radio" name="do" id="ao_btuv" value="btu_view_all" /> {vb:rawphrase btu_view_all}</label>/li>
</vb:if>
in SHOWTHREAD below:
<vb:if condition="$show['openclose']">
<li><label><input type="radio" name="do" value="openclosethread" checked="checked" tabindex="1" />
<vb:if condition="$show['closethread']">{vb:rawphrase close_thread}<vb:else />{vb:rawphrase open_thread}</vb:if></label></li>
</vb:if>
I'm using 4.2.2PL1 and everything is working as it should. Hope this helps!!
Wajow-community
06-14-2014, 03:11 PM
Can i use it for vbulletin 4.2.1?
Wseries
06-16-2014, 08:49 AM
However, there is a simple work-around that will allow your moderators to ban users from threads - but it's kinda tricky.
This seems like a contradictory statement. Is it simple or tricky? I notice the developer has not been online since February 2013, so we may never know. I like a lot of other people would like to let moderators access this function. Anyone know of the work-around the author mentioned?
Wseries
06-16-2014, 08:52 AM
I have this problem too on 4.2.2
To easily eliminate the error, use the XML file provided in post #45 (https://vborg.vbsupport.ru/showpost.php?p=2182061&postcount=45) of this thread.
Wseries
06-16-2014, 09:08 AM
This is how I fixed the mis-aligned icon and text in the postbit popup menu.
REPLACE the 'btu_link' template with:
<vb:if condition="$show['btu_canban']">
<li class="left">
<a href="postings.php?{vb:raw session.sessionurl}do=btu_ban&t={vb:raw tredotid}&u={vb:raw juserid}" rel="nofollow" class="siteicon_ignore">Thread Ban/Unban</a>
</li>
</vb:if>
ADD the following code to the popupmenu.css template:
.memberaction_body.popupbody li .siteicon_ignore {
background:url({vb:stylevar imgdir_siteicons}/ignore.png) {vb:stylevar left} 2px no-repeat;
}
https://vborg.vbsupport.ru/external/2016/07/10.png
LordVader!
06-16-2014, 11:54 AM
tryed this, but it's still looking the same as before.
Haseenvilla
06-27-2014, 08:24 AM
Nyc Work great
Thanks for this useful mod :)
thetechgenius
08-26-2014, 11:32 PM
I have a suggestion for a feature for this mod.
You should add an option to Ban a user from a thread, but still allow them to see the thread and thread content, just not be able to make anymore posts in that thread.
Right now, the banned user cannot access the thread content at all. You would just be adding a feature. Sound good?
CILGINKRAL_
12-04-2014, 08:11 PM
4.2 does not work in version. :(
rwurbanwildlife
01-04-2015, 02:37 PM
I cannot find the mod in admin panel to make changes
ozzy47
01-04-2015, 02:40 PM
There is no settings for the mod. Simply import the XML, then do the edits described in the README text file.
the one
01-27-2015, 09:21 AM
Ok i am sorry for asking this but i am new to uploading stuff
Can i ask the images for this what file do i upload them to in my cpanel
Many thanks
Shell x
Ok i am sorry for asking this but i am new to uploading stuff
Can i ask the images for this what file do i upload them to in my cpanel
Many thanks
Shell x
The images are screen grabs just so that you can see what the mod looks like before installing it. You don't need to upload the images.
Eisheth
05-20-2015, 11:29 AM
Does anyone know if this works on 4.2.x?
JesWhite
02-03-2016, 07:00 AM
Does anyone know if this works on 4.2.x?
i'waiting to but again i'm waiting for like forum permission..
i want to disable to a user reply to a single forums
or cant see a forum easy way to edit users on admincp..
attroll
02-03-2016, 10:06 AM
Does anyone know if this works on 4.2.x?
I have this working on vb 4.2.4
SpaceChronology
04-06-2016, 09:27 AM
Does anyone know if this works on 4.2.x?
It works on 4.2.3
attroll
04-06-2016, 01:10 PM
It works on 4.2.3
Works fine for me.
i got this error when i want to show who is in ban list on thread
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected 'navbar' (T_STRING) in /*/*/*/*/*/postings.php(208) : eval()'d code(92) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in ..../includes/functions.php on line 4602
boggseric
06-22-2016, 01:04 AM
i got this error when i want to show who is in ban list on thread
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in ..../includes/functions.php on line 4602
Parse error: syntax error, unexpected 'navbar' (T_STRING) in /*/*/*/*/*/postings.php(208) : eval()'d code(92) : eval()'d code on line 2
PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: btu_bans in ..../includes/functions.php on line 4602
I got similar errors after upgrading PHP to 5.6
babyv0x
07-19-2016, 11:48 PM
This is how I fixed the mis-aligned icon and text in the postbit popup menu.
REPLACE the 'btu_link' template with:
<vb:if condition="$show['btu_canban']">
<li class="left">
<a href="postings.php?{vb:raw session.sessionurl}do=btu_ban&t={vb:raw tredotid}&u={vb:raw juserid}" rel="nofollow" class="siteicon_ignore">Thread Ban/Unban</a>
</li>
</vb:if>
ADD the following code to the popupmenu.css template:
.memberaction_body.popupbody li .siteicon_ignore {
background:url({vb:stylevar imgdir_siteicons}/ignore.png) {vb:stylevar left} 2px no-repeat;
}
https://vborg.vbsupport.ru/external/2016/07/10.png
Work fine for me 4.2.2 . Thanks :up:
mobster46
01-30-2017, 03:34 PM
How can I give a ban for 1 day/week etc?
MarkFL
01-30-2017, 06:27 PM
How can I give a ban for 1 day/week etc?
From reading the product description, it appears this kind of feature is not included. You will likely have to manually un-ban users after the desire period of time. :)
mobster46
02-02-2017, 07:06 PM
From reading the product description, it appears this kind of feature is not included. You will likely have to manually un-ban users after the desire period of time. :)
Can you arrange the attachment to provide the function I mentioned?
MarkFL
02-02-2017, 07:22 PM
Can you arrange the attachment to provide the function I mentioned?
This isn't my product, and the product is not marked as "Reusable Code", so no I cannot offer an update to this product.
Perhaps at some point I will offer my own product to do what you are asking, but I can't make any promises. :)
mobster46
02-02-2017, 07:37 PM
This isn't my product, and the product is not marked as "Reusable Code", so no I cannot offer an update to this product.
Perhaps at some point I will offer my own product to do what you are asking, but I can't make any promises. :)
I understand. If you do not mind, I would like to learn your solution. I will be waiting for news from you. Thanks for everything.
MarkFL
02-02-2017, 07:42 PM
I understand. If you do not mind, I would like to learn your solution. I will be waiting for news from you. Thanks for everything.
Well, I would have to create my own product from scratch...and this is a time consuming process. ;)
mobster46
02-02-2017, 07:46 PM
Well, I would have to create my own product from scratch...and this is a time consuming process. ;)
Life is long :) I am curious. Good work. Thanks for everything
albatros23
02-02-2018, 06:51 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=188670" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=188670</a>
can anyone help me ? i uploaded and working. but how can block users see ban reason?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.