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

Members Tab only for moderators

#1
Hello,

Is it possible to set the members tab only visible for moderators? So registered users or guests couldn't see members lists?

Thanks in advance
 

Digital Doctor

Well-known member
#5
http://xenforo.com/community/threads/hide-member-list-from-guests.15407/

You can adapt that using the moderator conditional:

How can I show content to Moderators only?
<xen:if is="{$visitor.is_moderator}">
This content will show to Moderators only
</xen:if>

http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-182355
<xen:if is="{$visitor.is_administrator}">
This content will show to Administrators only
</xen:if>

Q: Can I show the Members Tab to just Administrators ?
Yet still allow ... Recent Activity and Current Visitors links (which will be somewhere in the Forum Tab) to work ?
 

Brogan

XenForo moderator
Staff member
#6
Hiding the Members tab to all users except Administrators won't affect the content of those other links.
You will have to manually add them to the navigation bar though to make them accessible.
 
F

Floris

Guest
#8
Btw, I wrote a tiny plugin for another site to limit members/ route to super-admins, and redirects other users back to index. I will release it on xenfans in a few minutes. I found the files again.