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개의 좋아요