AndyB Country flag

xF2 Add-on AndyB Country flag 1.7

No permission to download
Compatible XF Versions
2.0, 2.1, 2.2
Visible Branding

Shows a country flag in the message user info block.

(Example of country flag)
AndyB Country flag

(Example of Country flag link)
AndyB Country flag

(Example of country flag page)
AndyB Country flag

(Example of Options page)
AndyB Country flag

(Example of User group permissions)
AndyB Country flag

  • Members can opt-out of showing their country flag.
  • All phrases start with countryflag_ for your convenience.
  1. Download and unzip it.
  2. Copy the src/addons/Andy/CountryFlag directory to your server.
  3. From the Admin Control Panel Install the add-on.
Setup step 1:

Create a /misc/ directory in your web root.

Setup step 2:

Copy the flags directory from the add-on folder to the /misc/ directory.


Setup step 3:

Get your Ipstack API key using this link:

Setup step 4:

Update the Options page with your Ipstack key.

Setup step 5:

Give User group permissions to view the country flag.

Setup step 6:

Run the Cron entry for the Country flag manually, this is only required upon initial setup. The Cron entry will automatically run once a day.

Questions and Answers:

Q: When I hover the flag with my mouse, the filename is displayed in English, can I phrase this to show the filename in another language?
A: No.
Last update
0.00 star(s) 0 ratings

More resources from ENXF NET

Latest updates

  1. See description

    Country flag v1.7 changes: Now compatible with XF 2.2.6 and newer.
  2. See description

    Country flag v1.6 changes: Removed unused variable in PHP code.
  3. See description

    Country flag v1.5 changes: Now compatible with PHP 7.4.