- Xenforo.com resource URL
- https://xenforo.com/community/resources/xb-country-flags-by-ip-address.6090/
- Compatibile XF2 versions
- 2.2
- 2.3
Displays a user’s country flag based on their current IP address.
This add-on uses MaxMind’s GeoLite2 Country database along with the MaxMind DB Reader. It does not require mod_geoip on your server.
This add-on uses MaxMind’s GeoLite2 Country database along with the MaxMind DB Reader. It does not require mod_geoip on your server.
Features
- Supports both IPv4 and IPv6 addresses
- Control which user groups can view flags
- Flexible flag display locations
- Automatic database updates
Changes from XF 1.x
- Flag view permissions have been moved from add-on options to user group permissions
Requirements
- A MaxMind license key is required
- Get a license key:
https://support.maxmind.com/account-faq/account-related/how-do-i-generate-a-license-key/ - Sign up for GeoLite2:
https://www.maxmind.com/en/geolite2/signup
Notes
- The add-on connects to MaxMind servers to download the GeoLite2 database after a valid license key is entered
- If the connection fails, the add-on will not function until the database is successfully downloaded
- There may be a delay before a newly created license key becomes active
- If the key is entered before activation, it will not be saved and an error will be shown