Viewing 13 replies - 1 through 13 (of 13 total)
  • Ramona

    (@nextend_ramona)

    Hi @jerina90

    Are you using the latest Nextend Social Login version?

    I suggest using the data-redirect attribute to set the redirect:

    <a href="https://www.8thns.com/wp-login.php?loginSocial=facebook" data-plugin="nsl" data-action="connect" data-redirect="https://www.8thns.com/checkout/" data-provider="facebook" data-popupwidth="475" data-popupheight="175">Login</a>

    and that should work fine.

    Thread Starter jerina90

    (@jerina90)

    Hello

    Thank you very mutch for your answer.

    I am using the latest version. tested this code you send to me but its just redirecting to wordpress login page.

    I am using for facebook, that the redirection is working fine this code:
    <a class="nextend-fb" href="https://www.8thns.com/wp-login.php?loginFacebook=1&redirect=https://www.8thns.com/checkout/"><i class="fa fa-facebook" aria-hidden="true"></i>Sign in with Facebook</a

    But the same code for google is not working. I am using this one:
    <a class="nextend-goo" href="https://www.8thns.com/wp-login.php?loginGoogle=1&redirect=https://www.8thns.com/checkout/"><i class="fa fa-google-plus" aria-hidden="true"></i>Sign in with google</a>

    For google login it’s redirecting to homepage.

    Do you have any suggestion on this? Or any other code that will work?

    Thanks again

    Jerina

    Plugin Support Gabor

    (@nextendweb_gabor)

    Hi @jerina90!

    I checked it out and the redirection seems to be working well for me too on my testsite, so it will be something connected to your website. Please send me a link to where this button is! Also please rather send it to support@nextendweb.com because we might need to make some deeper tests.

    Thread Starter jerina90

    (@jerina90)

    It is in checkout but for easy test I created a new page with login buttons:

    https://www.8thns.com/test-login/

    I have used the code send to you before. Facebook is working fine but not google. Google is still using the default rederection set on plugin configuration that is homepage or whatever page I set there.

    Plugin Support Gabor

    (@nextendweb_gabor)

    Okey, I see now the problem! It seems like our global setting overwrites this custom redirection. We are currently out of office, because of a national holiday, but I will ask the senior developer to take a look at this on Wednesday and we will get back to you with a solution!

    Thread Starter jerina90

    (@jerina90)

    Great, Thank you very much 🙂

    Ramona

    (@nextend_ramona)

    Hi @jerina90

    I just wanted to let you know we haven’t forgotten you and working on your solution. I’m wondering if the login buttons were added by the theme developers or by one of your devs as I noticed you’re using a child theme. (This would help getting closer to the best solution.)

    Thread Starter jerina90

    (@jerina90)

    Hi Ramona

    Thank you for the answer. I was checking today for it 🙂

    I added manually this lines of code on the wordpress page. I does not have to do with the theme at all. And I don’t remeber where I got this code. Hope this helps.

    • This reply was modified 6 years, 5 months ago by jerina90.
    Thread Starter jerina90

    (@jerina90)

    If you can show me how to remove default redirection and use only this one here on my code will be a solution for me.

    Plugin Support Gabor

    (@nextendweb_gabor)

    At our Global settings -> General:
    https://nextendweb.com/nextend-social-login-docs/global-settings/
    you can find a “Fixed redirect url” for both the registration and login. This seems to overwrite the manually entered urls, so if you uncheck their checkboxes, your redirection should work fine!

    Thread Starter jerina90

    (@jerina90)

    Hi
    in setting > General fixed ridrect url is unchecked.

    But in settings > Nextend google connect > there are two fields that have the valude auto, but if I add any other value there the google redirect to that page. How can I disable this options?

    Thank you

    Ramona

    (@nextend_ramona)

    Hi @jerina90

    I suggest doing a legacy import:
    https://nextendweb.com/nextend-social-login-docs/legacy-import-google/
    https://nextendweb.com/nextend-social-login-docs/legacy-import-facebook/

    Because you’re currently using the old version and its codes and maybe that’s causing your problem.

    Thread Starter jerina90

    (@jerina90)

    Woooorkiiing 🙂 🙂

    Thank you very much for your help

    • This reply was modified 6 years, 5 months ago by jerina90.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Custom redirection issue’ is closed to new replies.