In the normal user directory on my site at /u/ it shows username in bold, followed by full name.
In the admin’s user list at /admin/users/list/active only the username is shown. Is it possible to change this?
Thanks.
A user, Jonathan5, wants to display full names in the admin’s user list, in addition to usernames. pfaffman suggests that Discourse may not display both if the admin username matches their real name, but Jonathan5 clarifies that the real names are different.
A potential solution is proposed by hawm, who suggests creating a plugin to add the real name field to the serialization data or using a theme component to render it on the client side. hawm also provides links to relevant Discourse code and notes that a future commit may support searching by name.
Another user, nathank, expresses interest in this feature and shares a related discussion, highlighting the complexity of implementing it.
In the normal user directory on my site at /u/ it shows username in bold, followed by full name.
In the admin’s user list at /admin/users/list/active only the username is shown. Is it possible to change this?
Thanks.
Does the admin username match their real name? In they case discourse does not display them both since they are the same. There is a setting to have your displayed anyway.
Thanks but the real names are different (which is why I’d like to be able to see them at a glance on the admin list). I enabled that full name setting, as far as I remember.
Any ideas here? Thank you in advance.
Is it possible to have the real name in the admin-side user list? Thanks.
I think it can be possible. Just need you to create a plugin implement some functions that add the real name field to the serialization data, and one new column for real name on the web view.
Edit: I found the real name field are already exist in the responsed json data, so you might have no necessary to create a plugin and operate the servers logic, just a theme component/widget to render it on client side only.
We’d like to have this too - display Name as a column and include it in the search. This has been asked for before:
It looks a little more complicated to arrange than a little CSS fiddle. Can anyone help with how this would be approached? Or perhaps provide the SQL used to build the page so it can be replicated (and modified) in Data Explorer?
You can take a look:
https://github.com/discourse/discourse/blob/master/app/assets/javascripts/admin/addon/controllers/admin-users-list-show.js
Edit:
I just found this commit, it may support search by Name in the near future by Discourse.
https://github.com/discourse/discourse/commit/e29605b79f25afac2d506c6371e1b528f120b670