• Plugin works great now – I had some initial struggles, but support was really quick and to the point.
    I needed a lightweight plugin with some straightforward redirects and the option for users to create their own (strong) passwords. I’m really happy with this solution
    Maarten Visman

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Javier Carazo

    (@carazo)

    Maarten,

    Thanks for helping us make this plugin better with your suggestions!

    Thread Starter mvisman

    (@mvisman)

    Hi Javier,
    You’re welcome.
    I have an additional suggestion, which might fall outside the scope of your developments,
    Now I use 2 other plugins to make it possible that non-logged in users cannot use wp-admin or wp-login.php and are always directed to the Clean Login page.
    Is it possible to include these or comparable options in the plugin. I know this is tricky because users could lock themselves out – but maybe with the right warnings / precautions…
    Beste regards
    Maarten Visman

    Plugin Author Javier Carazo

    (@carazo)

    Hi Maarten,

    Good news: your suggestion is included in Clean Login 2.0, which I have just released.

    You will find it in Settings → Clean Login → Login page redirection. When it is enabled:

    • wp-login.php, and wp-admin for visitors who are not logged in, are redirected to your [clean-login] page.
    • The register and lost password screens go to your [clean-login-register] and [clean-login-restore] pages, if you have them.
    • The page the visitor wanted to open is kept, so they land there after logging in.
    • Logout, password reset links, password protected posts and the “session expired” box keep working as usual.

    About the lockout risk you mentioned, I added some precautions:

    • Before enabling it, the plugin runs a set of checks: it looks for plugins that hide or rename wp-login.php, security plugins with similar options, other plugins using the login hooks, and it opens wp-login.php, wp-admin and the login page as a visitor. If any check fails, the redirection is not enabled.
    • It only works while the login page is published, so if the page is deleted or unpublished, wp-login.php works again.
    • If you ever get locked out, you can turn it off by adding this line to wp-config.php:

    define( 'CLEAN_LOGIN_DISABLE_LOGIN_REDIRECT', true );

    Since you are using two other plugins for this, deactivate them before enabling the option. The checks will probably detect them anyway and warn you.

    2.0 also adds Gutenberg blocks for every form, in case you prefer them to the shortcodes.

    Please try it and let me know how it works for you.

    Best regards,
    Javier

    Thread Starter mvisman

    (@mvisman)

    Hi Javier,
    This works great for me.
    Although I must say, I did not test the registration bit.
    Is it possible to have the option to redirect after logout to the home page (instead of the login page)?
    Otherwise very easy to implement plugin and it saves me a lot of hassle
    Best regards
    Maarten Visman

    Plugin Author Javier Carazo

    (@carazo)

    Hi Maarten,

    Thanks for the feedback, I’m glad it’s saving you some hassle.

    Good news: that option is already there. Go to Settings > Clean Login and, in the Redirections row, check “Redirect after log out?”. A URL field will appear below it: leave it blank (or put your home page URL) and save. From then on, after logging out users will land on the home page instead of the login page.

    It works both for the [clean-login-logout] link and for the standard WordPress logout.

    If you try the registration part at some point and something doesn’t look right, just let me know.

    Best regards, Javier

    Thread Starter mvisman

    (@mvisman)

    O sorry – I completely overlooked that one (I was focussing on the other redirects).
    Anyway – thanks a lot for the very quick responses!
    Best regards
    Maarten

    Plugin Author Javier Carazo

    (@carazo)

    No problem.

    Thread Starter mvisman

    (@mvisman)

    Hi Javier,
    I did the update on my “simple” site and it works fine. On the first production site it works fine as well,
    On the second production site the functionality works fine, but to my surprise the “eye” icon of the password field disappeared. Not a major problem, but I would like to have it back. Do you have any idea what might have caused this? (I did not change any plugins, except for deleting the 2 earlier mentioned ones)
    Best regards
    Maarten Visman

    Plugin Author Javier Carazo

    (@carazo)

    Hi Maarten,

    Thanks for testing it on the three sites, glad the redirection is working.

    About the eye icon: I have compared 2.0 with 1.22.2 and the form template, the script and the icon files are exactly the same, so the icon should be there. As it shows up on your other two sites, it looks like something specific to that site. These are the usual suspects:

    1. Cache / optimization plugin (LiteSpeed Cache, WP Rocket, Autoptimize, a CDN…). The plugin version changed, so the CSS files have new URLs and a combined or minified CSS can end up pointing to the icon font in the wrong place. Please purge all caches (and the CDN if you use one) and reload the page with Ctrl+F5.
    2. Template override in the theme. Please check if there is a folder called clean-login inside the active theme (wp-content/themes/your-theme/clean-login/). If there is a login-form.php there, the theme uses its own copy of the form instead of the plugin’s one.
    3. Icon font blocked. If you open the browser console (F12) on the login page, you may see an error loading bootstrap-icons.woff2 (404 or CORS). That would tell us exactly what is going on.

    If none of this helps, send me the URL of the login page on that site and I will have a look myself.

    Best regards,
    Javier

    Thread Starter mvisman

    (@mvisman)

    I tried to follow your guidance but couldn’t find any issue.
    I have currently no cache or optimization plugin running
    I can see the clean-login folder in the plugin subfolder, but not in the active theme folder:
    wp-content/plugins/clean-login/
    I find the login-form.php within that folder:
    wp-content/plugins/clean-login/content/login-form.php
    I don’t see the “Icon font blocked” error.
    The URL of the login page is: vohm.nl/login

    Plugin Author Javier Carazo

    (@carazo)

    Hi Maarten,

    Thanks for checking all of that and for sending the URL, it was the key. I was wrong about the cache, sorry.

    I have loaded your login page and the eye icon is actually there: it is in the right place, inside the password field, and the icon font loads fine. The problem is its color. The icon takes the text color of the section where the form is, and in your Divi layout that text is white (white text on the blue background). So the icon is white on a white input, and you can’t see it. You can even click on it: the password will show and hide.

    To fix it, please add this CSS in Divi > Theme Options > General > Custom CSS (or in Appearance > Customize > Additional CSS):

    .cleanlogin-form i.bi { color: #555; }

    You can use any other color you like instead of #555.

    I will also give the icon its own color in the next version of the plugin, so this does not happen with themes that use light text.

    Best regards,
    Javier

    Thread Starter mvisman

    (@mvisman)

    Great – thanks a lot. CSS works fine.
    I wasn’t thinking of the color and was looking in the complete wrong direction like a plugin conflict.
    Thanks for helping out
    Best regards
    Maarten

    Plugin Author Javier Carazo

    (@carazo)

    Maarten, no worries.

Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this review.