vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   how to make <vb:if condition="$show['closethread']"> work on threadbit ..? (https://vborg.vbsupport.ru/showthread.php?t=308627)

Muhammad Rahman 02-20-2014 07:26 AM

how to make <vb:if condition="$show['closethread']"> work on threadbit ..?
 
i have problem ..
how to make <vb:if condition="$show['closethread']"> work on threadbit template .. :confused:

because the condition only work on postbit_legacy ..
thanks all

mokujin 02-20-2014 11:01 AM

Try: <vb:if condition="$thread['closethread']">

Muhammad Rahman 02-20-2014 02:18 PM

Quote:

Originally Posted by mokujin (Post 2482608)
Try: <vb:if condition="$thread['closethread']">

not working ,,

Lynne 02-20-2014 05:16 PM

Have you looked to see if that variable is available for use in the threadbit template?

Muhammad Rahman 02-21-2014 11:23 PM

Quote:

Originally Posted by Lynne (Post 2482718)
Have you looked to see if that variable is available for use in the threadbit template?

no Lynne, i try use it for custom template ..

Zachery 02-22-2014 02:08 AM

You'd have to register it for the custom template then

Muhammad Rahman 02-22-2014 03:24 AM

Quote:

Originally Posted by Zachery (Post 2482961)
You'd have to register it for the custom template then

but how?

ozzy47 02-22-2014 09:56 AM

You can read this article on, Rendering templates and registering variables.

https://vborg.vbsupport.ru/showthread.php?t=228078

Muhammad Rahman 02-25-2014 01:49 AM

SOLVED !!

with this <vb:if condition="!$thread['open']"> XXX </vb:if>


All times are GMT. The time now is 05:04 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.01154 seconds
  • Memory Usage 1,724KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete