Nationale Vlaggen (fork)

: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 likes

Nogmaals bedankt voor het doen van dit! Ik was verdrietig bij de gedachte om deze plug-in te verliezen en waardeer enorm de mogelijkheid voor mijn community om elkaar te helpen redelijke verwachtingen van de vlaggen te kennen.

Misschien wil je wat je nu hebt naar Ebsy PR’en vanuit een branch voor het geval hij terugkomt, maar nu je dit apart op je branch hebt geplaatst, moet je je README aanpassen om naar je repository te verwijzen in de installatie-instructies?

3 likes

Oh good point will do.

And youre welcome! :hugs:

3 likes