The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Generate a variable usable in templates
Hello,
I need a variable which i can insert into the navbar template. I want to use the plugin system of 3.6.7. The variable should only be generated if a user is logged in. I thougth this should work: Plugin: hook: parse_templates PHP Code:
HTML Code:
<if condition="$bbuserinfo['userid'] >= 0"> <td class="vbmenu_control"><a href="http://domain/index.php?VAR=$htSid">My link</a></td> </if> Thanks for your help in advance |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|