• 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?

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?

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