- پشتیبانی از نسخه های
-
- 2.0
- 2.1
- 2.2
Shows a country flag in the message user info block.
(Example of country flag)
(Example of Country flag link)
(Example of country flag page)
(Example of Options page)
(Example of User group permissions)
Features:
Members can opt-out of showing their country flag.
All phrases start with countryflag_ for your convenience.
Installation:
Download Andy-CountryFlag-1.0.zip and unzip it.
Copy the src/addons/Andy/CountryFlag directory to your server.
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.
Example: https://domain.com/misc/flags
Setup step 3:
Get your Ipstack API key using this link:
ipstack.com
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.
(Example of country flag)
(Example of Country flag link)
(Example of country flag page)
(Example of Options page)
(Example of User group permissions)
Features:
Members can opt-out of showing their country flag.
All phrases start with countryflag_ for your convenience.
Installation:
Download Andy-CountryFlag-1.0.zip and unzip it.
Copy the src/addons/Andy/CountryFlag directory to your server.
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.
Example: https://domain.com/misc/flags
Setup step 3:
Get your Ipstack API key using this link:
ipstack - Free IP Geolocation API
Locate website visitors for free using ipstack - a free, real-time IP address to location JSON API and database service supporting IPv4 and IPv6 lookup.
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.