Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #570808

    Hi,

    We are ready to launch the website I’ve been working on, but I have a small issue with the login forms I am placing in an iframe. Basically the login is to a non-Wordpress site with a different domain.

    Right now, since we are keeping two backends for the transition, I need the signed up visitors to be able to choose which backend they log in to. So I’ve created a page that I add to the Login menu item, that opens in a lightbox, and they can choose where to login (using the same login details)

    The problem I ma having is that once they click on the loging for whatever platform they choose, that page stays in the iframe for a couple of seconds, then redirects to the full page. How can I keep that login form in the lightbox iframe so that they stay on the same page until they are logged in and redirected to the logged in site?

    Thanks a lot in advance

    #570809

    Edit: Even if I add the login URL to the menu item with the iframe, it has the same behavior – stays in the iframe for a few seconds then redirects to the page.

    Also, how can I remove the dark grey colour on the top and bottom, so only the white abstract image shows?

    Thank you!

    • This reply was modified 8 years, 3 months ago by Viuliloush.
    #570876

    Hi!

    The redirect happens for security reasons.
    The iframe can not login the form, as it can bring exploits.

    I do not thing it is something u have to consider doing.

    Regards,
    Basilis

    #571128

    Hi,

    In this case, how can I make sure the redirect happens instantly as soon as someone slick on the button, and not after a few seconds as it is now?

    #572310

    Hi!

    I don’t think this is a theme related issue, but you can try to activate a default theme to check if you get the same results there as well or not. Let us know about it.

    Best regards,
    Andy

    #572698

    Hi Andy,

    Thanks!

    We;re actually looking at this fro our end, so hopefully it will be sorted.

    Thanks again for all your team’s help :)

    #573519

    Hi!

    We added the “noLightbox” class to the Login and Register menu items. This should disable the lightbox for those menu items.

    Regards,
    Ismael

    #573568

    Hi,

    I actually wanted the lightbox, i just needed the redirect to happen instantly.

    I’ve removed the class from the menu items.

    You can close this ticket.

    Thanks a lot for your help :)

    #574345

    Hi!

    Alright. No problem! If you have more questions, let us know. :)

    Best regards,
    Ismael

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Login form doesn't stay in lightbox iframe’ is closed to new replies.