PDA

View Full Version : how to make <vb:if condition="$show['closethread']"> work on threadbit ..?


Muhammad Rahman
02-20-2014, 07:26 AM
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
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
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
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>