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 „Gefällt mir“

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

1 „Gefällt mir“

Agreed,

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

Does anyone know if this is possible?

1 „Gefällt mir“

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

2 „Gefällt mir“

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

2 „Gefällt mir“

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

1 „Gefällt mir“

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 „Gefällt mir“

Is there any (planned) progress regarding this feature ?

1 „Gefällt mir“

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

6 „Gefällt mir“

Diese Funktion ist in Discourse schon seit einiger Zeit implementiert. In meinem Nachbarschaftsforum nutze ich sie gerne, um die Straßenadresse und Telefonnummer von Personen in der Gemeinde anzuzeigen. Funktioniert wirklich gut! :hugs:

5 „Gefällt mir“