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

XF 1.4 Remove "Signed in as..." sidebar block


After logged in there have a block appear first on the sidebar and display the logged-in member info. That block is absolutely unnecessary and I would like to remove it. Screenshot:

Please guide me on this.

Thank you.


Well-known member
In sidebar_visitor_panel template remove:
<div class="section visitorPanel">
    <div class="secondaryContent">
        <xen:avatar user="$visitor" size="m" img="true" />
        <div class="visitorText">
            <h2>{xen:phrase signed_in_as_x_sidebar, 'name={xen:helper username, $visitor, 'NoOverlay'}'}</h2>       
            <div class="stats">
            <xen:hook name="sidebar_visitor_panel_stats">
                <dl class="pairsJustified"><dt>{xen:phrase messages}:</dt> <dd>{xen:number $visitor.message_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase likes}:</dt> <dd>{xen:number $visitor.like_count}</dd></dl>
                <dl class="pairsJustified"><dt>{xen:phrase points}:</dt> <dd>{xen:number $visitor.trophy_points}</dd></dl>

<xen:else />
Add an exclamation point to the xen:if so it looks like:
<xen:if is="!{$visitor.user_id}">
Save the template.