chapoi
(Charlie)
August 15, 2025, 1:26pm
1
Install this theme component
The usercard already shows the amount of cheers, so this component makes a small addition to also show the rank:
The word “Rank” is taken from the leaderboard itself, so if you change it globally it will reflect so here.
Settings
Only three settings:
If no ID is chosen it will default back to 1.
Hoping this wins the award for “Lowest Impact Theme Component Ever”
4 Likes
jrgong
(jrgong)
August 15, 2025, 1:29pm
2
That was fast
What are you thoughts to display it inside the same div as the “Cheers” score instead of a separate div?
so that it looks like this:
Cheers: 1234 ( #3 )
(As Icon, maybe something FA5 more related to the leaderboard + the content inside () links to the leaderboard as well)
2 Likes
chapoi
(Charlie)
August 15, 2025, 1:32pm
3
Cool thought, but whole other ballpark I think. Now, I’m plopping it in via a connector, while the cheers is coming from a different connector in core. Afaik, not possible unless we do it via core in the same connector.
Also I learned something new today - that the period can be changed by adding the args to the URL.
Great TC!
1 Like
jrgong
(jrgong)
August 15, 2025, 2:36pm
5
thx for the explanation!
Then I guess, I will have another round of CSS workarounds then