The Grand Potentate
Well-known member
Adam Howard updated Remove Members List with a new update entry:
Let's remove members list link in your Quick Navigation Menu (the forgotten step)
Read the rest of this update entry...
This didn't seem to work
Adam Howard updated Remove Members List with a new update entry:
Let's remove members list link in your Quick Navigation Menu (the forgotten step)
Read the rest of this update entry...
This didn't seem to work
This was tested on the default theme. The code can be different on customized themes. You will need to consult the theme developer.
Re-read the instructions. Everything is there.@Adam Howard Where is the option to get rid of the Members tab from the Nav Bar?
Notable members uses few resources.It is turned off by default, only notable members are showing. Does notable members eat a lot of resources too or I can leave it, because when I take a look at the code its the same removal that can be done to it.
<!-- 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}" class="SplitCtrl" rel="Menu"></a>
<div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'} membersTabLinks">
<div class="primaryContent menuHeader">
<h3>{$tabs.members.title}</h3>
<div class="muted">{xen:phrase quick_links}</div>
</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>
</xen:hook>
</ul>
</div>
</li>
</xen:if>
<!-- 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}" class="SplitCtrl" rel="Menu"></a>
<div class="{xen:if {$tabs.members.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}">
<div class="primaryContent menuHeader">
<h3>{$tabs.members.title}</h3>
<div class="muted">{xen:phrase quick_links}</div>
</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>
</xen:hook>
</ul>
</div>
</li>
</xen:if>
<xen:comment>
</xen:comment>
.navTabs .navTab.members.PopupClosed
{
display: none;
}
<li><a href="{xen:link members}">{xen:phrase registered_members}</a></li>
<xen:comment>
</xen:comment>
<xen:comment><li><a href="{xen:link members}">{xen:phrase registered_members}</a></li></xen:comment>
<xen:h1>{xen:phrase registered_members}</xen:h1>
<xen:if is="!{xen:helper ismemberof, $visitor, $member}">
<xen:h1>{xen:phrase registered_members}</xen:h1>
<xen:if is="!{xen:helper ismemberof, $visitor, $member}">
</xen:sidebar>
<xen:else />
The Administrator has turned off this feature.
</xen:if>
</xen:sidebar>
<xen:else />
The Administrator has turned off this feature.
</xen:if>
RedirectMatch 301 ^/forums/members/?$ /forums/
RedirectMatch 301 ^/community/members/?$ /community/
return $router->getRouteMatch('XenForo_ControllerPublic_Member', $action, 'members')
return $router->getRouteMatch('XenForo_ControllerPublic_Online', $action, 'members');
return $router->getRouteMatch('XenForo_ControllerPublic_RecentActivity', 'index', 'members');
'members');
'forums');
So originally this was discontinued after XenForo 1.2.x because you can simply turn off the members list using settings.
However, after wave upon wave of post and mostly PM's (private messages) of people asking (sometimes demanding) that I continue this with an update, to remove The Notable Member List.... I decided to give what the people want (you're welcome).
I have not fully tested this update and you should try this on a test site first. Just as you should read resource update notices before applying anything (and not doing so is stupid).
If you're bold enough (crazy enough) to try this on your life site without testing... Backup. If you don't, the fault is yours.
Enjoy![]()
Notable Members uses so very few resource, that its negligible. It's safe to leave it.It is turned off by default, only notable members are showing. Does notable members eat a lot of resources too or I can leave it, because when I take a look at the code its the same removal that can be done to it.
XenForo's TMS is very picky when it comes to the spacing... ie... Everything has to match exactly.@Adam Howard Any reason why the template mod for commenting out the navigation template wouldn't take? I've tried it about 4 different times and it always comes up 0/4/0 and the test never works either. I know what its supposed to do, I just can't get the TM system to do it.
1234
1234
Do you have any other add-ons or template edits that could be conflicting?That was my first thought as well, but it didn't work either. Maybe it has something to do with my browser. I just went ahead and did it manually. Maybe after the next update if I can't get it again I'll reach out. Thanks for the offer.
If you send me a PM I can take a look.Yeah, different styles, but the mod wasn't even picking up the default style. No biggie. Just thought I'd see what you had to say.
So if you're coping and pasting from this "guide" and the spacing isn't matching.... Because sometimes browsers are funny not to pick it up.... Navigate to YOUR own navigation template (not just from within the TMS), copy the code from there and past it into the tms.
That was my first thought as well, but it didn't work either. Maybe it has something to do with my browser. I just went ahead and did it manually. Maybe after the next update if I can't get it again I'll reach out. Thanks for the offer.
We use essential cookies to make this site work, and optional cookies to enhance your experience.