Masquer toujours l’utilisateur actuel de la grille
show stats
Afficher les statistiques sous chaque carte utilisateur
default view
Traduction
Défaut
show_cards
Afficher sous forme de cartes
show_table
Afficher sous forme de tableau
Crédits
Un grand merci à @joebuhlig pour discourse-biobook, qui a inspiré ce travail. Et aussi à @angus@fzngagan et @alxpck pour avoir encouragé les diverses améliorations fondamentales nécessaires pour rendre cela réalisable.
Hébergé par nous ? Les composants de thème sont disponibles pour une utilisation sur nos plans Standard, Business et Entreprise.
Thanks this is beautiful and something I’ve been thinking about for a while. I know this is a theme component so not sure it changes any functionality, but asking anyways. Does this happen to enable users to search each other by their attributes?
For instance if a custom attribute for users is University Attended and a user wanted to find everyone who went to a particular school could they search for Stanford and have all the users pull up here? I saw this link that seemed to maybe imply that but having trouble interpreting it.
might be out of the scope, but i found this post linked on another one that seemed to be headed down that route.
Unfortunately not, this doesn’t add the ability to filter users by their metadata. It does add a group dropdown, so maybe that could work for you? You could have groups for each university, people could join those groups, and then they would appear in the dropdown
Hi, David
i have a confusion, when i use search or select a group, my personal user card always shows, whether i am in the group or not in.
can you help me,
how to remove my card if i’m not in the select group or i’m not the search name.
Ah okay. I see. I meant this link and @fzngagan’s PR, but i see it was declined.
The only thing with the groups approach you mentioned is I think it would put a lot of manual onus on the moderators/admin of the forum to put people in groups as they join or worse, as they update their profile.
I’m trying to think of a workaround. Perhaps if there was a way to automate the segmentation of users into groups by a custom attribute, dropdown though so its exact matches? Curious if you know of anything like that.
I’ll look around.
I setup your component on my local setup and results are amazing. Appreciate the efforts.
I noticed there’s a hidden site setting enable_new_user_card_route but it doesn’t seem to change the results here. Is the setting required for anything here?
Nope, that setting is not required for this. It changes the route used for “normal” user cards, so that they’re much more efficient. We’ll be changing the default to true in the next few weeks.
Nous utilisons la branche master, qui indique qu’elle est à jour par rapport à tests-passed, mais je rencontre toujours le problème d’informations manquantes sur les cartes, comme sur la capture d’écran partagée par @cjk77. Devons-nous passer à tests-passed pour que cela fonctionne ?
Vous ne devriez pas exécuter master en production : il contient parfois des commits qui n’ont pas encore passé les tests d’intégration continue. tests-passed est beaucoup plus sûr et n’est qu’à quelques minutes de retard.
Mais oui, ce thème devrait fonctionner sur master. Pouvez-vous partager un lien vers votre site afin que je puisse jeter un coup d’œil ?