דגלים לאומיים (פיצול)

:information_source: This is a fork of National Flags (which no longer seems to be maintained) and is mainly an updated version to make it work with the latest glimmer/ember/discourse demands.

It’s therefor almost functionally identical, with only some small changes (see below).

I don’t want to hijack the original topic, in case the author comes back :slight_smile:


:information_source: Summary Shows a country flag next to the username on posts and on the profile.
:hammer_and_wrench: Repository Link GitHub - chapoi/discourse-nationalflags: National Flags plugin for Discourse
:open_book: Install Guide How to install plugins in Discourse

Features

After installing and enabling in admin/plugins, users can find a new custom setting called ‘National Flag’ on their /preferences/profile` page.

After selecting a country from the dropdown, the flag image will be displayed alongside their name in topics and on their user profile.

Configuration

Just needs enabling.

To migrate from the original plugin, change Ebsy to chapoi in the line in your containers/app.yml that installs this plugin, and rebuild your site.

Settings are retained. (thanks to @mcdanlj for testing)

UX differences with original plugin

  • Flag renders a bit smaller on posts: it’s now set to the font-size, instead of fixed value
  • The setting dropdown shows full country names, instead of ISO codes
  • The Wizard setup is no longer present. (I’m not sure if it ever worked, but I think it’s best to keep this type of detai setup in a later phase instead of onboarding)
10 לייקים

תודה שוב על שעשית זאת! עצוב לי היה לחשוב על אובדן התוסף הזה, ואני מאוד מעריך את היכולת של הקהילה שלי לעזור זה לזה לדעת ציפיות סבירות מהדגלים.

ייתכן שתרצה להגיש בקשת משיכה (PR) ל-Ebsy עם מה שיש לך כעת מענף, למקרה שהוא יחזור, אך כעת כשפרסמת זאת בנפרד בענף שלך, שנה את קובץ ה-README שלך כדי להפנות למאגר שלך בהוראות ההתקנה?

3 לייקים

Oh good point will do.

And youre welcome! :hugs:

3 לייקים