[AndyB] Country restricted page

XF2 Addons [AndyB] Country restricted page 1.1
Allows page access only to countries specified in options page.

Compatible 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
  • Like (+1)
Reactions: notgabry
FateKid
Author FateKid
Level
11
5,910 pts
1.1 Version
0 Downloads
200 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)

More files from FateKid

Customize Your XenForo 2 Community

[AndyB] Country restricted page provides ultimate customization to your XenForo 2 community website! Enjoy powerful features that make your site stand out. Combine this add-on with XenForo 2 styles from our site and kickstart your online community now.

Why Download Our XenForo 2 Add-ons?

  • Easily enhance the quality of your XenForo online community.
  • Expand your XenForo 2 functionality with thousands of unique options.
  • Create unbelieveable user-experiences with advanced features.

Explore Other Resources

Are you looking for something different? Explore our thousands of unique and special XenForo 2 add-ons, available to download right now. FateKid shared this wonderful resource to you for free, so remember to share your appreciation by liking the resource and reviewing it.

Get started today and make your next project truly unique.

Top Bottom