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

ModeratorBar to Appear for Guests?

Discussion in 'XenForo Questions and Support' started by Carlos B, Apr 6, 2012.

  1. Carlos B

    Carlos B Member

    I am trying to get my moderatorbar to show for all vistors/members/staff etc. At the moment it shows for everyone except guests that are not signed in. How can I make it visible for them as well?
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Admin CP -> Appearance -> Templates -> PAGE_CONTAINER

    You can modify or remove the condition to display the bar for everyone:

    <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" />
    For example, replacing the above code with just this will display the bar for everyone:

    	<xen:include template="moderator_bar" />
    But there are also admin / mod conditions in this template for showing admin / mod content inside of the bar:

    Admin CP -> Appearance -> Templates -> moderator_bar

Share This Page