Google redirect (social shortcode) not working – UserPro Forums https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/feed/ Tue, 14 May 2024 22:04:51 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38145 <![CDATA[Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38145 Fri, 23 May 2014 11:43:19 +0000 Emanuele Venditti hi there,
I have set up both twitter and google for the social login shortcode. I am using this code:

[userpro_social_connect facebook_title="Connect with Facebook" twitter_title="Connect with Twitter" google_title="Connect with Google" size=normal facebook_redirect="http://www.mysite.com/special/"]

Twitter is configured as follows:
Redirect after registration: http://www.mysite.com/special/
REdirect after login: http://www.mysite.com/home

Google the same.
Redirect after registration: http://www.mysite.com/special/
Redirect after login: http://www.mysite.com/home

I then set up a Custom Redirect for Subscribers to ensure that also Facebook logins are taken to http://www.mysite.com/home

Everything works. Except for Google.

I did some testing and basically the Redirect after registration is ignored completely. Users who register with google are taken to the page I set up for “redirect after login”. I have tried with brand new google account connections, not just mine, which would have been saved someone in the settings.

Anybody else has noticed this?
I have the latest version of UserPro (even though it’s showing 1.0.88 in WordPress. Ah, I have WordPress 3.9.1

Cheers

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38147 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38147 Fri, 23 May 2014 11:47:09 +0000 admin If it is a new google connected user it uses the signup redirect as in this code

$user_pass = wp_generate_password( $length=12, $include_standard_special_chars=false );
$unique_user = $this->unique_user(‘google’, $user_info);
$user_id = $this->new_user( $unique_user , $user_pass, ”, $user_info, $type=’google’ );
userpro_auto_login( $unique_user, true );

if (userpro_get_option(‘google_signup_redirect’)){
wp_redirect( userpro_get_option(‘google_signup_redirect’) );
} else {
wp_redirect( $this->permalink() );
}

It is also set in admin panel as custom redirect URL after registration; please re-download the plugin here:

http://userproplugin.com/userpro/customer_portal/

Please try it again

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38149 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38149 Fri, 23 May 2014 11:50:13 +0000 Emanuele Venditti hi and thanks. Sorry, not too techy here. What am I supposed to do with the code you shared?
Or should I just re-download the plugin?

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38155 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38155 Fri, 23 May 2014 11:56:42 +0000 admin It just show you that it should indeed use the google redirect feature, please re-download the plugin and try again.

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38157 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38157 Fri, 23 May 2014 12:00:53 +0000 Emanuele Venditti OK! I’ll do that! Thanks!

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38159 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38159 Fri, 23 May 2014 12:01:47 +0000 admin Keep me posted Thanks!

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38162 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38162 Fri, 23 May 2014 12:10:50 +0000 Emanuele Venditti No luck. Still redirecting to the url specified for login redirection, not registration redirection.
Guess it could be a conflict with other settings (backend redirects etc). I’ll probably have to disable google integration, but it’s a shame! I really wanted to use it!

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38164 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38164 Fri, 23 May 2014 12:16:58 +0000 admin That is not logical; it will redirect only to signin url if you are resigning in already have account or such.

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38176 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38176 Fri, 23 May 2014 13:07:31 +0000 Emanuele Venditti I know, it’s bizarre, but I asked friends to try using their google account which surely had never been associated with my development site. I’m too tired to think straight now, I will look into it further tomorrow.
Thanks for the help,
cheers

]]>
https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38181 <![CDATA[Reply To: Google redirect (social shortcode) not working]]> https://forum.userproplugin.com/forums/topic/google-redirect-social-shortcode-not-working/#post-38181 Fri, 23 May 2014 13:41:28 +0000 admin Cheers; keep me posted

]]>