[Product Post] Theme Tip: Adding A Leaderboard
All you need to do is add the following code right after {asset name="Panel"}
in your theme:
{if !InSection ("ActivityList")}
{module name="LeaderBoardModule" SlotType="w"}
{/if}
The SlotType refers as used here refers to “weekly” leaders. The other options are ‘d’ for daily, ‘m’ for monthly, and ‘a’ for all-time. Once added, this is what will appear in your sidebar:
Pro Tip: You can filter points to specific Categories, if you select to do so in the category options and you use CategoryID in your code (i.e. {module name="LeaderBoardModule" SlotType="w" CategoryID="7"}
).
We hope you found these tips helpful. Check under the product category for more product tips.
Vanilla Forums offers a cloud based solution that allows you to create a completely themeable community to look exactly like your website. Try Vanilla Forums Cloud Solution free for 30-days.