PDA

View Full Version : Adding a template conditional to the navbar


Sovereign
08-11-2005, 12:46 AM
I have installed a support system for paying customers of "Hack My vB," a small service I am now offering. However, I want the link to the support system to only show for members of the Admin and Hack My vB Premium Members usergroups. How would I do this?

Tony G
08-11-2005, 05:04 AM
Something like <if condition="$bbuserinfo[usergroupid]==x"><a href="link bla bla"></a></if>

You'd have to replace 'x' with the usergroup number that you want the link to appear for. You can find those in your Admin CP. Then place it in the relevant spot in your navbar template.

Sovereign
08-11-2005, 02:56 PM
Thanks!