physixfan
(physixfan)
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.
2 לייקים
ondrej
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.
Please consider using GitHub - paviliondev/discourse-post-badges-plugin instead of this component.
As it currently stands, this component will make one ajax request per loaded post. This can add up depending on your hosting situation and community size, so please keep that in mind as you consider installing this component. It’s clear that there is a good amount of interest in this feature, so hope to improve the situation as time permits.
Summary
Post Badges …
4 לייקים
jahan_gagan
(Jahan Gagan)
12 באוגוסט, 2020, 12:49pm
3
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
לייק 1
physixfan
(physixfan)
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”.
לייק 1
jahan_gagan
(Jahan Gagan)
16 בספטמבר, 2020, 12:01pm
5
@physixfan done with your said changes have a look to it.
physixfan
(physixfan)
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~
לייק 1
jahan_gagan
(Jahan Gagan)
17 בספטמבר, 2020, 11:07am
7
@physixfan repository updated, look to it
physixfan
(physixfan)
17 בספטמבר, 2020, 5:33pm
8
Wonderful, this is really helpful, thank you very much!
physixfan
(physixfan)
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?
2 לייקים
jahan_gagan
(Jahan Gagan)
18 בספטמבר, 2020, 12:34pm
10
@physixfan again done with your said changes, have a look to it
2 לייקים
system
(system)
נסגר ב־
18 באוקטובר, 2020, 3:10pm
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.