Is it possible to use this plugin with a rake command to set the flags to all users based on their IP addresses? A lot of users tend not to notice they can set flags. Or a way to set a flag by default according to IP during new registrations? Would be something useful for many communities.
I had to disable it because newest version didn’t show up in user preferences. Also it broke user preferences in different areas because it hid the “save profile” button. FYI
Is anyone else having issues with this not saving? When I change the flag in the profile and then save, it doesn’t actually save, I can refresh and the selection is gone. No errors in the console or logs.
Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead. [deprecation id: ember-global] See Ember.js - Deprecations for more details.
FYI, Last nights Discourse Update is the Ember update apparently. DISABLE this plugin in your containers/app.yml BEFORE updating, otherwise you will just see the loading balls on discourse and your site will never load
I am not sure where to add on Discourse. But looking at the plugin GitHub page. It would need to be added.
Here where the pngs are stored
And code added here
If you know how to do some coding you can likely add a pull request.
@anon48433008@sunjam if you know some minor coding the 2 links above I believe you could create a forked version. You would maybe want to look over some of the other yml files and maybe other sections of code to change prompt names for the user preferences page to have it say USA States Flags.