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

Email with unique link is not sent to a new member

Simple Membership Plugin › Forums › Simple Membership Plugin › Email with unique link is not sent to a new member

Tagged: email with unique link

  • This topic has 8 replies, 3 voices, and was last updated 9 years, 8 months ago by mbrsolution.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • September 11, 2016 at 9:25 pm #8214
    Koenraad
    Participant

    Hi,

    I’m setting up the simple membership plugin for multiple free memberships.
    When a new member has registered the member immediately receives an email to confirm that he is registered.
    In this mail he receives his user id and password.

    What I expected is that the member first receives an email with a unique link to validate his account.
    This never happens.

    Is this only working for paying members ? I hope not.

    Any help in resolving this is much appreciated.
    I need to get this working.

    Regards,
    Koenraad

    September 12, 2016 at 6:13 am #8216
    mbrsolution
    Moderator

    Hi, yes this is currently only set up for paid members sign up. Would redirect to a thank you page help you in any way?

    September 12, 2016 at 1:01 pm #8221
    Koenraad
    Participant

    Hi, thank you for your answer. Redirection to a thank you page would indeed be helpfull.
    How can I implement this in an easy way?

    Is there also a possibility to make changes to the sourcecode in order to activate the unique link for free members?
    If so, could you tell me where to find the necessary docs on how to change this ?

    Thank you,
    Regards,
    Koenraad

    September 12, 2016 at 9:08 pm #8230
    mbrsolution
    Moderator

    Hi, in regards to sending the member to a different URL after registration.

    You can add the following function to your theme functions.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);
    }

    In regards to your second question, check the following action hooks. They might be able to help you achieve what you are trying to do.

    Regards

    September 13, 2016 at 8:29 pm #8262
    CSFLA
    Participant

    Hi. Sorry to hijack this thread. Do all action hooks get pasted into the functions.php file? Do they get overwritten if you update the plugin? Many thanks, David 🙂

    September 13, 2016 at 9:37 pm #8264
    mbrsolution
    Moderator

    Hi @David, you could say that yes most hooks are functions. They are added to your functions.php file.

    The answer to your second question is yes, if they are added to the themes functions.php file. This is why many will always recommend you to create a child theme to do all your customization. That way when ever you update your theme, your will never loose your custom code “hooks” added in your child functions.php file.

    Let me know if you need more help.

    September 21, 2016 at 6:33 pm #8395
    Koenraad
    Participant

    Hi,

    mbrsolution, thank you very much for the tips.
    I will try them out in the child theme that I use on the site.

    September 22, 2016 at 12:42 am #8398
    Koenraad
    Participant

    Hi,

    mbrsolution, I’ve tried adding your code for redirecting to a thank-you page to the functions.php file of my child theme.

    It works perfectly.

    Thanks again,
    Koenraad

    September 22, 2016 at 1:34 am #8399
    mbrsolution
    Moderator

    Hi Koenraad, I am happy to know the code worked for you 🙂

    Enjoy the plugin

    Regards

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 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