• When the plugin is activated, the autocomplete login (username/password) to adminpage becomes disabled. Each login the user have to retype username and password, altough remember login in enabled.

    After disabling the plugin, autocomplete works ok.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Video User Manuals

    (@videousermanuals)

    Hi,

    Sorry I don’t know what the autocomplete login is, is this a plugin?

    Can you provide some more details.

    Thanks

    Thread Starter petermax

    (@petermax)

    Sorry, maybe the description was a little to vague. With autocomplete i was talking about the ‘remember-me’ option on login-page.

    Hi there. I’ve been experiencing this same issue. With “White Label CMS” activated, the admin login fields of “username” and “password” are blank even though I’ve checked “Remember Me” on previous visits.

    Normally, these fields are already populated with the appropriate login information -OR- they will at least auto-populate once I begin typing a username into the first field.

    With “White Label CMS,” I have to re-enter both the username and password.

    Anyone find a fix/workaround?

    Plugin Author Video User Manuals

    (@videousermanuals)

    Hi,

    We have never actually seen this problem, ourselves, is it possible you can use the contact form on our website, and provide us with more details so we can take a look at the problem.

    Thanks

    OK. Message sent via the “Contact Us” form on the VideoUserManuals site.

    For anyone that wants to fix the issue on their own, I have found a workaround.

    The problem seems to be within the code called to dynamically rewrite the login screen’s link. (By default, there’s a link to wordpress.org and a link title of “Powered by WordPress” associated with the “WordPress” graphic.) “White Label CMS” nicely replaces this with whatever you specify in the admin settings, but it’s this action that’s stripping out the remembered username & password from the login screen.

    As a workaround, you can remove the code that performs the rewriting of that URL and link title. This will, of course, mean that the login screen will have a link back to wordpress.org and the link title of “Powered by WordPress,” but it will still use whatever custom logo/graphic you set for the login page

    The Workaround
    Between line 112 – 123 in the file “wlcms-plugin.php,” replace the following code:

    .login #login p#nav a {' . get_option('wlcms_o_login_lost') . '  !important }
    	</style>
    	<script type="text/javascript">
    		function loginalt() {
    			var changeLink = document.getElementById(\'login\').innerHTML;
    			changeLink = changeLink.replace("http://wordpress.org/", "' . site_url() . '");
    			changeLink = changeLink.replace("Powered by WordPress", "' . get_bloginfo('name') . '");
    			document.getElementById(\'login\').innerHTML = changeLink;
    		}
    		window.onload=loginalt;
    	</script>
    	';

    with this:

    .login #login p#nav a {' . get_option('wlcms_o_login_lost') . '  !important }
    	</style>
    	';

    [Basically, you’re just removing the JavaScript that performs the “changelink” function. I just supplied a “replace ‘this’ with ‘that'” example since that’s usually easier to understand than just asking readers to remove a chunk of script, for anyone reading this that may be new to code editing.]

    After that, the login screen accurately remembers the username & password for easy login.

    Plugin Author Video User Manuals

    (@videousermanuals)

    Thanks for this, I know it was a problem that was bugging you. Hope other people find it useful.

    Would be nice to have a better solution for this. Breaking the link isn’t really a solution.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘White Label CMS – Autocomplete admin login disabled’ is closed to new replies.