Is there a reason that users are not showing in the main user list but can be seen in a group user list? Normally they would show in both.
AI-generated summary
Users are not appearing in the main user list on Discourse, which only shows active users and is based on a daily cached database query. typeoneerror raised the issue, noting that new users who have posted are missing from the list, which is misleading as itās not a full user directory. Mittineague clarified that the list is not real-time and refreshes daily, with a feature request suggested to make it more frequent during forum setup. david explained that self-hosted admins can manually trigger the refresh via the Sidekiq scheduler. typeoneerror suggested a dedicated /directory page mirroring the admin user list as a better solution. david pointed to the trust_level_0 group as a workaround, which lists all users, though Alfarhan_Zahedi noted it may not work currently.
The main user list only shows active usersā¦
Iām helping Constance with this. Weāre not seeing users who just posted (and are one of the only posters). Weāre expecting to see a user who just posted here. Is there a user directory on Discourse anywhere? Or is active users the only listing? Is there a timeout for when this list is updated?
Go to:
Admin ā Users ā New
If you canāt find them there then thereās a problem.
If theyāre there and have been active for a few days and you canāt find them on the heavily cached /Users page thereās a problem.
heavily cached
Anywhere I can find out more information about this (how heavily? can I force a clear?) For example, three new users joined yesterday and performed activities and they donāt show up in the users āleaderboardā. This doesnāt seem like a directory to me.
It isnāt a browser cache that can be cleared. Itās a cached database query.
Thatās why youāre not seeing them at /users, Because the query is expensive it isnāt āreal timeā. The job runs once daily, so if they still arenāt there tomorrow, then there will be reason to be concerned.
It does bring up an idea for a feature request. eg. during the bootstrap stage of the forum, run the job more often.
If you are self-hosted and have admin access, you can navigate to /sidekiq/scheduler, find Jobs::DirectoryRefreshDaily, and press Trigger.
To refresh month/quarter/all-time views, trigger Jobs::DirectoryRefreshOlder
Cheers, thatāll be perfect for our self-hosted customers. This one is not. Seems more like a documentation issue. This client was thinking āUsersā would be a list of Users of the forum. But itās a āLeaderboardā or āActive Usersā list. There doesnāt really seem to be an indicator in the UI of this. A /directory feature that shows basically /admin/users would be a killer feature for our customers who have a small private forum that need to see the member list. Now that we know Users is Active Users, we can instruct other customers going forward. Thanks!
The UI is not perfect, but we do have the ātrust_level_0ā group, that includes all users. For example: https://meta.discourse.org/groups/trust_level_0
This is a fantastic workaround, thanks!
This does not seem to work now ![]()
Any other work around ?