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

Hide members link for guests?

Discussion in 'XenForo Questions and Support' started by Bellinis, Nov 13, 2011.

  1. Bellinis

    Bellinis Active Member

    How can I hide the members link in the navbar for guests and how can I totally prevent the "Registered Members"-list to be accessible for guests/bot's?

    I've set all privacy settings to members only, but for guests and bot's I want no access at all to the memberslist.
    What can I do? :)
  2. M@rc

    M@rc Well-Known Member

  3. M@rc

    M@rc Well-Known Member

    Admin Control Panel -> Appearance -> Styles & Templates -> Templates -> navigation

    Find :

    <!-- members -->
    <xen:if is="{$tabs.members}">
    <li class="navTab members {xen:if $tabs.members.selected, 'selected', 'Popup PopupControl PopupClosed'}">
    <a href="{$tabs.members.href}" class="navLink">{$tabs.members.title}</a>
    <a href="{$tabs.members.href}"></a>
    <div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}">
    <div class="primaryContent menuHeader">
    <div class="muted">{xen:phrase quick_links}</div>
    <ul class="secondaryContent blockLinksList">
    <xen:hook name="navigation_tabs_members">
    <li><a href="{xen:link members}">{xen:phrase registered_members}</a></li>
    <li><a href="{xen:link online}">{xen:phrase current_visitors}</a></li>
    <xen:if is="{$xenOptions.enableNewsFeed}"><li><a href="{xen:link recent-activity}">{xen:phrase recent_activity}</a></li></xen:if>

    Follow the below advice from the FAQ

    Bellinis likes this.
  4. Bellinis

    Bellinis Active Member

    Got it, thanks!

Share This Page