XenForo Country restricted page 1.1 Download

File Size: KB

Download Count:

File Update Date:

You can free Country restricted page


1.1 download the source from the button above

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-webp.259528


(Example of error message)

pic002-webp.240335


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
 

Similar Topics

Back
Top