Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    PMPro does do this by default. It will redirect the register page to the PMPro levels page.

    You can either (1) create a Free level for users to sign up with without paying or (2) use code like this to enable the default registration page so people can sign up as “users” without a membership level.

    add_filter('pmpro_register_redirect', '__return_false');
    Thread Starter zipperfly

    (@zipperfly)

    I don’t think you read my question right or I just did a bad job at describing the problem.

    I was trying to say that wp-signup was not being redirected.

    With pmpro activated and set up, whenever anyone goes to wp-signup the regular register form comes up and is not redirected to the levels page.

    PMpro is not redirecting the register page to the PMPro levels page.
    The regular wordpress register and “give me a site” form is showing which in turn let’s users not go through the membership pay process.

    I hope this is not the default process for pmpro.

    add_filter('pmpro_register_redirect', '__return_false');

    Where does that line of code go?
    Just that one line will do what I am asking?

    Thanks for your time and help.

    Thread Starter zipperfly

    (@zipperfly)

    Never mind, I got the help else where.

    Thanks for trying though.

    Hi there,

    I’m having the exact same problem. Could you please tell me how you fixed it.

    The help would be greatly appreciated.

    Thank you!

    Plugin Author Jason Coleman

    (@strangerstudios)

    It wasn’t clear in the original post that OP was using the PMPro Network plugin on a multisite network.

    For this setup, you should either

    (1) Update the “Allow New Registration” settings (/wp-admin/network/settings.php) to “Registration is Disabled”. Users will still be able to register through the PMPro checkout page.

    and/or

    (2) Update the $pmpro_network_non_site_levels = array(); global set at the top of pmpro-network.php to include only the levels which should get a site on registration. For example if level 1 was a free level for subscribers and levels 2, 3, and 4 were paid levels to get sites, you would use:

    $pmpro_network_non_site_levels = array(2,3,4);

    Hope this helps.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Should PMPro be blocking wp-signup?’ is closed to new replies.