Skip to:
Content
Pages
Categories
Search
Top
Bottom

Please help with redirect upon activation.


  • soitopaula
    Participant

    @soitopaula

    Hello,

    I have tried for a month to redirect my buddypress users to my custom activation page upon activation. I do not want them to be sent to the homepage upon activation / first login.

    Currently, a user signs up, the “Welcome” email is sent with the activation link, they click the link, are logged into their new account and end up on the homepage.

    Is there a way to send them on first login upon activation to my page titled “Activate & Set Up” ??

    I have set EVERY setting in wp-admin which asks for “activation page” to my custom “Activate & Set Up” page. I use OneSocial Theme by BuddyBoss which integrates Woocommerce + Buddypress.
    I have tried the plugin BP Login Redirect and it only redirects to Profile page.

    Again, all wordpress, woocommerce, buddypress settings for activation page point to “Activate & Set Up”

    Thank you!!

Viewing 6 replies - 1 through 6 (of 6 total)

  • Venutius
    Moderator

    @venutius

    I think your best bet is to overload the activation page. You only want it to redirect the once, straight after registration so to me it would make sense to make the modifications there.

    there’s a function, bp__core_redirect() which should help, if you have experience with code?


    soitopaula
    Participant

    @soitopaula

    Thank you so much for the quick reply! Yes, only the one time (upon activation). That’s correct.

    I do not have experience with code, but I have a dev who does so I’ll forward this information to him.

    Any other advice needed to do this overload? Just work with bp_core_redirect() ?

    Thank you.


    Venutius
    Moderator

    @venutius

    Here details of the process:

    Template Hierarchy

    Also I’ve a plugin called BP template Overloader that might help with the process. It lays out the locations of the files and allows you to view and compare them. great for familaising yourself with the files.


    soitopaula
    Participant

    @soitopaula

    Ok. Hmm…. I’ve showed your first response to dev and they replied with the following…

    reply

    I’ll let them know about your BP template Overloader though as well.


    Venutius
    Moderator

    @venutius

    i thought you were talking about redirection after someone has visited the activation page? The activation page that you specify is the one that if used, but it’s only an anchor, the actual content comes from buddypress. not the actual page. But either way it’s why I suggested overloading that page from the code that builds it.


    soitopaula
    Participant

    @soitopaula

    Oh ok. No, I meant the very first page they land on from the welcome email link.

    Buddypress must have coded the activation page to be the home page then. Because there seems to be no getting to the actual “activation” page like you said.

    I will investigate more. I hope it can be done without too much headache! Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar