- Compatible XF versions
- 2.2
- 2.3
Blocks access to Contact us, Log in and Register pages from specified countries.
(Example of options page)
(Example of error message)
(Example of Country access check link)
(Example of Country access check page)
Features:
Uses ipapi.co for accurate country locations.
All phrases start with countryaccesscheck_ for your convenience.
Setup:
Enter country codes (Alpha-2 code) into options page.
Viewing which countries were blocked:
Click the Country access check link in the visitor menu. Must be an admin to see this link.
Database changes:
A table called andy_country_access_check is created in your database.
(Example of options page)
(Example of error message)
(Example of Country access check link)
(Example of Country access check page)
Features:
Uses ipapi.co for accurate country locations.
All phrases start with countryaccesscheck_ for your convenience.
Setup:
Enter country codes (Alpha-2 code) into options page.
Viewing which countries were blocked:
Click the Country access check link in the visitor menu. Must be an admin to see this link.
Database changes:
A table called andy_country_access_check is created in your database.