physixfan
(physixfan)
July 29, 2020, 2:48am
1
I would like to display users’ trust level (or corresponding badges) in the posts, like this screenshot:
What’s the easiest way to do this?
I think this gives readers a quick way to see whether a post is trustworthy, and also gives users an incentive to climb to higher trust level.
ondrej
July 29, 2020, 7:06am
2
Hello,
This theme component should help. Just add the trust level badges to be displayed. You can also add a custom title if you want but that will be hard.
Hey @physixfan As per your requirement mentioned I have developed a theme component for it. You can use it and provide a feedback to it
https://github.com/jahan-ggn/discourse-trust-level-on-posts
physixfan
(physixfan)
September 11, 2020, 10:50pm
4
Nice! Can you show the name of the trust level instead of “trust_level x”? For example we call trust_level 2 the Gold Member, it would be nicer to show “Gold Member” instead of “trust_level 2”.
jahan_gagan
(Jahan Gagan)
September 16, 2020, 12:01pm
5
@physixfan done with your said changes have a look to it.
physixfan
(physixfan)
September 16, 2020, 6:50pm
6
Thanks! Is it possible to show the customized trust level title? See attachment, we renamed the titles and would really like to show these customized titles~
jahan_gagan
(Jahan Gagan)
September 17, 2020, 11:07am
7
@physixfan repository updated, look to it
physixfan
(physixfan)
September 17, 2020, 5:33pm
8
Wonderful, this is really helpful, thank you very much!
physixfan
(physixfan)
September 17, 2020, 8:12pm
9
It seems the user’s level is showing on the left of the username on mobile. This is a bit strange. Can it be moved to the right side like on desktop?
jahan_gagan
(Jahan Gagan)
September 18, 2020, 12:34pm
10
@physixfan again done with your said changes, have a look to it