User upgrades on sidebar

Arty

Well-known member
I'd like to show available user upgrades on side bar on forum index. Can it be done?
 

Brogan

XenForo moderator
Staff member
Try calling the account_upgrades template in a sidebar block.

If that doesn't work, you can do it with a manual template.
 

Arty

Well-known member
It doesn't work.

I've added code manually by appending this to sidebar_visitor_panel:
HTML:
<xen:if is="{$visitor.user_id} AND !{xen:helper ismemberof, $visitor, 13}">
    <link rel="xenforo_template" type="text/html" href="sidebar_upgrades.html" />
</xen:if>
and in that template listing all upgrades
 
Top