Leaderboard Block
This block allows you to create leaderboards that are based on either your user’s current/total balances or based on events in the log.
Leaderboard of Points
# | Position | Name | Points |
---|---|---|---|
1 | demo81071 | 68,295 PT | |
2 | myCred | 23,154 PT | |
3 | Atif Hassan | 13,070 PT | |
4 | demo110357 | 9,810 PT | |
5 | demo129837 | 9,007 PT |
Leaderboard of Coins
# | Position | Name | Points |
---|---|---|---|
1 | demo110357 | 20,002 Coins | |
2 | Atif Hassan | 4,058 Coins | |
3 | myCred | 1,943 Coins | |
4 | brian | 422 Coins | |
5 | demo87103 | 400 Coins |
You can create leaderboards of all time or a specific timespan.
Leaderboard of all time
# | Avatar | Name | Points |
---|---|---|---|
1 | demo81071 | 68,295 PT | |
2 | myCred | 23,154 PT | |
3 | Atif Hassan | 13,070 PT | |
4 | demo110357 | 9,810 PT | |
5 | demo129837 | 9,007 PT |
Leaderboard of this Month
# | Avatar | Name | Points |
---|---|---|---|
1 | demo81071 | 68,295 PT | |
2 | myCred | 23,154 PT | |
3 | Atif Hassan | 13,070 PT | |
4 | demo110357 | 9,810 PT | |
5 | demo129837 | 9,007 PT |
You can create a leaderboard based on the specific log reference by selecting a based_on attribute.
Leaderboard based on Website Visit (site_visit) reference
# | Avatar | Name | Points |
---|---|---|---|
1 | demo81071 | 26 PT | |
2 | demo72787 | 16 PT | |
3 | demo92082 | 12 PT | |
4 | demo92182 | 11 PT | |
5 | myCred | 8 PT |
Also, the leaderboard template is fully customizable, you can customize its structure as per your desire.
Leaderboard custom template
#1
#2
#3
The shortcode version of this block is mycred_leaderboard
.
For more information please visit ShortCode Documentation.