Announcement

Collapse
No announcement yet.

Navbar item, but only for logged in users.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Navbar item, but only for logged in users.

    Hello,

    I added a couple of links in my navbar using this thread:

    http://www.vbulletin.com/forum/showt...ghlight=navbar

    However, I would like to add a link which only shows up if the user is logged in, like the Usercp link.

    How do I do that?

    Thank you.

  • #2
    Any ideas for me to try?

    Thank you!

    Comment


    • #3
      Bump!

      Help.

      Comment


      • #4
        Code:
         [LEFT]<if condition="$show('member')">
        <a href="linkurlgoeshere">linktextgoeshere</a></if>
        Try this:
        [/LEFT]

        Comment


        • #5
          Thank you!

          I used:

          PHP Code:
          <if condition="$show['member']">
                                  <
          td class="vbmenu_control"><a href="LinkHere">Link Title</a></td>
                          </if> 
          Without the td class, the menu item will not be part of the menu bar, but out side of it.

          Thanks again.

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X