Reputation and level on member profile

  1. Look at this part of the code:

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/templates/user.hbs#L51

  1. Add the file with the content to your plugin:
plugin/assets/javascripts/discourse/templates/connectors/user-profile-avatar-flair/user-trust.hbs

{{mount-widget widget="user-trusy" args=(hash model=model)}}

  1. Add widget
plugin/assets/javascripts/discourse/widgets/user-trusy.js.es6
  1. And in it, place what you get out.