[AndyB] Country restricted page

Premium XF2 Add-ons [AndyB] Country restricted page 1.1
Allows page access only to countries specified in options page.

Compatible XF versions
2.0, 2.1, 2.2
Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:

https://www.xf2addons.com/

Description:

Allows page access only to countries specified in options page.

(Example of Options page)

pic001.jpg



(Example of error message)

pic002.jpg



Features:
  • Uses ipapi.co for accurate country locations.
  • All phrases start with countryrestrictedpage_ for your convenience.
Setup:
  1. Enter Allowed country codes into options page.
  2. Enter Node ID into options page.
Questions and answers:

Q: How can I get the Node ID?
A: Go to the following location:

Admin control panel -> Forums-> Nodes

Hover over Page title, you will see the Node ID in the URL shown at the bottom of the browser.

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
Author
FateKid
Downloads
0
Total Views
80
Released
Version
1.1
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 registration check FateKid
Blocks registration to specified countries.
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