• Resolved chuckkidd

    (@chuckkidd)


    Here is what I am trying to make work and need some guidance. I have 5 websites running and needed to creaate a single registration page in Ultimate Member the write the code behind it so one registration form populated all 5 websites.

    Here is the structure as it is created . Free1st.com is a WordPress website and it is the website (lets call it the mother). that has 4 php core sites attached to the brand. They are freedomsbook.com, sqwaak.com, 1stvideotube.com and sqwaak.club.

    I created a subdomain called join.free1st.com it has UM installed with the idea to use its own database to handle simply the reg9stration. It is not user facing.

    The registration is working perfectly you can see it here https://join.free1st.com/1stregistration/ after registering the user id directed to Free1st (the mother) and from there he can choose any of the 4 other sites to go login with same credentials. THIS IS WORKING GREAT.

    NOW let me tell you the problem. It involves a user resetting/changing the password. When a user want to change his password he must do it from the reset password page in the reg subdomain join.free1st.com so we can populate that change across all other sites. BUT i cant find a way to have the email with the link to change password redirect the user back to free1st.com after making the change. It stays on the join.free1st.com with the message we are sending you an email etc. I need it to send the user back to the home page at Free1st. Also the confirming email if i use it also goes back to the join.free1st when user clicks on link in email. Again it needs to send him to free1st home page.

    in a nut shell after changing pw at join.free1st.com user must always br directed back to free1st.com (the mother)after submitting request for change, the email that is sent with link takes him to Join.free1st to make the change and when he subits the change he must be sent to free1st home page

    I hope someone has a clue how to get this fixed.
    \Thanks in advance, Chuck

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you set up the sites as a multisite installation? If so that may be the only way to do what you’re asking where your primary plugins are used through all the sites. I haven’t used a multisite installation because it’s some work but it might help you get where you’re going.

    That would be a wordpress multisite solution though and not UM. That said, you should get some confirmation from UM devs to be sure it’d play nice how you want it before going to that sort of effort to redo things as a multisite installation.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @chuckkidd

    Sorry for the late response.

    Could you please try this code snippet below? This will redirect the user to Free1st.com site after changing the password:

    add_action("um_after_changing_user_password","um_041521_changed_user_password");
    function um_041521_changed_user_password( $user_id ){
      
       exit( wp_redirect( "https://www.free1st.com/login/?updated=password_changed" ) );
    
    }

    You can add the code snippets in the theme functions.php file or the Code Snippet plugin to run the code.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @chuckkidd

    This thread has been inactive for a while so we’re going to go ahead and mark it Resolved.

    Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

    hello..i’m have a main site https://www.wajaraja.com and 31 subsites (wordpress multisite) and under development. I want when a user has registered on the main site, automaticly that user can log in and out of on the subsite without sync. is this possible? and how i do? thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using Ultimate Member to register members across 5 website’ is closed to new replies.