<img height="1" width="1" style="display:none" src="https://q.quora.com/_/ad/10b616b60fad4a51aa023ade12476783/pixel?tag=ViewContent&amp;noscript=1">

[Product Post] Theme Tip: Adding A Leaderboard

Posted by Adrian Speyer on Sep 12, 2014 11:57:29 AM
Find me on:

1 minute read

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"}
{/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:

screen_leaderboard_theme

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.

Topics: Product

Related posts

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.

Search this blog

Recent Posts

community playbook

Have an Article for Vanilla's Blog?

Send us an email to pr@vanillaforums.com with your topic idea and we'll circle back with our publishing guidelines.