Vanilla Forums
Community Blog

For Pros Just Like You

[Product Post] Theme Tip: Adding A Leaderboard

1 minute read

September 12, 2014

Do you want to add a bit of a competitive spirit to your community? If you haven't already noticed, you can find a points leaderboard on the activity page. Points are accumulated by getting positive reactions from others and earning badges from various activities. But what if you wanted to have a leaderboard across your site?

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"}

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.


Adrian Speyer

Written by Adrian Speyer

Adrian Speyer is the Head of Community and Lead Evangelist for Vanilla Forums. Besides spending many years in digital marketing, Adrian has been building communities of all sizes for over 20 years.


Subscribe to the Community Corner Newsletter and get expert insight and analysis on how to get the most out of your online community every Friday.

Customer Experience Update