Arty Well-known member Jan 26, 2012 #1 I'd like to show available user upgrades on side bar on forum index. Can it be done?
Paul B XenForo moderator Staff member Jan 26, 2012 #2 Try calling the account_upgrades template in a sidebar block. If that doesn't work, you can do it with a manual template. Upvote 0 Downvote
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 Jan 26, 2012 #3 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 Upvote 0 Downvote
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
Jake Bunce Well-known member Jan 27, 2012 #4 This requires an addon to fetch the upgrade records before you can display them in a template. You can post a request: http://xenforo.com/community/forums/add-on-requests.35/ Upvote 0 Downvote
This requires an addon to fetch the upgrade records before you can display them in a template. You can post a request: http://xenforo.com/community/forums/add-on-requests.35/