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

Discussion in 'Styling and Customization Questions' started by Malcolm M, Oct 6, 2015.

  1. Malcolm M

    Malcolm M Active Member

    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.
     
  2. Malcolm M

    Malcolm M Active Member

    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/
     

Share This Page