Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Ban Users From a Thread Details »»
Ban Users From a Thread
Version: 2.00, by AcidX AcidX is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Moderators Functions - Version: 4.1.0 Rating:
Released: 02-16-2011 Last Update: 02-16-2011 Installs: 231
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

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, 3.6, 3.7


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 ( 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

Download Now

File Type: zip btu-4.0.zip (190.3 KB, 1501 views)

Screenshots

File Type: jpg 1.jpg (51.0 KB, 0 views)
File Type: jpg 2.jpg (23.7 KB, 0 views)
File Type: jpg 3.jpg (50.3 KB, 0 views)
File Type: jpg 4.jpg (19.9 KB, 0 views)
File Type: jpg 5.jpg (22.4 KB, 0 views)
File Type: jpg 6.jpg (46.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
gagan007, Kzyl-orda, StormBreaker

Comments
  #82  
Old 01-28-2014, 01:39 AM
Barcham Barcham is offline
 
Join Date: Jan 2014
Location: Montreal
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!
Reply With Quote
  #83  
Old 01-28-2014, 03:44 PM
sevenmix's Avatar
sevenmix sevenmix is offline
 
Join Date: Apr 2009
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How to make this work with tapatalk?
Reply With Quote
  #84  
Old 01-28-2014, 03:47 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Request tapatalk to support the functionality. It is not a issue with the mod.
Reply With Quote
  #85  
Old 01-30-2014, 09:17 AM
WxP's Avatar
WxP WxP is offline
 
Join Date: Dec 2005
Location: Albania
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5 View Post
4.2.1

Receiving this error at the top of the forum:

Code:
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?
I have this problem too on 4.2.2
Reply With Quote
  #86  
Old 03-13-2014, 10:38 PM
Barcham Barcham is offline
 
Join Date: Jan 2014
Location: Montreal
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Toshinobu View Post
I tested it in 4.2 and the menu option in the screenshot below doesn't appear.

https://vborg.vbsupport.ru/attachmen...5&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!
Reply With Quote
  #87  
Old 06-10-2014, 05:55 PM
mort2412 mort2412 is offline
 
Join Date: Jun 2012
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those not being able to see the extra 3 options from Administrative menu did you read the README.txt file and add:

PHP Code:
<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:

PHP Code:
<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!!
Reply With Quote
  #88  
Old 06-14-2014, 03:11 PM
Wajow-community Wajow-community is offline
 
Join Date: Dec 2009
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can i use it for vbulletin 4.2.1?
Reply With Quote
  #89  
Old 06-16-2014, 08:49 AM
Wseries Wseries is offline
 
Join Date: May 2008
Location: Sydney, Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AcidX View Post
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?
Reply With Quote
  #90  
Old 06-16-2014, 08:52 AM
Wseries Wseries is offline
 
Join Date: May 2008
Location: Sydney, Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WxP View Post
I have this problem too on 4.2.2
To easily eliminate the error, use the XML file provided in post #45 of this thread.
Reply With Quote
  #91  
Old 06-16-2014, 09:08 AM
Wseries Wseries is offline
 
Join Date: May 2008
Location: Sydney, Australia
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is how I fixed the mis-aligned icon and text in the postbit popup menu.

REPLACE the 'btu_link' template with:

Code:
<vb:if condition="$show['btu_canban']">
<li class="left">
			<a href="postings.php?{vb:raw session.sessionurl}do=btu_ban&amp;t={vb:raw tredotid}&amp;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:

Code:
.memberaction_body.popupbody li .siteicon_ignore { 
	background:url({vb:stylevar imgdir_siteicons}/ignore.png) {vb:stylevar left} 2px no-repeat; 
}

Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:41 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
  • Page Generation 0.06420 seconds
  • Memory Usage 2,364KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete