This topic has 8 replies, 3 voices, and was last updated 10 years by gm713.

  • Author
  • #27863
     gm713
    Participant

    Hi. I’m trying to redirect the user to a Registration Successful (http://greencardez.net/registration-successful/) page upon successfully submitting the registration form.

    I tried using “Peter’s Redirect Login” plugin (see attached for selected options) but unable to achieve this goal.

    Any thoughts on how to accomplish this with this plugin or using any alternate method?

    Attachments:
    You must be logged in to view attached files.
    #28830
     Catalin
    Moderator

    please take a look here:

    https://archived.seventhqueen.com/forums/topic/log-in-redirect

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #28987
     gm713
    Participant

    Hi Catalin,

    I looked at the link, but I’m not trying to redirect the user when they login, but instead display a different page upon successful signup/registration.

    From what I understand, Peter’s Redirect Login does that for native WordPress registration page, but since we’re using BuddyPress Registration page it doesn’t work.

    Thoughts?

    #29905
     Catalin
    Moderator

    @gm713: please take a look at:

    http://premium.wpmudev.org/blog/redirect-wordpress-users-to-a-custom-thank-you-page-after-registration/

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #29907
     gm713
    Participant

    @catalin thanks for the link. I’ve tried this before.

    Per my understand, Peter’s Login Redirect works great for WordPress registration, but KLEO uses Buddypress registration form, so it doesn’t work OOB.

    For the 2nd solution on the recommended link, it asks to redirect “?checkemail=registered”, but in KLEO successful registration URL, there is no suffix, so it doesn’t apply.

    Am I missing something?

    #29944
     sharmstr
    Moderator

    hey @gm713

    Can you give me an idea of what you’re trying to accomplish with the success page? Depending on your needs you might be able to inject stuff into the registration process using do_action( ‘bp_before_registration_confirmed’ ) or do_action( ‘bp_after_registration_confirmed’ ).

    Or you could customize register.php by removing the default “You have successfully created your account!” message and adding your own message or some cool things with shortcodes.

    Or you could customize register.php by adding your redirect in the if ( ‘completed-confirmation’ == bp_get_current_signup_step() ) code block.

    Sorry for the all the options, but I’m not aware of any easy hook to do what you want. That doesn’t mean one doesn’t exist though.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #30021
     gm713
    Participant

    @sharmstr Thanks for your reply, and offering to help.

    Here’s what I’m trying to do – I am trying to create a separate Registration Successful page. Reason for this is 2 fold:

    1) I want to be able to set up and track goals in google analytics and paid SEM campaigns. This way when I can track it via a unique (separate) URL.
    2) I want to be able to customize the destination page using the WYSIWYG editor/KLOE theme

    Also, as a final note, my preference would be a plugin of some sort to keep it simple, but if it came to touching code, then I would prefer to do it within the child theme for future proofing/preventing losing it with any core updates.

    Makes sense?

    #30119
     sharmstr
    Moderator

    Google is amazing for this stuff 🙂 http://wordpress.stackexchange.com/questions/18301/redirect-after-registration-in-buddypress The code in answer two worked for me.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #30124
     gm713
    Participant

    Thanks Man. Yes, I googled and implemented a solution pretty similar to this but didn’t work for me. This one worked like a charm.

    Thanks again, appreciate it.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Registration Confirmation page redirect’ is closed to new replies.

Log in with your credentials

Forgot your details?