Professional Documents
Culture Documents
Readme
Readme
Readme
Contributors: kaminskym
Tags: login, registration, register, lost password, modal, popup, ajax, form
Requires at least: 4.1
Tested up to: 5.6
Requires PHP: 5.5
Stable tag: trunk
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Easy to integrate modal with Login and Registration features + inline form using
shortcode. Compatible with any theme.
[DEMO >>](https://demo.maxim-kaminsky.com/lrm/)
**Features:**
**Customization options:**
**Roadmap**
* Allow include form to page content (without modal) (done in version 1.41)
* Colors/styles customizer [implemented via WP Customizer]
* Documentation and Videos [done] - https://docs.maxim-kaminsky.com/lrm/
* WooCommerce Login/Registration form integration (done in PRO version 1.28)
* Registration Form builder
* Settings Import/Export [done]
= PRO features =
1. Allow user set custom password (not random generated) during registration
2. Redirect user to specified page after login/registration/logout (for example to
the User Profile)
3. User verification via click on the link in registration email
4. Email only registration - hide username filed from registration form
5. Customize buttons color in [WP Customizer](https://docs.maxim-
kaminsky.com/lrm/kb/how-to-customize-form-colors-pro-only/)
6. [Request other feature >>](https://maxim-kaminsky.com/shop/contact-me/)
**The PRO version is 100% tested and are compatible with a following plugins:**
== Installation ==
**Inline mode:**
Use this tutorial to add class from text above for your menu element -
[https://www.lockedowndesign.com/add-css-classes-to-menu-items-in-wordpress/]
(https://www.lockedowndesign.com/add-css-classes-to-menu-items-in-wordpress/)
[https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-
site/](Add this custom css):
`
body.logged-in li.lrm-hide-if-logged-in a { display: none; }
body.logged-in li [class*='lrm-hide-if-logged-in'] a { display: none; }
`
= Developer hooks =
*Javascript*
For add your hook when user successful logged in/registered use action
"lrm_user_logged_in"
`
jQuery(document).on('lrm_user_logged_in', function(response, $form) {
// Your JS code
});
`
`
jQuery(document).trigger('lrm_show_signup');
`
`
jQuery(document).trigger('lrm_show_login');
`
Example for load Modal after page load (this will work only if user not logged in):
`
jQuery(document).ready(function( $ ){
$(document).trigger('lrm_show_login');
});
`
If you have login issue with Adminize plugin - go to Adminize plugin settings and
enable option "Allow page access".
== Screenshots ==
== Known issues ==
- With Theme my login (TML) plugin (3 Password fields on the Create Account tab, if
enable password field in LRM and TML)
== Changelog ==
- Limit Login Attempts Reloaded tweak (each login attempt decrease limit count to
2)
- Added some styles for the "MailChimp for WordPress" checkbox
- Fixed issue - submit button shows like the Full width even if should have default
style
- Fixed issue - on any page list of all WP pages is fetched from the Database
(thanks to @nexlaa)
- Fixed issue - tags {{FIRST_NAME}} & {{LAST_NAME}} aren't working in the
lostpassword email
- Options to hide the tabs in modal & full-width submit button style
- Fixed issue with nickname used and a display name in WooCommerce and Buddypress
- Added a few password reset missing messages to translations
- Added option to send admin notify email to the custom email
- Compatibility with a Simple History plugin
- Updated the screenshots
- Added option to select custom "Login", "Registration" and "Reset password" pages
- Complete rewritten after-login/registration/logout actions (reload, redirects,
etc)
- Added skins support
- Added new emails tags: {{EMAIL}}, {{HOME_URL}}, {{FIRST_NAME}}, {{LAST_NAME}}
- New option - use WooCommerce emails templates, so your emails will looks the same
(useful for WC stores)
- Tweaks for password managers
- Put the cursor in the first field on modal open
- Restrict submit form if request in process (so a user can't continuously submit
it many times)
- Added new translations from https://translate.wordpress.org/projects/wp-
plugins/ajax-login-and-registration-modal-popup
- Added new option for remove plugin data on deactivation
- Added new email - for admin about new user registration (please note - in case of
using Social login this email will be not triggered)
- Added html template field to simplify email templates customization -
https://docs.maxim-kaminsky.com/lrm/kb/how-to-style-email-templates/
- Small tweaks for LRM Pro to allow the user create account with email only
- Return user ID after login/registration to JS
- Full compatibility with [WPML](https://wpml.org/) plugin for [multi-language
support](https://docs.maxim-kaminsky.com/lrm/kb/multi-language-support-via-wpml/)
- Small tweaks for LRM Pro BuddyPress integration - option to disable BuddyPress
form
- Loading spinner html moved from php to JS to avoid issues with the W3C Total
Cache plugin
- Fixed Critical issue if PRO version is installed and version < 1.17
- Fixed issues with HTTPS and Login (when try open to /wp-admin/ wordpress require
re-login).
- Message about disabled user registration now displayed only on Plugin settings
page (not site-wide)
- Fixes for "All In One WP Security & Firewall" plugin
- Fixed issue with Reset password: not possible use username to reset, only email
Replace
**"Lost your password? Please enter your email address. You will receive mail with
new password."**
with
**"Lost your password? Please enter your email address. You will receive mail with
link to set new password."**
`Someone has requested a password reset for the following username: {{USERNAME}}' .
"\r\n\r\n" .
If this was a mistake, just ignore this email and nothing will happen.
- New: added Username field to registration form, to avoid issues if user with
equal First and Last exists
- Tweak: temporary fix for Cache: disable nonce verification if cache enabled
- Bugfix: doesn't possible to put Html into Terms text field + possible submit form
without checking Terms box.
- New: Added ability to change Email format: plain or html
- Bugfix: On some sites Modal can't work because form html is loaded after script
- Bugfix: Registration "Terms box" it's displayed even if not disabled in settings
- Tweak: Option "Auto-login user after Registration" replaced with "User must
confirm email after registration?"
- Wording tweaks - thanks to @Paul from U2GUIDE.com
- Implemented get-text calls to allow add default translations for all languages.
Use https://translate.wordpress.org/projects/wp-plugins/ajax-login-and-
registration-modal-popup to translate plugin.
- Make password hidden **** by default