Country restricted page

Add-ons Country restricted page 1.1

Register & Get access to index
Compatible XF Versions
2.0 , 2.1 , 2.2
Visible Branding
No
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:

ISO 3166-1 - Wikipedia
Author
XenForo
Views
First release
Last update
Rating
3.00 star(s) 1 ratings

Latest updates

  1. See description

    Country restricted page v1.1 changes: Now using ipapi.co for country lookup.
Back
Top Bottom