Yep, it’s fixed ![]()
Really great to see the improvements made here, everyone.
Really awesome!
You’re close! Click Edit CSS/HTML, editing the mobile styling is one of the tabs in there.
Jeff Thanks for updating did you find it Dylan?
Is it possible to use that plugin with other images except flags?
Solution: It is possible to edit flaglist.js.es6 file
{
"name": "fo",
"value": "fo.png"
}
How you can add string variables? What is the user-inputted location?
Solution: I forked plugin repo and customize for my purpose. It seems work.
With that fix, the flag is displayed to the left of the user’s name. How do I move it to the right of the name?
I was added “url” to that component in flaglist.js.es6 file:
{
"name": "name",
"value": "name.png",
"url": "name-link"
}
How can I print the URL value in show-user-card.hbs?
{{model.custom_fields.nationalflag_iso.url}}
Nice plugin indeed!
I have problem, when i go to user options, and select flag…click SAVE, when i refresh it wont save it it goes back to default.
Any clue why? ![]()
p.s. i did full system and discourse backup this morning, could that be the problem?
Thanks
This was caused by a recent change in Discourse. It will require a small change to the plugin to fix the problem.
@Ebs I have made a pull request on your repository with the change: FIX: Update for changes to Discourse core by davidtaylorhq · Pull Request #3 · Ebsy/discourse-nationalflags · GitHub
Thank you i was confused
@david
Merged. Thanks a lot!
Small issue regarding style/alignment with the mobile view of discourse. The national flag seems to be stretched vertically and is aligned above the username. Would it be possible to move the alignment of the icon to the right of the username/title (to coincide with the respective placement on the desktop view) and fix the distortion?
Desktop:
Mobile:
Please note that the only thing that was done was clicking on the view toggle link in the hamburger menu.
I second this. Please help, looks ugly on mobile..
Thought it was about time I fixed it ![]()
Just updated the plugin. flag is now after the username on mobile (and not stretched anymore) ![]()
Salut Neil @Ebs,
Comme convenu, j’ai soumis une PR pour ajouter quelques fonctionnalités supplémentaires à ton excellent plugin !
Aperçu :
Descriptions en langue naturelle et recherche
Remplacement des codes – ces derniers sont toujours utilisés par le code, soit dit en passant, mais masqués :
Prise en charge du plugin Custom Wizard
Si tu utilises les deux plugins, tu pourras inclure une étape de mise à jour des drapeaux dans ton Wizard, par exemple pour que les nouveaux ou les utilisateurs existants complètent leur profil.
Quelques points à considérer
Il y a quelques descriptions pour les codes non standard qui doivent être corrigées dans le fichier .yml. Je t’ai laissé cette tâche car tu sais ce que chacune signifie :).
La structure est maintenant en place pour ajouter du texte de localisation pour des langues autres que l’anglais.
Fais-moi signe si tu as des commentaires.
Dis-moi quand tu auras fusionné, car je devrai publier une nouvelle mise à jour de Custom Wizard peu après.
Pour information, j’ai poussé une petite mise à jour pour améliorer le code (merci pour les suggestions @angus)
Merci d’avoir fusionné, @Ebs.
@Vikas_Dangi, la liste déroulante utilise désormais les descriptions.




