• 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.

    Thanks

    David

    https://www.ads-software.com/extend/plugins/sidebar-login/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ozdave

    (@ozdave)

    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!

    Thread Starter ozdave

    (@ozdave)

    ok that didnt work with chrome ??

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

    Thread Starter ozdave

    (@ozdave)

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

    all other browsers listed works ok!

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

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

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Sidebar Login] Refresh after login’ is closed to new replies.