Block country

Block country 1.7

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.3
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:

Blocks access to specified countries.

(Example of Options page)

pic001.webp


(Example of access denied message)

pic002.webp


(Example of Block country link)

pic003.webp


(Example of Block country page)

pic004.webp


Features:
  • All phrases start with blockcountry_ for your convenience.
Setup step 1:

Install the MaxMind updater add-on.

https://www.xf2addons.com/resources/maxmind-updater.888/

Setup step 2:

Update the Options page with your Destination path.

Viewing which countries were blocked:

Click the Block country link in the visitor menu. Must be an admin to see this link.

Database changes:

A table called andy_block_country is created in your database.

Question and answers:

Q: How often are entries in the xf_andy_block_country table deleted?
A: The Block country cron entry runs every hour, data older than one hour will be deleted.

Q: I'm on XenForo Cloud, what Destination path should I use?
A: Enter the following: internal_data/local/maxmind
Author
AndyB
Views
271
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AndyB

Latest updates

  1. See description

    Block country v1.7 changes: Updated phrases.
  2. See description

    Block country v1.6 changes: Now using Composer method. GeoIp2 library is now included in the...
  3. See description

    Block country v1.5 changes: Updated Options page descriptions.
Back
Top Bottom