# User Reputation Next To Username (Junior Member, Senior Member, etc)

**URL:** <https://meta.discourse.org/t/user-reputation-next-to-username-junior-member-senior-member-etc/45101>\
**Category:** Development\
**Created:** [6월 1, 2016, 7:45오후 UTC](https://meta.discourse.org/t/user-reputation-next-to-username-junior-member-senior-member-etc/45101 "2016-06-01T19:45:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![P16](https://avatars.discourse-cdn.com/v4/letter/p/b19c9b/32.png) [@P16](https://meta.discourse.org/u/P16)\
**Post date:** [6월 1, 2016, 7:45오후 UTC](https://meta.discourse.org/t/user-reputation-next-to-username-junior-member-senior-member-etc/45101/1 "2016-06-01T19:45:59Z")

</div>

Hi Everyone,

We were trying to build a plugin which would show the trust level of the user next to their name within topics. So that all users have a sort of reputation badge next to their name.

Since there is already the title field available which lets the user select the badge, one solution would be to select an option by default (and the highest ranked badge if there is more than one option).

So a basic member would have the title selected by default and have a ‘basic’ next to their username. Which brings me to my questions:

1. How can I expose the `trust_level` attribute of a `user` to the attributes in the `post` widget?

2. Can I programmatically set a title field based off the trust level?

Thanks!

---

_[View the full topic](https://meta.discourse.org/t/user-reputation-next-to-username-junior-member-senior-member-etc/45101)._
