Provide option to choose showing full names in chat

For communities where full names are required like ours, it would be very nice to have the ability to see real names in the chat box, recent private chat list, etc. rather than username.

3개의 좋아요

in admin - settings, you need to have enable_names and display_name_on_posts enabled (checked) and then make sure prioritize_username_in_ux is disabled (unchecked). note that this also puts their full name in posts and user card and profile. you can see this in the Meta chat which shows full names :slight_smile:

if you only want to show in Chat, i’m sure some CSS can hide the full names in other places.

3개의 좋아요

All of the above is already done (double checked to be sure), but chat still shows usernames and not full names:

I wonder if it has anything to do with the custom theme we have from Discourse.

1개의 좋아요

try safe mode. i have all the above settings to test on my site and it worked just like here on meta. :thinking:

1개의 좋아요

Interesting, I see our chat as usernames and not full names:

oh that’s weird. mine is showing both usernames and names in that window as well as the chat conversations :thinking: i don’t see a user preference to override it either…

1개의 좋아요

Also odd, chat isn’t showing up as enabled (or able to be enabled) in safe mode.

1개의 좋아요

oh yea because it’s a plug in :woman_facepalming: lol doh

anyways FWIW this is what my Meta chat modal looks like. my name and username show up in chats too. this looks like a job for the team :slight_smile:

Can you show a screenshot when you hit that back arrow in the top-left? What does that window look like?

1개의 좋아요

oh hey there we go - where are the full names? :thinking:

Nowhere to be found!

1개의 좋아요

This feature has now been added:

Note that for users that don’t have a name on their profile, it will revert to the username for those individual users.

To get this working, it requires the same settings outlined here:

1개의 좋아요

Is it possible to hide the “@” in front of the usernames? Since enable_names is disabled I don’t need it to highlight that this is a username and at all other places the username also does not start with an @.

4개의 좋아요

Well spotted, we had a chat about this internally and it makes sense to remove the alias from usernames in direct message channels. Normally we only use the alias when mentioning another user so no need to have it in channel titles.

Updated with this commit:
https://github.com/discourse/discourse/commit/4bfe78d1e66fab345dda56f791e59c749d0de3a6

6개의 좋아요

This topic was automatically closed after 3 days. New replies are no longer allowed.