Is there any way to use vb if statements with this mod?
I tried wrapping certain links under the custom tab in the
Code:
<vb:if condition="$show['modcplink']">
*stuff here*
</vb:if>
(I only wish admins/mods to be able to see a certain link)
but it completely breaks this plugin, you get a
Quote:
Parse error: syntax error, unexpected T_STRING in /home/anseur/public_html/vb4test/includes/class_bootstrap.php(386) : eval()'d code on line 23
|
message from vb at the top of the custom page.
Does perhaps some other function have to be called in either this or the .php page in question? (I'm using the custom php page Lynne posted an article on in conjunction with this plugin)
the same vb if statement works if I put it elsewhere within a template that apears on the page, but I would like the link in question to be in the navbar and not in the body.