I have this installed, works great! Any way to modify it to a more local level? Example I have a mostly US based group was looking to do State Shapes or State Flags.
Having a community with people from lots of interesting-but-unusal countries, I noticed that there doesn’t seem to be alt text to describe the country name when you hover over the flag images.
I’m not great with flags; there are so many countries! Any chance of adding an alt tag for the image at some point?
Cannot reproduce. I have just rebuilt two sites that use it and am having no problems with the rebuild, and have not experienced any issues with the functionality either.
Interesting, that’s good at least. I wonder if it’s a conflict with another plugin? I’m going to try to see if I can figure out which, if any, are causing it. Thank you.
Is there a way to retrieve the locale or the flag from a public profile? For example, my profile shows the canadian flag, but I want to retrieve the ca part given my username. The profile is public, so privacy isn’t a concern. How can I retrieve the flag of a user from http?
** INCOMPATIBLE PLUGIN **
You are unable to build Discourse due to errors in the plugin at
/var/www/discourse/plugins/discourse-nationalflags
Please try removing this plugin and rebuilding again!
I, [2020-11-05T14:45:08.794566 #1] INFO -- :
I, [2020-11-05T14:45:08.795106 #1] INFO -- : Terminating async processes
I, [2020-11-05T14:45:08.795163 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/12/bin/postmaster -D /etc/postgresql/12/main pid: 49
I, [2020-11-05T14:45:08.795215 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 166
2020-11-05 14:45:08.795 UTC [49] LOG: received fast shutdown request
166:signal-handler (1604587508) Received SIGTERM scheduling shutdown...
2020-11-05 14:45:08.799 UTC [49] LOG: aborting any active transactions
2020-11-05 14:45:08.802 UTC [49] LOG: background worker "logical replication launcher" (PID 58) exited with exit code 1
2020-11-05 14:45:08.803 UTC [53] LOG: shutting down
166:M 05 Nov 2020 14:45:08.808 # User requested shutdown...
166:M 05 Nov 2020 14:45:08.808 * Saving the final RDB snapshot before exiting.
2020-11-05 14:45:08.815 UTC [49] LOG: database system is shut down
166:M 05 Nov 2020 14:45:09.329 * DB saved on disk
166:M 05 Nov 2020 14:45:09.329 # Redis is now ready to exit, bye bye...
** INCOMPATIBLE PLUGIN **
You are unable to build Discourse due to errors in the plugin at
/var/www/discourse/plugins/discourse-nationalflags
Please try removing this plugin and rebuilding again!
I, [2020-11-30T14:32:04.274044 #1] INFO -- :
I, [2020-11-30T14:32:04.274927 #1] INFO -- : Terminating async processes
I, [2020-11-30T14:32:04.275231 #1] INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/12/bin/postmaster -D /etc/postgresql/12/main pid: 49
I, [2020-11-30T14:32:04.275574 #1] INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 166
2020-11-30 14:32:04.275 UTC [49] LOG: received fast shutdown request
166:signal-handler (1606746724) Received SIGTERM scheduling shutdown...
2020-11-30 14:32:04.285 UTC [49] LOG: aborting any active transactions
2020-11-30 14:32:04.292 UTC [49] LOG: background worker "logical replication launcher" (PID 58) exited with exit code 1
2020-11-30 14:32:04.292 UTC [53] LOG: shutting down
2020-11-30 14:32:04.321 UTC [49] LOG: database system is shut down
166:M 30 Nov 2020 14:32:04.328 # User requested shutdown...
166:M 30 Nov 2020 14:32:04.329 * Saving the final RDB snapshot before exiting.
166:M 30 Nov 2020 14:32:04.378 * DB saved on disk
166:M 30 Nov 2020 14:32:04.379 # Redis is now ready to exit, bye bye...
FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 1628 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
a8ea6480b7070def0c0cfa68b65d9bdb510bc53284b3c0e5dfa6441d128ab199
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
I’ve just rebuilt a server again, and this is now building ok.
Unfortunately I don’t believe this will make the flag plugin work with CW again. CW went through a huge refactor that means this integration may no longer work.
I’ll follow up at some stage soon with changes to make it actually work within Wizards again.
Hi, i was looking for some help, i recently installed the plugin and haven’t been able to make it work, its enabled, i can see the setting in the user preferences yet the country list is empty: