XF 1.4 Move Username, Inbox, and Alerts Dropdowns to Moderation Bar

Amaury

Well-known member
So I'm working on a new style exclusively for our site and one user made the suggestion to move the above mentioned dropdowns to the moderation bar. How can I accomplish this? I know it'd at least involve the moderator_bar and navigation_visitor_tab templates, but I'm not exactly sure how to go about it.

Thanks for any help!
 
We seem to have run into a bit of a problem (@Russ, maybe you can help).

@mike406 pointed out that regular users can't see the dropdowns due to how permissions are setup in that regular users can't view the moderator bar. Obviously, we don't want to be giving them moderator permissions, so how can we work around this?
 
what conditionals do you have in the page_container for the login and mod bar?

Code:
<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>
<xen:comment><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></xen:comment>
 
Top Bottom