chapoi
15 augustus 2025 om 13:26
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”
8 likes
jrgong
(jrgong)
15 augustus 2025 om 13:29
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
15 augustus 2025 om 13:32
3
Cool gedachte, maar volgens mij een heel ander verhaal. Nu plaats ik het via een connector, terwijl de cheers vanuit een andere connector in de core komen. Voor zover ik weet niet mogelijk, tenzij we het via de core in dezelfde connector doen.
Ik heb vandaag ook iets nieuws geleerd - dat de periode kan worden gewijzigd door argumenten aan de URL toe te voegen.
Geweldige TC!
1 like
jrgong
(jrgong)
15 augustus 2025 om 14:36
5
thx for the explanation!
Then I guess, I will have another round of CSS workarounds then
chapoi
15 augustus 2025 om 17:17
6
Let me know if you need help, I’m reasonably sure it’s doable
2 likes