vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Moderators Functions - Ban Users From a Thread (https://vborg.vbsupport.ru/showthread.php?t=259017)

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.

WxP 01-30-2014 09:17 AM

Quote:

Originally Posted by Bubble #5 (Post 2445248)
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? :confused:

I have this problem too on 4.2.2

Barcham 03-13-2014 10:38 PM

Quote:

Originally Posted by Toshinobu (Post 2341537)
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!

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:

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

Wajow-community 06-14-2014 03:11 PM

Can i use it for vbulletin 4.2.1?

Wseries 06-16-2014 08:49 AM

Quote:

Originally Posted by AcidX (Post 2164876)
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

Quote:

Originally Posted by WxP (Post 2477919)
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.

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:

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;
}


https://vborg.vbsupport.ru/external/2016/07/10.png


All times are GMT. The time now is 09:58 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
  • Page Generation 0.01172 seconds
  • Memory Usage 1,758KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete