- Messages
- 1,019
- Reaction score
- 71
Info : Requires XF v2.1 or newer
Description :
Bloque l'enregistrement des pays spécifiés.
Blocks registration to specified countries.
(Example of options page) :
(Example of error message) :
Example of Country registration check page) :
Features :
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.
Country registration check v1.2 changes : Added 'Allowed country codes' to options page.
Country registration check v1.3 changes : Now compatible with PHP 7.4.
Country registration check v1.4 changes : Now compatible with PHP 7.4.
Country registration check v1.5 changes : Fixed issue where ipstack.com is over limit and variable was returned as null.
Country registration check v1.6 changes : Added additional code to prevent null condition server error logs.
Country registration check v1.7 changes : Added error handling code if ipstack.com returns invalid json.
Country registration check v1.8 changes : Now using ipapi.co for country lookup.
Country registration check v1.9 changes : The table andy_county_registration_check table is now being pruned by cron entry. The Country registration check page will now show every occurrence of rejected countries.
Description :
Bloque l'enregistrement des pays spécifiés.
Blocks registration to specified countries.
(Example of options page) :
(Example of error message) :
Example of Country registration check page) :
Features :
- Uses ipstack.com for accurate country locations.
- Uses internal table for recent IP locations.
- All phrases start with countryregistrationcheck_ for your convenience.
- Download Andy-CountryRegistrationCheck-1.0.zip and unzip it.
- Copy the src/addons/Andy/CountryRegistrationCheck directory to your server.
- From the Admin Control Panel Install the add-on.
- 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.
Country registration check v1.2 changes : Added 'Allowed country codes' to options page.
Country registration check v1.3 changes : Now compatible with PHP 7.4.
Country registration check v1.4 changes : Now compatible with PHP 7.4.
Country registration check v1.5 changes : Fixed issue where ipstack.com is over limit and variable was returned as null.
Country registration check v1.6 changes : Added additional code to prevent null condition server error logs.
Country registration check v1.7 changes : Added error handling code if ipstack.com returns invalid json.
Country registration check v1.8 changes : Now using ipapi.co for country lookup.
Country registration check v1.9 changes : The table andy_county_registration_check table is now being pruned by cron entry. The Country registration check page will now show every occurrence of rejected countries.
Attachments
-
Andy-CountryRegistrationCheck-1.1.zip20.1 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.2.zip20.3 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.3.zip22.4 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.4.zip20.3 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.5.zip22.4 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.6.zip20.8 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.7.zip20.5 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.8.zip20.8 KB · Views: 0
-
Andy-CountryRegistrationCheck-1.9.zip23.1 KB · Views: 0
Last edited:
Relate Threads