Support » Plugin: IP Geo Block » Blocking the registration

  • Resolved 100janovic

    (@100janovic)


    Hi, first of all I would like to thank you for the free plugin.

    I have one question, is it possible to block registration only for all non-whitelist countries?

    I managed to find the “Back-end target settings”, but do I have to set up something else, but it just does not work ..

    please help me, and thank you

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi @100janovic,

    Did you try “Target actions” at “Login form” in “Back-end target settings” section?

    Back-end target settings

    is it possible to block registration only for all non-whitelist countries?

    You can turn off all the target actions except “Register“.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    I added a picture that shows target actions on the online document. Please refer to https://www.ipgeoblock.com/codex/back-end-target-settings.html#login-form

    Thanks for asking!

    I set it, and I’m not enabled .. is the plugin compatible with Woocommerce?

    Do I need to have an option to include this again?

    Thank you very much for your support

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi @100janovic,

    is the plugin compatible with Woocommerce?

    Uh huh! I’ve got what you want.

    I assume you have a registration page for Woocommerce. In this case, we have to think about 2 blocking target.

    1. Block the registration page from being displayed
    If you have http://example/registration/, then the page “/registration” should be blocked. In this plugin, a page can be configured at “Validation target” in “Front-end target settings” section.

    See the topics “Buddypress registration page” and “Access from blocked country(?)“.

    2. Block the request directly posted to an end point
    There’s a case that the request may be posted directly to an end point without going through the registration page using some tools. Usually, the end point is wp-login.php which can be configured in “Target actions” in “Back-end target settings” that I explained in the previous thread.

    But I don’t know the case of Woocommerce because I have no experience with it. If Woocommerce uses another end point to register a new user, additional consideration is needed. I’ll check it.

    The problem is that my registration is with login on one page. In that case, I can not block that page only. is there any possibility to solve this otherwise?

    Plugin Author tokkonopapa

    (@tokkonopapa)

    OK. So your registration page is like http://example.com/wp-signup.php, right?

    Then I’m sorry but I have to update this plugin if you turn on only “Register” at “Target actions” of “Login form” in “Back-end target settings” section.

    And I also have found that this plugin has something bad for registration process of woocommerce from http://example.com/my-account (is it the default registration page of woocommerce?).

    Please keep watching this topic until I complete my renovation and verification.

    Thank you for your patience.

    • This reply was modified 9 months, 4 weeks ago by  tokkonopapa.
    • This reply was modified 9 months, 4 weeks ago by  tokkonopapa.

    Yes, this is the default page of the woocommerce for registration and login.
    http://example.com/my-account

    Will you be able to update it soon? thanks for the big one

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Well, do my best on week end 🙂

    I need this for tomorrow ☺, see if there is some way to separate the registration from logins into two special pages. and then block it in the way it can be done.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Try this one: https://gist.github.com/tokkonopapa/6a6427c0af2d58a48281987321a05746/archive/e7ca48e73e958b3d5ce03b193802b451484252c1.zip

    Unzip and upload class-ip-geo-block.php into `/wp-content/plugins/ip-geo-block/classes/’.

    Hello tokonopapa,

    I managed to solve my problem.
    Thanks a lot for the support

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Dear all,

    In version 3.0.17.1, I fixed the issue that wp-signup.php was not blocked when only “Register” was enabled as “Target actions” at “Login form” in “Back-end target settings” section.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Blocking the registration’ is closed to new replies.