Awesome. Thanks.
I’ve used unchecked the user statistics on the component and also using the tool icon. But it still shows:

Any options to get rid of the posted and read time?
Awesome. Thanks.
I’ve used unchecked the user statistics on the component and also using the tool icon. But it still shows:

Any options to get rid of the posted and read time?
Did you do a hard refresh in your web browser? I noticed this too.
I also noticed that fields can show up twice in user cards if you have the custom user field set to “show on user card”.
Certainly possible, but would require a fair bit of refactoring. Right now this component literally replaces all the template code for the regular user directory.
This is currently possible via CSS, and we could potentially automate those CSS changes via some theme settings.
There’s a theme setting to hide the current user, which should help with that issue
By “User statistics”, I mean the bar along the bottom of each user card. See the screenshot in the OP for an example. In your screenshot, it looks like the statistics bar is not present.
As in, it will appear on the user card, and also in the ‘statistics’ at the bottom of the card? If it’s already on the user card, then I’d suggest removing it as one of the statistics (using the
)
Yes, that makes sense. Or deselect the “show on user card” setting for the user field.
It’s not possible apparently to not show any of the statistics columns and only display the cards without any statistics. This is not a problem, just something I noticed. ![]()
There is a theme setting which should be labelled “show statistics under each user card”. If you turn that off, the bar at the bottom should completely disappear.
Admittedly it is confusing for this to be buried in the theme settings, while the column selection is available right there on the directory page… but we’re kinda limited by the theme component framework there. ![]()
Since the list view has become more useful (New Leaderboard/User Directory Features 🎉), would you consider adding a button that allows users to switch between the list view and the card view?
There is now a toggle, and the default view can be configured in the theme component’s settings. I’ve installed it here on Meta, and set the default view to “table”. If you visit https://meta.discourse.org/u, you should now see a toggle in the top right
This works well in the desktop view, but the button to switch back from table view to card view is missing in mobile view.
Thanks David, Just checking - There’s no way to remove the line in the main card that show the user’s join date, last post date and read time?
It would be great to have an option to remove this line as well.
We want to give our users more privacy. We want to have a user directory to allow members to find each other for private messaging, but we don’t want publish how often they interact on the site.
Thanks!
I’m afraid there’s no option to remove that information from Discourse core. However, if you’re happy with a purely cosmetic fix, it can be hidden from the user card using some custom css in a theme. For example:
.card-row.metadata-row {
display: none;
}
(note that users could still technically access the information using their browser’s developer tools)
Thank you very much!
Diese sind WUNDERSCHÖN. Wenn ich angemeldet bin, kann ich das Benutzerverzeichnis nach Gruppe filtern. Könnte das öffentliche Benutzerverzeichnis auch nach Gruppe gefiltert werden?
Wenn nicht angemeldet
Wenn angemeldet
Unsere Gruppen sind öffentlich
Ich habe diese Komponente gerade installiert und sie sieht großartig aus! Allerdings führt das Klicken auf einen Avatar oder Namen in Safari und Chrome (Desktop) oder sogar auf Mobilgeräten nicht zu meiner Benutzerseite. Nur der Avatar und der Titel der Karte scheinen tot zu sein; Website-Links, Badge-Links und die Links zur Sortierung der Metadaten am unteren Rand der Karten funktionieren alle. Ich habe keine Probleme mit den „Pop-up“-Benutzerkarten zu Themen oder in der Benutzertabellensicht; diese führen wie erwartet zur Benutzerseite.
Im Verzeichnis der Benutzerkarten sehe ich
<a href="/u/username" class="user-profile-link">
<span id="discourse-user-card-title" class="name-username-wrapper">Benutzername</span>
<!----
</a>
wenn ich den Quellcode inspiziere, aber das Klicken auf den Titel der Karte aktiviert lediglich den Fokusstatus (Chrome) und nichts weiter. In Safari erhalte ich nicht einmal einen Fokusstatus, aber einen Zeigercursor. Seltsamerweise kann ich die Links mit einem Befehls-Klick oder über das Optionsmenü (Rechtsklick / langes Drücken auf Mobilgeräten) öffnen. Ich erlebe den gleichen Effekt unter https://discourse.theme-creator.io/u, sodass es nicht nur auf unserer Discourse-Site einzigartig zu sein scheint.
Danke @Kayla – dieses Problem wird durch diese Änderung behoben:
Sie sollten eine Schaltfläche zum Aktualisieren der Themenkomponente in Ihrem Admin-Panel sehen – lassen Sie uns wissen, ob Sie nach der Aktualisierung immer noch Probleme haben.
Die Links für Avatar und Karten-Titel funktionieren jetzt wie erwartet. Danke @david!
Sie sollten sich vielleicht die Vorschauseite ansehen, die nicht richtig funktioniert, @david
Hallo David,
Tests laufen durch.
Air Theme
Kürzlich hat die Benutzerkarte Verzeichnis, wenn Sie auf Nachricht klicken, wird sie leer, anstatt eine Direktnachricht zu initiieren. Dieses Problem tritt nur im Benutzerverzeichnis auf. In Themen funktioniert es einwandfrei.
Wenn es mit dieser Theme-Komponente kombiniert wird: Usercard Redesign Experiment
Bleibt der Hintergrund der Benutzerkarte in der Verzeichnisansicht leer.
Ich mag es eigentlich so. Anders wäre das Verzeichnis wirklich unübersichtlich.
Und trotzdem könnte es ein Fehler sein ![]()