I am starting to see what is wrong. These are template plugins, not php plugins.
I tried surrounding the Navbar tab plugin stuff with
if (vb::$vbulletin->options[styleid] !== '9') return; Didn't work. I know why
---
if (vb::$vbulletin->options[styleid] == '9') Didn't work, don't know why
{
plugin code
}
---
and last but not least, when I realized this was a template plugin:
<vb:if condition = "$bbuserinfo['userid'] == 1"> Doesn't work, don't know why
plugin code
</vb:if>
Parse error: syntax error, unexpected '<'
On a PHP eval page, this works: $output = vb::$vbulletin->options[styleid];
|