# User Card Directory

**URL:** https://meta.discourse.org/t/user-card-directory/144479
**Category:** Theme component
**Tags:** official, user-card-directory
**Created:** [March 16, 2020, 2:21pm UTC](https://meta.discourse.org/t/user-card-directory/144479 "2020-03-16T14:21:04Z")
**Posts on this page:** 19
**Page:** 7

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [June 13, 2024, 7:18am UTC](https://meta.discourse.org/t/user-card-directory/144479/132 "2024-06-13T07:18:35Z")

</div>

I can’t see any problem in the screenshots. What exactly are you expecting that is currently not working?

---

<div class="post-metadata">

### Author: ![Truest](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@Truest](https://meta.discourse.org/u/Truest)
#### Post date: [June 13, 2024, 7:21am UTC](https://meta.discourse.org/t/user-card-directory/144479/133 "2024-06-13T07:21:18Z")

</div>

Not Card. Table set toggle.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 13, 2024, 7:26am UTC](https://meta.discourse.org/t/user-card-directory/144479/134 "2024-06-13T07:26:33Z")

</div>

As mentioned above, if you could take the time to be more descriptive in what issue you’re facing it would save everyone the effort of trying to puzzle out what you mean. Just a few complete sentences describing what you’re trying to do, what you’re expecting to see, what button you’re pressing, and maybe a screenshot or two with the relevant parts highlighted.

If you cannot put that minimum effort in, then I’m afraid this is not the right place to get the support you need. 🤷

It seems what you’re trying to say is that this button is not changing the view from card to table as you expect:

 ![Untitled](https://global.discourse-cdn.com/meta/original/4X/2/f/2/2f2418fd472e2f11f954e9dc9202fcde2d2c2d60.png)

---

<div class="post-metadata">

### Author: ![Truest](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@Truest](https://meta.discourse.org/u/Truest)
#### Post date: [June 13, 2024, 8:12am UTC](https://meta.discourse.org/t/user-card-directory/144479/135 "2024-06-13T08:12:04Z")

</div>

This comment isn’t meant to be a fight, I’m just saying it like it is.

1. Unfortunately, I didn’t come to this post looking for support.  
1-1. If I was looking for support, I would have made a separate post with the support tag. My goal was to report that fact to the component author as a bug. I think the component author would have easily figured out what I meant because he implemented the functionality himself.

2. This doesn’t mean you’re wrong. Obviously, if I’m looking for support, I think like you said, the more specific the better.

3. You say I didn’t do the bare minimum, so I wouldn’t have tried to respond by taking screenshots, hosting images, etc. I think the display is close to sense. Even when I look at other comments, other users don’t always indicate the instructions.

4. I was able to mark it anyway, but I forgot, but I thought you could tell by looking at the size of the photos that they were different, and since you uploaded two photos, I thought you would have accepted that they were most likely different photos.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 13, 2024, 8:17am UTC](https://meta.discourse.org/t/user-card-directory/144479/136 "2024-06-13T08:17:21Z")

</div>

> [@Truest](#):
>
> Doesn’t work table set.

> [@Truest](#):
>
> Not working properly in live preview

> [@Truest](#):
>
> Not Card. Table set toggle.

I’m sorry @Truest, but these comments are below the minimum standard of what’s expected to either report a bug or ask for support.

As I think has been demonstrated by the ensuing conversation, if you had included more description in your initial post then you could have saved people a lot of time piecing together what you meant.

Please be more mindful of this in the future. 🙏

---

<div class="post-metadata">

### Author: ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)
#### Post date: [October 10, 2024, 8:24am UTC](https://meta.discourse.org/t/user-card-directory/144479/137 "2024-10-10T08:24:17Z")

</div>

I’m enjoying this plugin, and appreciate all the work that’s gone into fixes and added features.

In our case (lots of new users stingy with Likes) the default timeframe & the ordering by `likes_received` results in dormant users with very low engagement appearing at the top of the page. They typically received a couple of Likes way back when, and haven’t been back.

I know it’s not meant as a leaderboard, but I’d rather order cards by, say, `days_visited`.

So I’d like to second this earlier request…

> [@md-misko](#):
>
> a request: is it possible to add two settings to this component for
> 
> - selecting default timespan
> - selecting default type and order to sort by

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [October 10, 2024, 8:32am UTC](https://meta.discourse.org/t/user-card-directory/144479/138 "2024-10-10T08:32:32Z")

</div>

I think choosing another default ordering is already possible.

I think the first column is used for that. So, when you move “days visited” there, it should work.

 ![Screenshot_20241010_102924_Firefox](https://global.discourse-cdn.com/meta/original/4X/2/d/7/2d784dd8272582858edf8c599c6d9b2d9a456349.jpeg)

Regarding the time span: how do your users visit the directory? Would it help to edit the link in the sidebar so it takes them to `/u?period=yearly` instead of `/u`?

---

<div class="post-metadata">

### Author: ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)
#### Post date: [October 10, 2024, 9:06am UTC](https://meta.discourse.org/t/user-card-directory/144479/139 "2024-10-10T09:06:01Z")

</div>

I’m puzzled, as it does appear to be doing that [here on Meta](https://meta.discourse.org/u?cards=no&order=post_count).

I tried on my site, but it literally just repositions the columns in the table view.

If I re-order by _clicking_ a different column in the table view, then switch to card view, it retains that order until I leave the page and return. A fresh visit to either the card or table view orders it by `likes_received` again, no matter what order the the columns are in.

Unless maybe there’s some scheduled job that needs to run, to store the change..?

(I know a partial workaround would be editing the Users sidebar link to `/u?cards=yes&order=days_visited` but it’d be nice to have config options for default timeframe too.)

EDIT: either I missed your closing line, or you added it while I was composing. Yes, `/u?cards=yes&order=days_visited&period=yearly` does the trick. (And looks like `/u?cards=no&order=post_count` is what’s happening on Meta.) I’m happy with that for the moment! But still, admins might like some added config options.

---

<div class="post-metadata">

### Author: ![ToddZ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/toddz/32/328350_2.png) [@ToddZ](https://meta.discourse.org/u/ToddZ)
#### Post date: [November 8, 2024, 9:11pm UTC](https://meta.discourse.org/t/user-card-directory/144479/140 "2024-11-08T21:11:25Z")

</div>

I’ve been very happy with this plugin, once I understood a few details!

Just one nagging issue: background images on user cards usually fail to load when first accessing the page. On refresh, the background images load. This is independent of color scheme or light/dark mode, and occurs across browsers on Windows & Linux. I don’t see any clues in the console. In [safe mode](https://meta.discourse.org/t/53504?silent=true) with plugins disabled, it still happens.

I’d love to see a tweak to address this, as users aren’t going to refresh the page & learn that background images are even a thing.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [December 11, 2024, 4:29pm UTC](https://meta.discourse.org/t/user-card-directory/144479/141 "2024-12-11T16:29:42Z")

</div>

5 posts were merged into an existing topic: [Message button is not hidden in mobile view](https://meta.discourse.org/t/message-button-is-not-hidden-in-mobile-view/311878/2)

---

<div class="post-metadata">

### Author: ![patrickemin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/patrickemin/32/520162_2.png) [@patrickemin](https://meta.discourse.org/u/patrickemin)
#### Post date: [August 20, 2025, 9:03pm UTC](https://meta.discourse.org/t/user-card-directory/144479/142 "2025-08-20T21:03:17Z")

</div>

Hi, this TC still shows about only 40 users on my site which has more than 700 users. Is it only me ? 🤪

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [November 26, 2025, 3:06pm UTC](https://meta.discourse.org/t/user-card-directory/144479/143 "2025-11-26T15:06:55Z")

</div>

2 posts were split to a new topic: [Users created via sso not showing up in user directory](https://meta.discourse.org/t/users-created-via-sso-not-showing-up-in-user-directory/389730)

---

<div class="post-metadata">

### Author: ![cathys](https://avatars.discourse-cdn.com/v4/letter/c/2bfe46/32.png) [@cathys](https://meta.discourse.org/u/cathys)
#### Post date: [December 25, 2025, 4:08pm UTC](https://meta.discourse.org/t/user-card-directory/144479/144 "2025-12-25T16:08:29Z")

</div>

Same here. If you’re referring to the infinite scroll aspect of it, it broke on 3.6.0.beta3-latest. I took a quick look and suspect this may be related to the the modernization commit in this version, and the plugin may need to be updated.

P.S. Infinite scroll still works on the default directory.

---

<div class="post-metadata">

### Author: ![Miesmacher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/miesmacher/32/196471_2.png) [@Miesmacher](https://meta.discourse.org/u/Miesmacher)
#### Post date: [December 30, 2025, 10:56am UTC](https://meta.discourse.org/t/user-card-directory/144479/145 "2025-12-30T10:56:03Z")

</div>

Thank you very much for this theme component - I only discovered it and it’s a godsend.

I have one question:  
It is _very_ useful for our community that the “About me” content from the user profile is shown on the cards. However, is it possible to show more than the default 2 lines?  
Can this be tweaked somewhere?  
Or could, alternatively, when clicking on a card the link point to `/u/xyz-name/preferences/profile`?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [December 30, 2025, 11:29am UTC](https://meta.discourse.org/t/user-card-directory/144479/146 "2025-12-30T11:29:11Z")

</div>

> [@Miesmacher](#):
>
> Or could, alternatively, when clicking on a card the link point to `/u/xyz-name/preferences/profile`?

Since you can’t see preferences of other users, what’s the point of linking to them on user cards? What is the advantage of my card taking you to [https://meta.discourse.org/u/moin/preferences/profile](https://meta.discourse.org/u/moin/preferences/profile) instead of [https://meta.discourse.org/u/moin](https://meta.discourse.org/u/moin)?

---

<div class="post-metadata">

### Author: ![Miesmacher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/miesmacher/32/196471_2.png) [@Miesmacher](https://meta.discourse.org/u/Miesmacher)
#### Post date: [December 30, 2025, 1:12pm UTC](https://meta.discourse.org/t/user-card-directory/144479/147 "2025-12-30T13:12:41Z")

</div>

Thank you! That is a valid question and good information. I had overlooked what happened when one clicks on “expand” on the profile. But there seems to be a way to default to the “expanded” state which I don’t know about.  
Can you give a hint, it would be really useful if the “About me”-thingy wasn’t collapsed.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [December 30, 2025, 1:25pm UTC](https://meta.discourse.org/t/user-card-directory/144479/148 "2025-12-30T13:25:44Z")

</div>

> [@Miesmacher](#):
>
> But there seems to be a way to default to the “expanded” state which I don’t know about.

I think expanded is the default as long as you are not looking at your own profile. There is some special magic about your own profile. For example, you are taken to /activity instead of /summary by default. I am often confused that my own usercard takes me somewhere else than everyone else’s.  
Does that match your experience?

---

<div class="post-metadata">

### Author: ![Miesmacher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/miesmacher/32/196471_2.png) [@Miesmacher](https://meta.discourse.org/u/Miesmacher)
#### Post date: [December 30, 2025, 1:35pm UTC](https://meta.discourse.org/t/user-card-directory/144479/149 "2025-12-30T13:35:29Z")

</div>

> [@Moin](#):
>
> There is some special magic about your own profile.

Well, me being such a noob, I wasn’t aware of this. Again my thanks, all my problems went away now. Well, those related to Discourse 😀

---

<div class="post-metadata">

### Author: ![Luna\_Mora](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/luna_mora/32/527917_2.png) [@Luna\_Mora](https://meta.discourse.org/u/Luna_Mora)
#### Post date: [February 27, 2026, 6:39pm UTC](https://meta.discourse.org/t/user-card-directory/144479/150 "2026-02-27T18:39:17Z")

</div>

I am getting a deprecation warning in console for the local time display:

```plaintext
deprecated.js:52 DEPRECATION NOTICE: Setting timezone property of user object is deprecated. Use user_option object instead [deprecated since Discourse 2.9.0.beta12] [removal in Discourse 3.0.0.beta1] [deprecation id: discourse.user.userOptions]

```

[Previous page](https://meta.discourse.org/t/user-card-directory/144479.md?page=6)
