"
    • You MUST read  Myiptvforum Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.
    • The ONLY language allowed in this forum is ENGLISH and it should be used in ALL POSTS.

    • If you use a proxy server or a VPN for registration or login, your account could be directly banned. The reason is that you may register or login via an IP address that was used by a Members which was banned in the past. The same applies if different users use one device (PC, laptop, smartphone), this will also leads to a ban!
    • If you are banned for using a VPN Contact us by open ticket
    • All new Registrations will be manually approved Please do not use VPN or you will automatically get banned!
Resource icon
xF2 Add-on
< Previous | Next >
Description:

Shows a country flag in the message user info block.

(Example of country flag)
country-flag-5.jpg
country-flag-3.jpg
country-flag-2.jpg
country-flag-1.jpg
country-flag.jpg


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:

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:

https://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.

Latest updates

  1. Country flag 1.8

    Country flag v1.8 changes: Now using ipapi.co for country lookup.
  2. See description

    Country flag v1.7 changes: Now compatible with XF 2.2.6 and newer.
  3. Country flag 1.6

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

Similar resources

0.00 star(s) 0 ratings
Downloads
0
Updated
0.00 star(s) 0 ratings
Downloads
1
Updated
0.00 star(s) 0 ratings
Downloads
1
Updated
Top