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 إعجابات

تم تطبيق هذه الميزة في discourse منذ فترة. في منتدى الحي الخاص بي، أحب استخدامه لعرض عنوان الشارع ورقم الهاتف للأشخاص في المجتمع. يعمل بشكل جيد حقًا! :hugs:

5 إعجابات