Customize user card

Is it somehow possible to customize the information / fields on a user card?

1 Like

To add a custom field, from your site’s admin panel you can setup a user field: customize > user fields

This will create a field for a user to fill out in their preferences, and it can optionally be shown on the user card.

If you’re looking to hide information on the user card, the easiest way is by adding custom CSS to your site’s theme.

For more advanced customization you could override the user-card contents template, which looks like this by default. Overriding handlebars templates is covered in the advanced section of Developer’s guide to Discourse Themes

6 Likes

Thank you very much.

Another, similar question: is there a way to hide the user statistics at the user profile page?

1 Like

Yes, any element you see on the screen can be targetted and hidden via CSS rules in Admin, Customize.

1 Like