WordPress.org

Ready to get started?Download WordPress

Forums

White Label CMS
White Label CMS - Autocomplete admin login disabled (9 posts)

  1. petermax
    Member
    Posted 3 years ago #

    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.

  2. Video User Manuals
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

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

    Can you provide some more details.

    Thanks

  3. petermax
    Member
    Posted 3 years ago #

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

  4. Copernicus
    Member
    Posted 3 years ago #

    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?

  5. Video User Manuals
    Member
    Plugin Author

    Posted 3 years ago #

    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

  6. Copernicus
    Member
    Posted 3 years ago #

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

  7. Copernicus
    Member
    Posted 3 years ago #

    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.

  8. Video User Manuals
    Member
    Plugin Author

    Posted 3 years ago #

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

  9. Jeff Sterup
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic