Resource icon

xF2 Beta GeoIP + GDPR Geoblocking 3.0.2

No permission to download
  • handle missing iso codes for anonymous proxies and missing data
Note that you cannot directly upgrade from v2.x of this addon to v3.x of this addon - there are additional manual steps required.

Please see upgrade instructions here: https://xenforo.com/community/resources/geoip-gdpr-geoblocking.6446/update/27250/
  • be more graceful in failure when api isn't yet configured
Note that you cannot directly upgrade from v2.x of this addon to v3.x of this addon - there are additional manual steps required.

Please see upgrade instructions here: https://www.null-scripts.net/resources/geoip-gdpr-geoblocking.4778/update/8721/
I am changing the structure of the addon_id I use for my addons - so this release is a re-release of the functionality currently available in v2.0.3, but with a new addon_id.

Note that you cannot directly upgrade from v2.0.3 - there are additional manual steps required - please see upgrade instructions below.

If you don't yet have v2.x installed, just install v3.x as you would normally do for any addon. If upgrading from v2.x of the addon, follow the instructions below.

Upgrade instructions from v2.x of the addon (read this in full before starting - follow the steps in order to avoid data loss!):
  1. back up your forums (both database and file system) before attempting to upgrade - you could lose data if you get the steps wrong!
  2. it is highly recommended that you close your forums before starting the upgrade process
  3. In your favourite database browser tool, locate the xf_addon table for your forum installation and then find the row with the addon_id = GeoIP
  4. Change the is_legacy field for this row and set the value to 1. This will mark the addon as "legacy" in the admin UI and disable the addon
  5. Extract the new v3.0.x addon to the file system. It won't over-write the existing addon installation because of the change in addon_id
  6. Refresh the addon list in the UI - the system should offer to upgrade the addon instead of installing it, having detected that the old addon is the "legacy" version
  7. Proceed with the upgrade - all data and option settings will be retained, the old addon will be uninstalled and show up in the admin UI as "Installable". Do NOT re-install the old addon!
  8. Remove the old addon files from the file system completely - these can be found in <forum_root>/src/addons/GeoIP
  9. Test that the new version of the addon works - look for the test suite in the Tools section of the admin UI
Alternatively, if you don't mind losing your IP data cache or reconfiguring the addon - you may also simply uninstall the existing addon (and remove the files from the file system!) and then install this new v3.x version.
  • bugfix: static function GeoIP\Util\IpGeo::isConfigured wasn't defined as static
731Threads
2,286Messages
63,729Members
anilkumarheyLatest member
Back