• Resolved wpconsultant

    (@wpconsultant)


    Hi,

    Members not redirected to profile page after new member registration or for returning users logging in. There are no conflicting plugins or caching issues.

    Please help.
    Thank you.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support mansurahamed

    (@mansurahamed)

    Hi @wpconsultant,

    It worked perfectly for me, I have registered a new user and was redirected to my profile page . You can check

    https://www.hardmoney.com/user/test007/

    Thanks.

    Thread Starter wpconsultant

    (@wpconsultant)

    Hi,

    I clicked on the link provided and see the profile page you’re referring to. However it appears I was not clear in what I meant by profile page. I’m referring to the default profile form that contains all the profile questions that I configured in the backend of the wp dashboard. When one navigates to ultimatemember>forms There are over 40 questions on that default profile form. I wish the user to be directed to the page that contains all the questions on that default profile form .

    Your help is greatly appreciated:)

    Thread Starter wpconsultant

    (@wpconsultant)

    To further clarify the profile questions are only visible if the user clicks on the gear icon on the top right when user is logged into their profile. I wish to direct the user directly to the default profile form and see all the questions on the default profile form without requiring the user to click on the gear icon.

    Plugin Support mansurahamed

    (@mansurahamed)

    Hi @wpconsultant,

    So you want to redirect user to profile edit mode. We don’t have any settings to do that right now. But You can do that easily by custom code. Add following code in your child theme’s functions.php file which should do the trick

    add_action( 'um_registration_after_auto_login', 'my_after_registration_complete', 10, 1 );
    function my_after_registration_complete( $user_id ) {
       exit( wp_redirect( um_edit_profile_url()) );
    }

    Thanks.

    Thread Starter wpconsultant

    (@wpconsultant)

    I also wish the user to be directed to profile edit mode when returning to login at a later date for example if the user logs out and logs in again. Can that be done as well?

    Also can this feature be submitted as a feature request or does such feature request have to be submitted directly to ultimate plugin support?

    Also, is there a specific line number within child theme’s functions.php file where this code should be inserted?

    Plugin Support Alex Pull

    (@alexpull)

    Hi @wpconsultant,

    You can use this URL structure your site URL/user/?um_action=edit and add it to the Redirect after login section in Ultimate member -> Roles -> Your user role and action to be taken after login.

    Regards.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @wpconsultant,

    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 if any other questions come up and we’d be happy to help… ??

    Regards,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘not redirecting to profile page after registration or login’ is closed to new replies.