[OzzModz] Country Flags by IP Address

xF2 Add-on [OzzModz] Country Flags by IP Address 2.2.1 Patch Level 3

No permission to download
2.2.1 Patch Level 3:
- Fix: check $user is not array in member_list_macros template modification
.2.1 Patch Level 2:
- Fix: avoid "call canViewCountryFlag() on null" in template modification
2.2.1 Patch Level 1:
Fixed incorrect flag display condition
  • Like
Reactions: BattleKing
2.2.0 Patch Level 4.:
- Fixied XF 2.2.13 template modification compatibility
Fixed: Maxmind api not found error.

[OzzModz] Country Flags by IP Address 2.2+ Update 2.2.0 Patch Level 1

2.2.0 Patch Level 1:
- Fix: incorrect cron job class name

[OzzModz] Country Flags by IP Address 2.2+ Update 2.2.0

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 from Simple replacement to Regular expression to 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:

https://support.maxmind.com/account-faq/account-related/how-do-i-generate-a-license-key/
Top