What's new

Welcome to KodeBlend Forums

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask questions and get answers from our community

Answer

Answer questions and become an expert on your topic

Contact us

Contact the site administrator directly.

Telegram

Join Telegram Channel to stay updated.
ifastnet
Geoblock Registration

Xenforo Geoblock Registration v1.2.1

No permission to download
This XenForo 2.x addon provides Geoblocking capabilities for user registration.

You can set allowed and denied lists for countries based on the IP address a user registers from - and optionally force users from non-approved countries into the moderation queue when registering.

The addon uses the free
Please, Log in or Register to view URLs content!
downloadable IP database to identify the country associated with the IP address of a registering user.

As an example, a typical use-case for this addon might be for an Australian website to allow users from Australia and New Zealand to be approved automatically, while users from, say, Russia, Nigeria and other common sources of spammers are blocked from registering. Users from all other countries can be placed into the moderation queue for manual approved by moderators.

Note that as of 30th Dec 2019, you can no longer directly download the Maxmind GeoLite2 database - see:
Please, Log in or Register to view URLs content!
. Version 1.1.0 of this addon addresses this change with the ability to specify a license key from your Maxmind account which will allow you to download.


GDPR block

A "Reject EU Registrations" option can be enabled to automatically block registrations from any countries within the European Union, which may help minimise risk for sites which are not serving EU members and do not intend to implement full GDPR support. Note that existing registered users will be unaffected by this setting - it only applies at registration.

This option will be over-ridden by Approved and Denied lists, which can be useful for cases such as the UK, where they are technically still part of the EU until Brexit occurs, so by adding "GB" to the Approved list, you can avoid blocking people from the UK while blocking everyone else in Europe.

Of course, users can always use a proxy server to get around these blocks - but at least you've made a concerted effort to block EU members - which is all you can do.

The message a user will receive when their registration is rejected because of the EU block is "Your registration has been rejected because we do not allow people from the European Union to use our site. Please contact the administrator for further information or assistance."

Installation

1. Install the addon using the standard installation mechanisms. The addon will create a single database table for caching of IP address lookup data.

2. Be sure to add some approved and denied countries to the configuration options - see below.

3. Download the GeoLite2 database using the "Update Maxmind Database" function, which can be found under the Tools menu in the admin area. The database is updated by Maxmind weekly and will be automatically downloaded every week using a cron task.

You must have the Phar extension enabled on your server for database download and extraction to function.

Configuration options

1577954773085.png



1577954790293.png



1577954804169.png



Database update

The GeoLite2 database is updated automatically once per week using a cron task to download it from Maxmind's servers. To manually update the database, you can use the update tool in the Admin area:

1574937743360.png



Lookup test

Perform a database lookup and show the country code for the IP address

1574937903207.png



Configuration tester

Test an ISO code against your configuration options to determine what action would be taken for a user from that country. Optionally simulate a user from the EU to test EU block configuration.

1574938003404.png


View attachment 3104
  • Like
Reactions: eyulya1
Author
KodeBlend
Downloads
0
Views
18
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from KodeBlend

shape1
shape2
shape3
shape4
shape5
shape6
Back
Top
Whatsapp Support
Start a Conversation
Hi! Click one of our member below to chat on Whatsapp
The team typically replies in a few minutes