Log in

View Full Version : Navbar link question


sherrym
06-29-2009, 02:15 AM
I would like to add a text link to my Navbar, however, I would like to have the new link only visible when a member logs in. This would be similar to the Usercp. Using version 3.8.3

Thanks for any help,
Sherry

TheLastSuperman
06-29-2009, 02:30 AM
In Navbar template (OR some custom styles have their nabar links in header template) just add this:

<if condition="$show['member']">Your Code here</if>


So for example:

<if condition="$show['member']"><a href="http://www.vbulletin.org">Check us out on vBulletin.org!</a></if>


S-MAN

sherrym
06-29-2009, 02:48 AM
Thank you!

I'll try that now.

Sherry

--------------- Added 1246248153 at 1246248153 ---------------

In Navbar template (OR some custom styles have their nabar links in header template) just add this:

<if condition="$show['member']">Your Code here</if>


So for example:

<if condition="$show['member']"><a href="http://www.vbulletin.org">Check us out on vBulletin.org!</a></if>


S-MAN

Just a small change for anyone who needs this:

<if condition="$show['member']"><td class="vbmenu_control"><a href="http://www.vbulletin.org">Check us out on vBulletin.org!</a></if>

Had to add <td class="vbmenu_control">

Thanks again for your help!

Sherry