Registration check

Registration check [Paid] 1.2

No permission to buy ($35.00)

AndyB

Well-known member
AndyB submitted a new resource:

Registration check - Blocks registration to specified countries.

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.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/

Note: all my XF1 add-ons are still 100% free and are supported by donations.

Description:

Blocks registration to specified countries.

(Example of options page)...
Read more about this resource...
 

rdn

Well-known member
Instead of ipstack, Can you please add an option to use CloudFlare GEO Country feature?
Thanks!
 

rdn

Well-known member
What if I reached my Free monthly API usage which is 10k, will it silently fail to do a lookup and just allow the registration?
 

rdn

Well-known member
I hope this addon has support.
Bug?
Server error log
  • ErrorException: [E_NOTICE] Undefined index: country_code
  • src/addons/Andy/RegistrationCheck/XF/Pub/Controller/Register.php:68
  • Generated by: Unknown account
  • May 9, 2019 at 1:54 AM
Stack trace
#0 src/addons/Andy/RegistrationCheck/XF/Pub/Controller/Register.php(68): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/nginx/dom...', 68, Array)
#1 src/XF/Mvc/Dispatcher.php(321): Andy\RegistrationCheck\XF\Pub\Controller\Register->actionIndex(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(244): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'Index', Object(XF\Mvc\RouteMatch), Object(Andy\RegistrationCheck\XF\Pub\Controller\Register), NULL)
#3 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Andy\RegistrationCheck\XF\Pub\Controller\Register), NULL)
#4 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#6 src/XF.php(390): XF\App->run()
#7 index.php(20): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(10) "/register/"
["referrer"] => string(34) "https://www.site.com/register/"
["_GET"] => array(1) {
["/register/"] => string(0) ""
}
["_POST"] => array(0) {
}
}
 
Top