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
![]() |
Summary | Shows a country flag next to the username on posts and on the profile. |
![]() |
Repository Link | GitHub - chapoi/discourse-nationalflags: National Flags plugin for Discourse |
![]() |
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