PDA

View Full Version : Add "vbulletin condition" in a templare via Plugin


Jhonnyf
01-06-2009, 01:30 AM
Hello, I try to do that, using this form

hook: global_star

$vbulletin->templatecache['navbar'] = '<h1>... $bbuserinfo[userid]</h1>' . '<if condition=\"$bbuserinfo[userid]\"> ' . $vbulletin->templatecache['navbar'] . '</if>' ;


but, in HTML source code i see

<h1>... </h1><if condition="">


---------------
It's Possible do that? o a need use another template, use the 'eval template', and after, add that?

how can I do that?

Thank You

Dismounted
01-06-2009, 02:49 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=151332" target="_blank">[How-To] Plugins for Template Edits (Adv. Version)</a>