The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Sending showthread variables to Navbar
Hello. I was reading a lof of threads, but i cant find the help what i need.
What i need it's send some variables created in showthread, as example $thread['forumid'] to the template navbar to use it there. can someone give a small light to do this? Thank you. --------------- Added [DATE]1383172132[/DATE] at [TIME]1383172132[/TIME] --------------- I can print this variable on the template navbar: {vb:raw GLOBALS.thread.myvar} But how use that var as a template conditional? I'm not getting ressult if i try: <vb:if condition=$GLOBALS[thread.myvar]> What it's the correct sintaxis? --------------- Added [DATE]1383184990[/DATE] at [TIME]1383184990[/TIME] --------------- Ok, found the correct sintaxis and i hope that it help to others. It's <vb:if condition=$GLOBALS[thread][myvar]> That let me use any fields of the table thread as conditionals in the navbar template. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|