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

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.
 
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.

Like this:

http://xenforo.com/community/threads/how-to-add-a-new-tab-in-the-navbar.7781/

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

Rich (BB code):
		<xen:if is="{$visitor.user_id}">
		<!-- mytab -->
		<li class="navTab PopupClosed"><a href="LINK" class="navLink">TAB LABEL</a></li>
		</xen:if>

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.

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.webp

That will make it so guests can't access any forum pages at all.
 
Top Bottom