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

XF 1.5 Moderation Bar

Malcolm M

Active member
#1
Hello Everyone!

I have a question on how to make the moderator bar viable to everyone. I kind of have an idea on how to do this but not 100%. Now, you may say this is a security issue, but I'm hoping to only make moderating tools visible to moderators.
 

Malcolm M

Active member
#2
Solved...

PAGE_CONTAINER
Replace
<xen:if is="{$visitor.is_moderator} || {$visitor.is_admin}">
<xen:include template="moderator_bar" />
<xen:elseif is="!{$visitor.user_id} && !{$hideLoginBar}" />
<xen:include template="login_bar" />
</xen:if>

with
<xen:if is="{$visitor.user_id}">
<xen:include template="moderator_bar" />
<xen:elseif is="!{$visitor.user_id} && !{$hideLoginBar}" />
<xen:include template="login_bar" />
</xen:if>



Also seen here: https://xenforo.com/community/resources/moving-visitor-tabs-to-the-moderator-bar.470/