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

XF 1.3 Remove Users Stats from sidebar

denisx04

Active member
#1
I have it removed on my other theme but for the life of me I can't remember how to do it again. I attached a photo to better show you guys, please help!
 

Attachments

Tracy Perry

Well-known member
#2
Would not editing the sidebar_visitor_panel and doing the below work?

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

denisx04

Active member
#3
Would not editing the sidebar_visitor_panel and doing the below work?

Code:
<xen:comment>
            <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:comment>
That was part of the code that had to be removed but you pointed me in the right direction. Much appreciated!