Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Change de message : Registration Successful. Please Login.

Simple Membership Plugin › Forums › Simple Membership Plugin › Change de message : Registration Successful. Please Login.

  • This topic has 3 replies, 2 voices, and was last updated 10 years, 8 months ago by mbrsolution.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • March 11, 2016 at 8:00 pm #5842
    valeried
    Participant

    Hi,

    Because I need to manually approve members on my site, I need to change the message: Registration Successful. Please Login., when someone finish their registration. (I don’t want them to try to login when they are not approved…)

    Thanks a lot,
    Valerie

    March 11, 2016 at 10:19 pm #5844
    mbrsolution
    Moderator

    Hi Valerie, try the following function. This functions allows you to redirect the member to a different page after the registration. Let me know if it works.

    Add the following function to your theme function.php file.

    add_action('swpm_front_end_registration_complete', 'sam_after_registration_redirection');
    function sam_after_registration_redirection()
    {
    $url = 'http://www.yourwebsite.com/thank-you/';//TODO - Specify the URL that you want to redirect to
    wp_redirect($url);
    }
    March 15, 2016 at 6:59 pm #5876
    valeried
    Participant

    Hi,

    I tried, but it is always redirected to the message: “Registration Successful. Please Login.”

    Otherwise, there is a place where I can change the text?

    Thanks again,
    Valérie

    March 15, 2016 at 10:39 pm #5880
    mbrsolution
    Moderator

    Hi, in the function that I provided above which URL did you add for the members to be redirected to? Did you try a custom URL?

    Do you also happen to have the Form Builder add-on?

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy