[AndyB] Country registration check

Premium XF2 Add-ons [AndyB] Country registration check 1.9
Blocks registration to specified countries.

Compatible XF versions
2.1, 2.2
Description:

Blocks registration to specified countries.

(Example of options page)

pic001.jpg



(Example of error message)

pic002.jpg



(Example of Country registration check page)

pic003.jpg



Features:
  • Uses ipapi.co for accurate country locations.
  • Uses internal table for recent IP locations.
  • All phrases start with countryregistrationcheck_ for your convenience.
Setup:
  1. Enter country codes into options page.
View countries registration check 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.

Q: Where can I get a list of country codes?
A: Here's a link to the Alpha-2 country codes:

https://en.wikipedia.org/wiki/ISO_3166-1
  • Like
Reactions:deanon
Author
FateKid
Downloads
0
Total Views
76
Released
Version
1.9
Rating
0.00 star(s) 0 ratings

More files from FateKid

Share this resource

Similar resources

[AndyB] Country flag FateKid
Shows a country flag in the message user info block.
0.00 star(s) 0 ratings
Downloads
0
[AndyB] Country restricted page FateKid
Allows page access only to countries specified in options page.
0.00 star(s) 0 ratings
Downloads
0
[AndyB] About tab default FateKid
Makes the About tab in Member view the default selection.
0.00 star(s) 0 ratings
Downloads
0