The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 .. because the condition only work on postbit_legacy .. thanks all |
#2
|
||||
|
||||
Try: <vb:if condition="$thread['closethread']">
|
#3
|
|||
|
|||
|
#4
|
||||
|
||||
Have you looked to see if that variable is available for use in the threadbit template?
|
#5
|
|||
|
|||
no Lynne, i try use it for custom template ..
|
#6
|
||||
|
||||
You'd have to register it for the custom template then
|
#7
|
|||
|
|||
|
#8
|
||||
|
||||
You can read this article on, Rendering templates and registering variables.
https://vborg.vbsupport.ru/showthread.php?t=228078 |
#9
|
|||
|
|||
SOLVED !!
with this <vb:if condition="!$thread['open']"> XXX </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|