Redirect after Email Verification? – UserPro Forums https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/feed/ Sat, 11 May 2024 20:58:37 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29725 <![CDATA[Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29725 Wed, 26 Mar 2014 10:44:08 +0000 Kc Jones Hey Ahmed, i’m want to direct users to the login page after they have Activated their Email. Is this possible?
I also wanted to add a query string login/?redirect_to=http://example.com/example so that it would take them to that page after they logged in.

Would really appreciate your help on this matter. Thanks mate 🙂

]]>
https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29741 <![CDATA[Reply To: Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29741 Wed, 26 Mar 2014 11:33:00 +0000 admin Hi there! 🙂

What currently happens when they click the email activation link? Where do they go?

Thanks!

]]>
https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29744 <![CDATA[Reply To: Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29744 Wed, 26 Mar 2014 11:35:49 +0000 admin This is what happens after email activation:

$this->activate( $_GET[‘user_id’] );
wp_redirect( add_query_arg(‘accountconfirmed’, ‘true’, $this->permalink() ) );
exit;

So they are taken already to profile, and a notice saying their account is confirmed, they can login. Why it is not doing the same for you?

]]>
https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29756 <![CDATA[Reply To: Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29756 Wed, 26 Mar 2014 11:46:35 +0000 Kc Jones They click the link and are taken to the homepage with the query string attached.
It doesn’t take them to a login page.

Is there a custom code i could add in that would redirect them to a login page with a query string on the end that would redirect them after login?

]]>
https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29759 <![CDATA[Reply To: Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29759 Wed, 26 Mar 2014 11:49:28 +0000 admin Try:

wp_redirect( add_query_arg(‘accountconfirmed’, ‘true’, $this->permalink(0, ‘login’) ) );

Should redirect them to LOGIN page. Are you sure you have setup userpro pages correctly?

]]>
https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29760 <![CDATA[Reply To: Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29760 Wed, 26 Mar 2014 11:54:49 +0000 Kc Jones I don’t have my pages setup correctly. I have setup the login page to be /login rather than /profile/login

Not sure if it’s still possible to do?

]]>
https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29762 <![CDATA[Reply To: Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29762 Wed, 26 Mar 2014 11:56:50 +0000 Kc Jones Sorry, i just checked. The login and Signup pages are still registering in the Check / Rebuild Profile Pages options page.

So they are setup correctly and linked in there.

The members directory, logout and edit profile aren’t however, i’ve privatised those pages

]]>
https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29777 <![CDATA[Reply To: Redirect after Email Verification?]]> https://forum.userproplugin.com/forums/topic/redirect-after-email-verification/#post-29777 Wed, 26 Mar 2014 13:48:08 +0000 admin Please change the wp_redirect location to point to your login page 🙂

]]>