1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Possible to hide Navigation items from Guests and only show to Members?

Discussion in 'XenForo Questions and Support' started by Deepmartini, Nov 11, 2011.

  1. Deepmartini

    Deepmartini Well-Known Member

    Just wondering if this was possible somehow? I want to create some page nodes and include them in the navigation but ONLY want to show them to users that are logged in. Also might want to hide the Forums tab for guests as I would be using the software as a private site for logged in members only and don't want guests to be able to navigate around or know whats inside or in the menu system.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Like this:


    But you can surround it with a condition for registered users:

    		<xen:if is="{$visitor.user_id}">
    		<!-- mytab -->
    		<li class="navTab PopupClosed"><a href="LINK" class="navLink">TAB LABEL</a></li>
    You can do that with permissions:

    Admin CP -> Users -> List User Groups -> Unregistered / Unconfirmed -> View

    Screen shot 2011-11-13 at 2.46.27 PM.png

    That will make it so guests can't access any forum pages at all.
    Deepmartini likes this.

Share This Page