AndyB Country flag 2.0

XF 2.0 / 2.1 / 2.2 / 2.3 AndyB Country flag 2.0

Description :

Shows a country flag in the message user info block.

(Example of country flag) :
pic001.webp


(Example of Country flag link) :

pic002.webp


(Example of country flag page) :

pic003.webp


(Example of Privacy page ) :

pic002 (1).webp


(Example of Options page) :

pic004.webp


(Example of User group permissions) :

pic005.webp


Features :
  • Members can opt-out of showing their country flag.
  • All phrases start with countryflag_ for your convenience.
Installation :
  1. Download Andy-CountryFlag-1.0.zip 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 :

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

Setup step 2 :
Get your Ipstack API key using this link:

ipstack - Free IP Geolocation API

Setup step 3 :
Update the Options page with your Ipstack key.

Setup step 4 :
Give User group permissions to view the country flag.

Setup step 5 :
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.

Country flag v2.0 changes : Added URL option to allow members to change their country flag. See Questions and answers in overview for more information.
Download V2.0 :
mega.nz
 
Similar threads Most view View more
Back
Top