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)

attroll 02-03-2016 10:06 AM

Quote:

Originally Posted by Eisheth (Post 2545958)
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

Quote:

Originally Posted by Eisheth (Post 2545958)
Does anyone know if this works on 4.2.x?

It works on 4.2.3

attroll 04-06-2016 01:10 PM

Quote:

Originally Posted by SpaceChronology (Post 2568551)
It works on 4.2.3

Works fine for me.

WxP 05-07-2016 03:41 PM

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

Quote:

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

Quote:

Originally Posted by Wseries (Post 2502162)
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

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

Quote:

Originally Posted by mobster46 (Post 2581537)
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

Quote:

Originally Posted by MarkFL (Post 2581542)
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

Quote:

Originally Posted by mobster46 (Post 2581714)
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. :)


All times are GMT. The time now is 01:18 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.01230 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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