We’re excited to announce that today’s Uncanny Toolkit for LearnDash release includes some pretty big Front End Login changes (and we wanted to beat the upcoming Toolkit Pro and Automator 2.10 that announcements that will steal the thunder!). The Front End Login module has gotten increasingly capable, to the point that we see people using it on WordPress sites even if they’re not using LearnDash. Today’s release adds even more reasons to use it for login on any WordPress site.
Changes to user verification
We added the ability to verify users before login was allowed a very long time ago, but the module never had a great way to manage email notifications when users were approved for access. With user verification enabled, site users would have to be approved by an administrator before they could sign in, but how would the admin control the user notification and content?
The Uncanny Toolkit 3.4.1 release adds a new customizable email system (see below) as well as an easy way to suppress user verification emails entirely. Emails can also now include tokens (variables) with information that might be useful to approved users, like site name and the user’s name.
Login redirect changes
Ever wish users could sign in using a modal and the page would just update for the user without redirecting the user somewhere else? It’s been a common request, so the new 3.4.1 release adds the ability to ignore other login redirect behaviours when the modal option for login is used.
In other words, maybe you have a dedicated login page on your site and you want users that sign in from that page to land on a student dashboard when they sign in. But maybe on a sales page for members you want them to sign in and stay on that page, only with the right content for the user once signed in. Now you can do that; here’s how:
Still not enough flexibility for login behaviours? Now there’s a new filter that allows developers to make even more overrides; here’s what’s now included:
$login_form_args = apply_filters('uo_frontend_login_args', $login_form_args);
The 3.4.1 release includes a few other changes for Front End Login and other modules.
We added the ability for other plugins to show error messages related to login in our Front End Login form. This came up as part of an investigation into why Peepso was blocking logins with our plugin that we traced to a password security parameter in its settings (which was throwing an error, we just weren’t outputting it).
The module also includes better support for /wp-login.php redirects. Previously, attempts to visit that page would be redirected to whatever was set as the login page using this module. While it worked without issue, our redirect dropped any querystring records from the URL when it redirected users; now the full URLs are preserved.
Those are the Toolkit 3.4.1 highlights, but make sure to check out the changelog to get the full list of updates.