Sidebar Login
Refresh after login (7 posts)

  1. ozdave
    Posted 4 years ago #

    Hi, I have just started using the sidebar login and am having a problem with the page refresh after a successful login

    If I enter a correct username and password, then click on login button, no messages are displayed, the form just clears. If I hit refresh in my browser the sidebar refreshes as expected and displays the welcome and links I have configured.

    Is there a way I can force a refresh of the page post login?

    Has anyone else seen this before? I found a post on google but the fix wasnt one for me.




  2. ozdave
    Posted 4 years ago #

    ok i fixed this by editing sidebarlogin.js and adding

    result1 = window.location.reload(true)

    In the following location

    if (result=='SBL_SUCCESS' || result.indexOf( 'SBL_SUCCESS' ) > 0) {
    window.location = jQuery('.redirect_to:eq(0)', thisform).attr('value');
    // The next line forces refresh of the page
    result1 = window.location.reload(true)

    Hope this helps someone else. If I've done something bad let me know!

  3. ozdave
    Posted 4 years ago #

    ok that didnt work with chrome :(

    fine on IE, safari and firefox.... any ideas??

  4. ozdave
    Posted 4 years ago #

    tried changing it to just window.location.reload() but still no dice in chrome :(

    all other browsers listed works ok!

  5. manwell77
    Posted 4 years ago #

    Got quite the same problem: after the login using the widget in the box appears the homepage "replicated" (with a strange css layout)

  6. Daniel
    Posted 4 years ago #

    same problem here. Going back to 2.3.2 and everything works fine.

  7. Christopher Spires
    Posted 4 years ago #

    I can confirm that the redirect is broken in 2.3.3 with WordPress v3.2.1. Version 2.3.2 works fine.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sidebar Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic