Can we display custom fields in user directory list

AI-generated summary

Several users are interested in displaying custom fields in the user directory list, with some suggesting it would be useful to have sortable fields MakaryGo. featheredtoast initiated the discussion, and others, including Cozdabuch, DMRF, Alex_Tapper, and zaino, have expressed their agreement on the need for this feature.

Initially, sam mentioned that this would require a custom plugin due to the need for amendments to the serializer. However, tobiaseigen later revealed that this feature has been implemented in Discourse for a while now, allowing users to display custom fields in the user directory list. tobiaseigen also shared a link to the relevant meta discussion: https://meta.discourse.org/t/2-8-0-beta2-user-directory-custom-fields-tagging-enabled-by-default-user-selectable-badge-display-and-more/193148?u=tobiaseigen.

Hey! I’m wondering if there is any way to display a custom field in the user directory.

While having statistics is nice to see how users at large are using the site, a user directory should also have an associated list of useful values associated with that user.

I would like some way to see at-a-glance a list of all custom fields (or chosen custom fields) when browsing through the user directory.

「いいね!」 8

nobody ever followed up on this? This would be terrific!

「いいね!」 1

Agreed,

I’m particularly interested in having the user directory list items like group.

Does anyone know if this is possible?

「いいね!」 1

If we could make this fields sortable even, this would be really, really awesome.

「いいね!」 2

Did anyone in this topic ever figure this out? Would love to display the custom user fields on the user list page.

「いいね!」 2

I have been looking around for such a solution as well. Has anyone figured this out?

「いいね!」 1

At the moment this would require a custom plugin cause the serializer would need amendments.

We have rough plans to allow serializers to be amended from themes and then we can potentially do this in a theme component. We will update here as it progresses.

「いいね!」 10

Is there any (planned) progress regarding this feature ?

「いいね!」 1

We still have rough plans, but nothing concrete quite yet.

「いいね!」 6

この機能は、ディスコースではしばらく前から実装されています。私の近所のフォーラムでは、コミュニティの人々の番地と電話番号を表示するためにそれを使用するのが好きです。とてもよく機能します! :hugs:

「いいね!」 5