Country Flags by IP Address

Country Flags by IP Address 2.0.8

No permission to download
Compatible XF 2.x versions
Additional requirements
BC Math for PHP must be installed on server and PHP must be configured to use BC Math.
Visible branding
Shows what country your members are in based on their current IP address.

This add-on uses MaxMind's GeoLite2-Country database and MaxMind's DB Reader. This add-on does not require mod_geoip to be installed on your server.

  • Works with both IPV4 and IPV6 IP addresses
  • Select what user groups can view flags
  • Select where the flags are displayed.
  • Automatic database updates
Flag view permissions are no longer in add-on options, they are in user/user group permissions.​

BC Math for PHP must be installed on server and PHP must be configured to use BC Math.

01.png 07.png 02.png 03.png 04.png 05.png 06.png
First release
Last update
4.83 star(s) 6 ratings

More resources from Snog

Latest updates

  1. Country Flags by IP Address Update 2.0.8

    Add - Option to display resource creator's country flag in resource list Add - Option to display...
  2. Country Flags by IP Address Update

    Fix - Error not being returned when connection to MaxMind can not be made
  3. Country Flags by IP Address Update 2.0.7

    Change - Move MaxMind database download from install step to requirements check This change...

Latest reviews

Love this add-on. Good job for developing it and introducing it to Xenforo. It is very beneficial and works very well.
Useful add-on. I would recommend including an option to use country flag emojis instead of a sprite sheet though. They're much higher resolution.
Works very nice in my forum. I want to thanks Snog for keeping this free. Its a good add-on for Xenforo 2.
I didn't realize all the work put into this and how it worked until reading the xenForo 1.x version. This will help my moderators spot spam and trolls.
Excellent support too. Snog helped install and diagnose a server issue.
I’ve used this on v1 and now v2 of xenforo. It’s a must for those with a global audience. I’m surprised it’s free to be honest. I’m more surprised it’s not built within xenforo itself
Excellent quality. Excellent functionality. Thank you for taking your own time to provide all of us with this for free.