• spotdiecontrole

    (@spotdiecontrole)


    Please i have a problem. I love this memberswhip plugin. But there is a problem….

    New users can enter a membership by press on sign up and register a for a new account.

    – Allot of users uses fake emails. There is no email activity link etc.
    – Even when you enter info@nnn.22 it register the user.

    This is a big problem. Please i want to disable the intergrated membership 2 user registration page.

    I need users to register in the standard wordpress registration form!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello spotdiecontrole,

    Please try adding this line to your child themes functions.php file

    add_filter('ms_frontend_handle_registration', '__return_false');
    

    this will tell Membership to not handle registration. Then where you have links to registration on your site change them to right one.

    Let me know if this works for you.

    kind regards,
    Kasia

    Thread Starter spotdiecontrole

    (@spotdiecontrole)

    Hi Kasia

    I still get the registration form. Is it also possible to add this code with code snippet to get this work?

    Thread Starter spotdiecontrole

    (@spotdiecontrole)

    I add this line to code snippet but still no result. Please help 🙁

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @spotdiecontrole, I hope you are doing well.

    To stop the “Registration” link on the wp-admin redirecting to the Membership 2 registration page, please edit the file: membership/app/controller/class-ms-controller-frontend.php.

    On the line 112 change this code:

    self::$handle_registration = apply_filters(
                    'ms_frontend_handle_registration',
                    true
                );

    To this :

    self::$handle_registration = apply_filters(
                    'ms_frontend_handle_registration',
                    false
                );

    This will stop the redirection and users will be able to register with WordPress default registration method.

    Let me know if you have any further questions!

    Cheers,
    Nastia

    Thread Starter spotdiecontrole

    (@spotdiecontrole)

    Hi Nastia

    I changed the line from true to false. But still there is the register form…

    Is there a way to send an activation link to new users. And when they press the activation link than the account will be enabled?

    Thanks for you good replyzz

    Thread Starter spotdiecontrole

    (@spotdiecontrole)

    You can check this link and you will see the user registration form still appear

    http://www.spotdiecontrole.nl/register/

    Thread Starter spotdiecontrole

    (@spotdiecontrole)

    PLEASE HELP

    I changed the code to false but the registration page still appear. How is this possible?

    Please help me out with this i beg 😉

    You can check this link and you will see the user registration form still appear

    http://www.spotdiecontrole.nl/register/

    Plugin Support Imran – WPMU DEV Support

    (@wpmudev-support9)

    Hello @spotdiecontrole, I hope all is well!

    The code above, will not redirect users from the /wp-admin/ page to the Membership registration page. Instead, while users are on /wp-admin/ page and click on register button they are redirected to the WordPress default registration, please see the link bellow:
    yoursite.com/wp-login.php?action=register

    To use the default WordPress, please redirect users to the above link. Once a user is registered, redirect to a page when he or she can sign up for a membership. For redirect plugin, you can try the Peter’s Login Redirect plugin

    I hope this will help!

    Kind regards,
    Nastia

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘DISABLE MEMBERSHIP USER REGISTRATION’ is closed to new replies.