Changelog:
- Now requires XF 2.2+
- PHP 8 compatibility
- Removed useless Cloudflare Middleware
- Refactor Maxmind API integration
- Fix: check "last-modified" header for GeoIP Database file before updating
- GeoIP Database file moved to "internal-data" and mounted to own filesystem for compatibility with XF setups with external storage
Fixed: post_macros template modification to hopefully be more compatible with all styles.
Changed: Addon name to [OzzModz] Country Flags by IP Address
Added: Support link for addon in the addon list in the ACP.
Reverted the changes that were made in 2.1.2. The changes were not designed to do what I thought they did.
Fixed a display issue on smaller devices if you had the position of the flags to be shown below the username.
Fixed the flags showing in forums that were selected to not show in.
Changed most of the template modifications fromSimple replacementtoRegular expressionto hopefully avoid conflicts with third party styles.
Add - Download of database when MaxMind license key is entered or changed in add-on options
Change - Database update cron task will not run without MaxMind license key
Change - Flag detection will not run if MaxMind database hasn't been downloaded
Remove - Download of database from setup routine
NOTE: All users of this add-on must obtain their own license key from MaxMind and enter it in the add-on options.
To obtain a license key, see this:
How do I generate a license key? - MaxMind Support Center
License keys are used to authorize access to query our web services and download databases. When you create a new MaxMind account, you may generate a license key by logging in and navigating to ‘Manage License Keys’ underneath ‘Services’ on the left-hand navigation menu. You may also access the...support.maxmind.com
- Change - Return any errors generated prior to MaxMind database download during setup
- Remove - Check for BCMath from setup routine
NOTE: While the requirement for BCMath has been removed, if your MaxMind database hasn't been updated in quite some time(as the cron task should be doing) you should keep BCMath or GMP installed so errors won't happen. MaxMind changed their database to eliminate using BCMath (or GMP) quite some time ago. But if you still have an old database file, it's still required.
- Add - Display country flag in spam cleaner
- Update - MaxMind database reader
- Remove - BCMath requirement
- Fix - Flag being displayed over online indicator under some circumstances (XF 2.1)
We use essential cookies to make this site work, and optional cookies to enhance your experience.