# How to display data beneath the user's avatar?

**URL:** https://meta.discourse.org/t/how-to-display-data-beneath-the-users-avatar/93815
**Category:** Development
**Created:** [August 2, 2018, 11:18pm UTC](https://meta.discourse.org/t/how-to-display-data-beneath-the-users-avatar/93815 "2018-08-02T23:18:41Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [August 3, 2018, 9:37pm UTC](https://meta.discourse.org/t/how-to-display-data-beneath-the-users-avatar/93815/4 "2018-08-03T21:37:25Z")

</div>

Ah yeah, I ran into a similar issue when trying to tinker around with something for a theme. The answer I got was:

> [@Request for help on finding a user's full name in a theme component context](https://meta.discourse.org/t/request-for-help-on-finding-a-users-full-name-in-a-theme-component-context/87128/2):
>
> This is going to have to go in the serializer or you are going to be doing the worst kind of N+1 which is a Network+1 I am ok with last poster including name if the site has prioritize full names in the UI. Otherwise you are going to need a plugin.

Since it sounds like you are able to use a plugin, I think you should be able to add the custom\_field to the post serializer.

I’m pretty sure this topic will have some useful info and give you some good inspiration:

> [@What is this code add\_to\_serializer in all these plugins](https://meta.discourse.org/t/what-is-this-code-add-to-serializer-in-all-these-plugins/58913):
>
> I have seen this code in [discourse\_signatures plugin](https://github.com/xfalcox/discourse-signatures/blob/master/plugin.rb#L20) User.register\_custom\_field\_type('see\_signatures', :boolean) User.register\_custom\_field\_type('signature\_url', :text) User.register\_custom\_field\_type('signature\_raw', :text) if SiteSetting.signatures\_enabled then add\_to\_serializer(:post, :user\_signature, false) { if SiteSetting.signatures\_advanced\_mode then object.user.custom\_fields['signature\_raw'] else object.user.custom\_fields['signature\_url'] end } # I guess …

My knowledge on plugins is admittedly limited, so if anyone else reading has better advice, please chime in 🙂

---

_[View the full topic](https://meta.discourse.org/t/how-to-display-data-beneath-the-users-avatar/93815)._
