Description:
Blocks access to specified countries.
(Example of Options page)

(Example of access denied message)

(Example of Block country link)

(Example of Block country page)

Features:
Setup step 1:
Install the MaxMind updater add-on.
https://codanya.com/items/maxmind-updater/1009
Setup step 2:
Update the Options page with your GeoIp2 database path.
Viewing which countries were blocked:
Click the Block country link in the visitor menu. Must be an admin to see this link.
Database changes:
A table called xf_andy_block_country is created in your database.
Question and answers:
Q: How often are entries in the xf_andy_block_country table deleted?
A: The Block country cron entry runs every hour, data older than 30 minutes will be deleted.
Q: I'm on XenForo Cloud, what Destination path should I use?
A: Enter the following: internal_data/local/maxmind
Published:
January 26, 2026 11:45 AM
Version:
Category:
Is Nulling Required:
NOXenforo Compatibility:
versions: 2.3Tags: