Bandiere Nazionali (fork)

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

It’s therefor almost identical functionally, 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)

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
6 Mi Piace

Thank you again for doing this! I was sad to think of losing this plug-in, and really appreciate the ability for my community to help each other know some reasonable expectations from the flags.

Might want to PR what you have now to Ebsy from a branch in case he comes back, but now that you have posted this separately on your branch, change your README to reference your repository in the install instructions?

1 Mi Piace

Oh good point will do.

And youre welcome! :hugs: