- XF Compatibility
- 2.2.x
- Summary
- This download blocks users from registering on a forum based on their IP location, using ipstack.com to determine accurate country locations and allowing administrators to view which countries are currently blocked or allowed through an "countries registration check" page.
Users from registering on a forum based on their IP location, using ipstack.com to determine accurate country locations and allowing administrators to view which countries are currently blocked or allowed through an "countries registration check" page
- Uses ipstack.com for accurate country locations.
- Uses internal table for recent IP locations.
- All phrases start with countryregistrationcheck_ for your convenience.
- Navigate to Sign Up - ipstack and sign up for their free plan.
- Enter access key into options page.
- Enter country codes into options page.
You view a list of blocked countries, add 'countryregistrationcheck' to your forum URL. Must be an admin to view this page.
Database changes:
A table called andy_country_registration_check is created in your database.
Questions and Answers:
Q: I want to block a few countries.
A: Enter those country codes into the Blocked country codes field. Leave the Allowed country codes field empty.
Q: I want to allow only a few countries.
A: Enter those country codes into the Allowed country codes field. Leave the Blocked country codes field empty.
Q: How far back in time does the country registration page show?
A: The last 24 hours.