• It seems this problem can occur in several places within the plugin… but this particular section was causing problems:

    // login form
    		if (force_ssl_login() || force_ssl_admin() || is_ssl())
    			$sidebarlogin_post_url = str_replace('https://','https://',sidebar_login_current_url());
    		else
    			$sidebarlogin_post_url = sidebar_login_current_url();

    Note, I have added the extra ‘is_ssl()‘ in the above to fix the issue.

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

Viewing 1 replies (of 1 total)
  • Thread Starter Deadpan110

    (@deadpan110)

    Another related change – this time for anyone that has customised their WordPress with a plugin that forces all WordPress content to SSL for logged in users.

    The following ensures javascript comes from SSL if the page is SSL:

    // Scripts
    	if (is_ssl()) $myPluginURL = str_replace('https://','https://', WP_PLUGIN_URL);
    	wp_register_script('blockui', $myPluginURL . '/sidebar-login/js/blockui.js', array('jquery'), '1.0' );
    	wp_register_script('sidebar-login', $myPluginURL . '/sidebar-login/js/sidebar-login.js', array('jquery', 'blockui'), '1.0' );
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Sidebar Login] SSL only site – login not working’ is closed to new replies.