Liens d'icônes sociales cliquables sur le profil

yea - just made discord available as an icon for users. Please update!

Yea also this is the way it currently works, you just need to make 1 custom user field called Discord

3 « J'aime »

Yea i’ve never seen this used on any type of community that has anon users able to see the /u page so I can’t even say that this is the intended functionality.

Open to any PRs that help with making this useful for those types of communities as well. Sorry for not being able to help more!

1 « J'aime »

Awesome! How about Steam next (would be great for video game forums)? :smile:

2 « J'aime »

yep sure thing this is a quick one too: feel free to update

https://github.com/weallwegot/discourse-social-links-clickable/pull/4/commits/8ad8299ebba441da7e7f8c05b038e32afc27d1b4

2 « J'aime »

Also a Known Bug:

if you use either of the filters on the directory:

then the social icons will get mixed up when the users load after the filtering. So typically it gets messed up by giving every card the exact same link for a social icon. Im not sure why this happens but just to let people using it now. And/or if anyone knows why this is happening or how to fix it, would be super grateful for help!

Hope to add this to the OP

3 « J'aime »

Great! Thank you! Is Twitch an option?

2 « J'aime »

I found the same problem in my Discourse installation. When the theme component is activated, anonymous visitors find a broken user profile.

I don’t have the Follow Plugin installed, so I think it seems to be an incompatibility between the TC and Discourse core?

Maybe it is also related to the issue @renato has commented recently.

1 « J'aime »

Is it possible to set these when a user logs in with the specified social provider? I want to ensure that people cannot claim to be someone else. Also, with Discord it doesn’t make sense that it’s a link since there’s no user profiles with Discord, how could I have it show the icon and the name? Also, instead of coloring them all the same is it possible to style each one differently? I’d love Discord to be blurple (Discord’s blue-purple color) so it displays nicely on both dark and light themes. Great addon though!

1 « J'aime »

Is this Theme component broken? User Card Directory works for me just fine on current Dicourse 2.7.0, but I’ll get “This theme contains incorrect CSS, HTML or YAML” after install.

Also the component settings appear in the admin sections, but it ain’t possible to set anything in the user profiles.

1 « J'aime »

hi just added twitch now. i should find a way to make adding new icons more generalizable such that they don’t require code changes - im a bit pressed on time to make this general change but open to PRs!
Github Issue for Generalizing Adding New Socials


I’m seeing this too - but am not able to quickly pinpoint exactly what is wrong. I’m using on a 2.7 install and although i see that warning on installation I haven’t seen any of the functionality impacted, which is weird. Feel free to post if you say anything fishy


you still have to create Custom User Fields that match the names in the Admin section setting. I would suggest hiding the fields after creating them so that there isn’t both the text of the social login url + the social login clickable icon.

Here is a how-to post here on meta about setting up the custom user fields


currently a bit more than the originally intended scope as i think it would require a good amount of work- not all of which im sure is available in just a theme component… but perhaps. would have to take a bit deeper look. If its super critical I would have to suggest the marketplace in case theres someone who could take on the work- im currently not able to dedicate much time to this unfortunately.

also a cool idea, but would suggest the same as before… this could probably be done as part of this as well if you or someone was interested in taking a stab at generalizing - one of the other features you could set per social was the color.
Github Issue for Generalizing Adding New Socials

sorry i cant be more helpful on these but thank you for the feedback!

4 « J'aime »

I am getting this message when I install this component.

Moreover, I am unable to see any editable field after enabling this plugin. I have added it to correct themes but still nothing is visible in the user profile.

3 « J'aime »

Hey! Would love to use this, but having the same error issue as @thegurjyot above. Any chance you know a quick way to fix this, especially on fully hosted installs? :slight_smile:

1 « J'aime »

hi @thegurjyot @ivanovitch
sorry about the delay, just pushed a change that got rid of those ember selectors. hopefully this doesn’t make anything look too funny! if so, PRs always welcome :slight_smile:

3 « J'aime »

Thanks for such a nice theme component! It looks great and it’s really easy to use.

Would it be possible to add an email/envelope icon? My community uses SSO so user emails are set by that, but it’d be nice if people could indicate a different email (like their research email) that they’d like people to contact them with.

2 « J'aime »

Great component looks great on users cards!.
Finding Discord’s user link is kind of tricky, i better disabled it knowing some users would have problem looking for it. It would be so much easier if users only need to add usernames instead of full URL.

Also is it possible to add Telegram and TikTok user fields?

Thanks for this component!

2 « J'aime »

télégramme ajouté dans le dernier push

j’ai ajouté cela mais l’icône tik tok ne s’affiche pas et je ne suis pas tout à fait sûr pourquoi si quelqu’un sait quelque chose, faites-le moi savoir… je vois que quelqu’un d’autre a eu ce problème aussi : L’icône Font Awesome de Tiktok ne s’affiche pas.

fait dans le dernier !

je n’ai pas trouvé de bon moyen de le faire. connaissez-vous le format des URL de profil Discourse qui incluent leurs noms d’utilisateur ?

4 « J'aime »

Auriez-vous une chance d’ajouter Vero à cela ? Malheureusement, il n’y a pas encore d’icône FontAwesome, mais il y a ceci https://www.flaticon.com/free-icons/vero

Flickr serait également un bon ajout ! Flickr a bien une icône FA f16e

Merci !

1 « J'aime »

Ravi de voir ça, j’avais utilisé/abandonné Namati, c’est beaucoup mieux.

Quelques demandes / notes :

  • Pas d’option de champ Facebook ? Son icône est listée, mais rien pour correspondre à un champ utilisateur (je déteste FB mais mes utilisateurs l’utilisent)
  • Y a-t-il un moyen possible pour un champ générique ? Mes gens aiment utiliser Namedrop.io pour fournir la prononciation des noms. J’ai essayé d’utiliser l’icône Spotify, mais Spotify apparaît dans le texte du titre. C’est de niche et il n’y a pas d’icône, mais je pourrais vivre avec une icône différente.
    • J’ai aussi une URL d’affiliation, cela fonctionnerait bien avec une icône globale.

  • Les champs utilisateur personnalisés Instagram et Twitter n’attendent que les noms d’utilisateur (sans le « @ » inclus), le nom est ajouté à l’URL de base.

Et merci d’avoir corrigé le cas où ils entrent un nom d’utilisateur ! (demander l’URL Twitter, mais ils l’ignorent, entrer un nom d’utilisateur fonctionne aussi.) (on dirait que l’utilisation d’un @ dans Twitter fonctionne, cela finit aussi par s’afficher dans la carte, ce qui me convient)

2 « J'aime »

Pourriez-vous ajouter la prise en charge des nouveaux identifiants YouTube ? Ma communauté rencontre également des problèmes avec la restriction actuelle sur les URL des chaînes YouTube :

2 « J'aime »

Il est certainement temps d’avoir une icône pour Mastodon ? J’ai des demandes à ajouter en tant que champ utilisateur. Elle a une icône Mastodon Icon | Font Awesome

4 « J'aime »