オプションのアイデア/提案:現在のリーダーボードランクをさらに表示

Hey guys,

We are testing the leaderboard plugin and so far it’s really neat!

But based on our and users’ feedback, users wanted to see their current leaderboard rank in their user card.

To not discourage users of lower ranks, there also should be an option to only display the top X users’ ranking, whereas X can be configured in the plugin settings.

Edit: also it would be nice to have additional CSS Classes in the html output for customization in user profiles, just like in the user cards Cheers html output.

Thoughts?

「いいね!」 1

This may be able to be done via a Theme Component.

Leaderboard data can be grabbed as a json. For example, https://meta.discourse.org/leaderboard/1.json returns the top 93 users by the ‘Monthly’ period; the default for this leaderboard (the one excluding Discourse Staff is defaulted to ‘Today’).

@jrgong Made here:

How on earth are you faster to post this than me posting it?! :sweat_smile:

「いいね!」 3

:sparkles: Related topics is really great!

Anyway, came here to say, yes I made it (Usercard: show leaderboard rank) but it’s probably a bit overkill, and we could keep the feature topic open in case we just allow this via core at some point later.

But, best I could do! Hope you like it (and that it works hehe)

「いいね!」 3