=== Plugin Name ===
Name: CM Registration Pro
Contributors: CreativeMindsSolutions
Donate link: https://www.cminds.com/store/cm-registration-and-invitation-codes-plugin-for-wordpress/
Requires at least: 5.4.0
Tested up to: 5.9
Stable tag: 3.3.7

== Description ==

Add AJAX-based login and registration forms with captcha, email verification, invitation codes and more.

> #### Plugin Site
> * [Plugin Site](https://www.cminds.com/store/cm-registration-and-invitation-codes-plugin-for-wordpress/)
> * [Pro Version Detailed Features List](https://www.cminds.com/store/cm-registration-and-invitation-codes-plugin-for-wordpress/)

---

> #### Follow Us
> [Blog](http://plugin.cminds.com/blog/) | [Twitter](http://twitter.com/cmplugins) | [LinkedIn](https://www.linkedin.com/company/creativeminds) | [YouTube](https://www.youtube.com/user/cmindschannel) | [Pinterest](http://www.pinterest.com/cmplugins/) | [FaceBook](https://www.facebook.com/cmplugins/)

**More Plugins by CreativeMinds**

* [CM Ad Changer](http://wordpress.org/plugins/cm-ad-changer/) - Manage, Track and Report Advertising Campaigns Across Sites. Can turn your Turn your WP into an Ad Server
* [CM Super ToolTip Glossary](http://wordpress.org/extend/plugins/enhanced-tooltipglossary/) - Easily creates a Glossary, Encyclopaedia or Dictionary of your website's terms and shows them as a tooltip in posts and pages when hovering. With many more powerful features.
* [CM Download Manager](http://wordpress.org/extend/plugins/cm-download-manager) - Allows users to upload, manage, track and support documents or files in a download directory listing database for others to contribute, use and comment upon.
* [CM MicroPayments](https://plugins.cminds.com/cm-micropayment-platform/) - Adds the in-site support for your own "virtual currency". The purpose of this plugin is to allow in-site transactions without the necessity of processing the external payments each time (quicker & easier). Developers can use it as a platform to integrate with their own plugins.
* [CM Video Tutorials](https://wordpress.org/plugins/cm-plugins-video-tutorials/) - Video Tutorials showing how to use WordPress and CM Plugins like Q&A Discussion Forum, Glossary, Download Manager, Ad Changer and more.
* [CM OnBoarding](https://wordpress.org/plugins/cm-onboarding/) - Superb Guidance tool which improves the online experience and the user satisfaction.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress

== Frequently Asked Questions ==

> [More FAQ's](https://www.cminds.com/store/cm-registration-and-invitation-codes-plugin-for-wordpress/)

== Changelog ==

= 3.3.7 =
* Added support for send password reset email from admin

= 3.3.6 =
* Resolved PHP notice and warnings

= 3.3.5 =
* Feature added with PeepSo

= 3.3.4 =
* Added support to autofill current post/page values in register form

= 3.3.3 =
* Fixed typo changes in settings description

= 3.3.2 =
* Bugfix related to cmreg-delete-account shortcode

= 3.3.1 =
* Improved reset email process

= 3.3.0 =
* Bugfix fixed the bug which made stopped regular WP reset emails from being send

= 3.2.9 =
* Bugfix related to gravity forms integration

= 3.2.8 =
* Added useremail shortcode in forgot password email content
* Bugfix related to edit profile email confirm

= 3.2.7 =
* Added support to manage profile picture
* Bugfix related to forgot password email

= 3.2.6 =
* Removed user salt after reset password

= 3.2.5 =
* Bugfix related to edit profile erases the invitation code

= 3.2.4 =
* Compatible with polylang plugin

= 3.2.3 =
* Bugfix related to invitation code field description link

= 3.2.2 =
* Updated package 1.9.1

= 3.2.1 =
* Update Opauth library with new version 0.4.5

= 3.2.0 =
* Optimized login attempts sql queries after authentication

= 3.1.9 =
* Bugfix related to change email from edit profile form after confirm with new email address feature

= 3.1.8 =
* Added new shortcode called cmreg-delete-account
* Added support to change email from edit profile form after confirm with new email address
* Bugfix related to reset password

= 3.1.7 = 
* Compatible with Upvote Plugin
* Compatible with Paid Memberships Pro

= 3.1.6 = 
* Added new setting "Hide password field characters"
* Improved reset password feature

= 3.1.5 =
* Improved user model class

= 3.1.4 =
* Improved login authentication popup force close feature
* Added new labels
* Improved settings description
* Added user first name and lastname shortcodes in email content

= 3.1.3 =
* Improved auto login authentication popup feature

= 3.1.2 =
* Added new parametrs in cmreg-login-form shortcode
* Added option to display the Terms of Service acceptance checkbox with login form
* Removed notice

= 3.1.1 =
* Bugfix related to redirect issue

= 3.1.0 =
* Added support to allow auto login after registration
* Added support to set email field require
* Added support to add separate URL after registration

= 3.0.9 =
* Bugfix related to login attempts controller

= 3.0.8 =
* Bugfix related to auto login authentication popup feature

= 3.0.7 =
* Added support to choose business while registration (Integrated with CM Business Directory Pro)
* Added new shortcode in invitation email template
* Bugfix related to auto authentication popup feature

= 3.0.6 =
* Bugfix related to login attempts feature

= 3.0.5 =
* Bugfix related to welcome email without approval

= 3.0.4 =
* Added %usersitename% shortcode support in after login url
* Bugfix related to auto populate invitation code in popup

= 3.0.3 =
* Added action after verified user account with his email verification link

= 3.0.2 =
* Added user's last login date feature
* Added new shortcode called cmreg_login_date
* Updated package 1.9.0

= 3.0.1 =
* Added new shortcode called "cmreg-my-users-from-codes"
* Added new paramter "showlink" in "cmreg-create-invitation-code" shortcode
* Added new paramter "used" in "cmreg-list-users-invitations" shortcode
* Added filter with export invitation codes feature
* Bugfix in cmreg-create-invitation-code shortcode with role parameter

= 3.0.0 =
* Updated description in settings
* Updated package 1.8.10

= 2.9.9 =
* Added self register feature
* Improved css
* Bugfix related to userrole shortcode in emails
* Bugfix related to login attempt captcha issue
* Bugfix in cmreg-registration-form shortcode
* Bugfix in limit login attempts feature

= 2.9.8 =
* Resolved conflict with bootstrap modal
* Added support to check username and email exist or not in edit profile form
* Improved import data into CSV feature
* Bugfix related to user url in edit profile form

= 2.9.7 =
* Improvement in backend form builder CSS

= 2.9.6 =
* Bugfix in automatically open the popup box feature close button
* Replaced reCaptcha url from www.google.com to www.recaptcha.net

= 2.9.5 =
* Added new action in edit profile for check email blacklist

= 2.9.4 =
* Bugfix in hide admin bar feature

= 2.9.3 =
* Improvement in html tags and added some unique css classes
* Added enable/disable option for auto pop-up window for invitation code
* Added placeholder values automatically while install the plugin
* Bugfix in social login feature

= 2.9.2 =
* Add button to erase all invitation codes at once
* Compatible with Advanced Access Manager (AAM) plugin

= 2.9.1 =
* Compatible with Photography Management plugin
* Improvement in profile field section
* Removed warnings

= 2.9.0 =
* Bugfix related to label into edit profile shortcode

= 2.8.9 =
* Resolved some conflicts with JavaScript

= 2.8.8 =
* Bugfix related to auto populate invitation code into register form

= 2.8.7 =
* Added user name when invitation code created by front user
* Added information about new addon

= 2.8.6 =
* Added password field disable option in registration

= 2.8.5 =
* Added invitation links which can auto populate invitation codes to registration form
* Bugfix in cmreg-create-invitation-code shortcode

= 2.8.4 =
* Added allow admin bar for specific roles setting
* Resolved some bugs

= 2.8.3 =
* Added "Website URL" and "About me" field show/hide option
* Added option to fire the login widget if available on specific URL
* Added profile fields user meta support in admin email
* Added support to add label outside of field in login and register form
* Password reset and lost password emails sent to the secondary email address if enabled

= 2.8.2 =
* Added new shortcode called cmreg-Invited-by-info
* Updated package 1.8.9

= 2.8.1 =
* Added exclude urls option for global site access feature
* Bugfix related to redirect-to parameter in cmreg-registration-form shortcode

= 2.8.0 =
* Added conditional logic for form builder
* Bugfix related to cmreg_redirect_url for login

= 2.7.9 =
* Bugfix in reset password email

= 2.7.8 =
* Bugfix related to javascript conflict

= 2.7.7 =
* Correction in shortcode explanation

= 2.7.6 =
* Added support with OptimizePress / Member
* Added reset password email settings
* Bugfix related to redirect to url function

= 2.7.5 =
* Added new parameter redirect-to in the cmreg-login shortcode.
* Added new parameter redirect-to in the cmreg-login-form shortcode.

= 2.7.4 =
* Implement auto approve by domains feature with invitation code

= 2.7.3 =
* Added Custom CSS setting in separate tab
* Updated package 1.8.6

= 2.7.2 =
* Added instructions for reCaptcha settings

= 2.7.1 =
* Fixed bug in form builder option count

= 2.7.0 =
* Fixed typo changes in settings description

= 2.6.9 =
* Bugfix related to lost password response error message

= 2.6.8 =
* Added access restriction content feature
* Bugfix related to recaptcha div overlap in chrome
* Label correction in tsv file
* Bugfix related to profile field title

= 2.6.7 =
* Improved account delete cron feature
* Bugfix related to session

= 2.6.6 =
* Added user manually activation feature in admin section
* Removed extra "shortcodes" admin menu
* Improved account delete user email feature

= 2.6.5 =
* Added hide admin bar feature
* Added id attribute on form builder fields

= 2.6.4 =
* Added repeat email field feature in register form
* Bug fixed related to invitation code tooltip 

= 2.6.3 =
* Added reset password shortcode

= 2.6.2 =
* Added option to automatically open the popup box
* Fixed label shown twice issue

= 2.6.1 =
* Added email verification on secondary email feature

= 2.6.0 =
* Updated license package
* Added Two Factor Authentication integration in login form
* Fixed error in toast message default time

= 2.5.9 =
* Added Enable/Disable sending welcome email to user setting
* Fixed error in toast message

= 2.5.8 =
* Fixed package bug

= 2.5.7 =
* Added support editing option for admin only of the invitation code from the user profile
* Updated package

= 2.5.6 =
* Fixed text return issue woth cmreg-login-form shortcode

= 2.5.5 =
* Fixed error with profile field

= 2.5.4 =
* Fixed error with social login and register

= 2.5.3 =
* Added toast message time duration settings.

= 2.5.2 =
* Fixed error with validating the invitation code field.

= 2.5.1 =
* Showing the terms of service accept checkbox after invitation.
* Prevent from saving logins and passwords in the Profile fields in wp-admin.
* Added new labels.
* Added new wp filters for a customer.

= 2.5.0 =
* Added support for invitation codes when registering with social login.
* Fixed bug with not showing the invitation codes custom post columns in the wp-admin dashboard.
* Fixed problem with recreating the registration fields.
* Added logout button shortcode.
* CSS and labels improvements.

= 2.4.0 =
* Included the registration fields into the Profile fields so it can be reordered now.
* Fixed issue with Wordpress requiring to reauthenticate when going to wp-admin from the front-end.
* Added support for a logout URL #cmreg-logout-click
* Updated the shortcodes page.

= 2.3.3 =
* Fixed fatal error in PHP code.

= 2.3.2 =
* Fixed bug with the email verification - logging in as user with ID=1.

= 2.3.1 =
* Fixed issue with login button showing up when user has been logged-in after the email verification.

= 2.3.0 =
* Added an option to resend the email verification link to a registered user.

= 2.2.2 =
* Fixed loading recaptcha JavaScript.

= 2.2.1 =
* Fixed bug with profile fields validation when registering with social login.

= 2.2.0 =
* Added age verification with the birth date profile field and new settings to set the allowed age.
* Added searching invitation code by the code field in wp-admin.
* Removed unused controls in the form builder.
* Fixed redirection issues.
* Fixed issue with captcha not showing.
* Fixed PHP error.
* Fixed issue with shortcode.

= 2.1.2 =
* Fixed PHP error in Gravity Forms integration.
* Changes related to the access restriction plugin.

= 2.1.1 =
* Fixed issue with captcha.

= 2.1.0 =
* Added integration with Gravity Form Registration Add-on: added invitation code to the registration feed.

= 2.0.2 =
* Changes related with adding WooCommerce support in the payments addon.
* Updated licensing library.

= 2.0.1 =
* Fixed typo in labels.

= 2.0.0 =
* Added change password shortcode.
* Added email notification for deleted user accounts.
* Updated shortcodes page.
* Added auto-login option after successful registration.
* Add Google registration and login integration.
* Added login redirection based on role and for each invitation code.
* Integrated invitation codes with CMDM users groups.
* Added options in profile fields where to show the field: in registration form, in user profile.

= 1.12.0 =
* Added invitation code column and show code in the user profile.
* Fixed issue with sending the welcome email.
* Fixed CSS issue on the license page.
* CSS enhancements.

= 1.11.1 =
* Fixed issue with invitation code limitations not checked.
* Fixed displaying terms of service after the custom fields.
* Added new labels.

= 1.11.0 =
* Added "Export invited users" button which generates CSV file with users and used invitation codes.
* Added "Edit profile fields" link on the Users page in wp-admin dashboard to allow admin to edit the user's custom profile fields.

= 1.10.2 =
* Fixed issue with role-based profile fields not showing in the registration form.

= 1.10.1 =
* Added option to prevent calling the Wordpress action `login_footer` when showing the login form on the front-end to fix some plugin conflicts.

= 1.10.0 =
* Added shortcode to create the invitation codes by user and send it by email.
* Added shortcode to list the user's invitation codes.
* Added a wp filter to allow disabling unique email restriction by some external tools.

= 1.9.3 =
* Fixed PHP error.

= 1.9.2 =
* Fixed PHP error on the edit post pages.

= 1.9.1 =
* Fixed issue with captcha during the registration.

= 1.9.0 =
* Introducing the new Profile Fields that replace the custom fields.
* Added login attempts limit feature.
* Added IP restrictions.
* Added the change password shortcode.
* Confirmed that plugin and the payments addon work with the multisite network.
* Updated the licensing library.

= 1.8.6 =
* Fixed issue with social login after Facebook updated its API version.

= 1.8.5 =
* Fixed issue with saving settings.

= 1.8.4 =
* Fixed issue with login screen not showing up on mobile browsers.
* Fixed WishList Member conflict.
* Showing captcha after extra fields.

= 1.8.3 =
* Fixed issue with reCaptcha not showing.

= 1.8.2 =
* Fixed conflict with Avada theme.
* Fixed issue with including JavaScript twice.

= 1.8.1 =
* Changes related to the new version of the Bulk Invitation Addon.

= 1.8.0 =
* Added option to allow registration only with specified email address for a specific invitation code.
* Fixed conflict with themes that cause a JavaScript bug with using jQuery.fadeIn and jQuery.fadeOut.

= 1.7.2 =
* Fixed conflict with the WP Limit Login Attempts plugin.

= 1.7.1 =
* Added option to add the social login buttons also to the registration form.

= 1.7.0 =
* Added Facebook login button and related settings.

= 1.6.3 =
* Fixed bug with the login.

= 1.6.2 =
* Added information about addons.
* Updated shortcode information.

= 1.6.1 =
* Fixed labels in the user profile edit shortcode.

= 1.6.0 =
* Added new shortcode to edit user's profile and his extra fields defined in the plugin settings.
* Integration with new addon "CM Registration Bulk Invitation".

= 1.5.2 =
* Initially filling the user's first name during the registration field.

= 1.5.1 =
* Fixed issue with redirection after the registration.

= 1.5.0 =
* Added option to disable the standard wp-login.php page and redirect to other URL.
* Added option to disable the standard WP registration page and redirect to other URL.
* Added new parameters to display the login link in the cmreg-registration-form shortcode.
* Added new parameters to display the registration link in the cmreg-login-form shortcode.
* Added support to display text for not-logged-in users in the cmreg-registration-form shortcode.
* Added support to display text for not-logged-in users in the cmreg-login-form shortcode.

= 1.4.0 =
* Added sidebar widget "Login form".
* Added sidebar widget "Registration form".
* Added new shortcode cmreg-registration-btn.
* Added option to display the Terms of Service acceptance checkbox.
* Made the invitation codes manually editable by admin.
* CSS improvements.

= 1.3.2 =
* Fixed bug with setting user role by invitation code.

= 1.3.1 =
* Updated licensing support.

= 1.3.0 =
* Added separate CSS class for buttons to display only the login form and another to display only the registration form.
* Added option to include username to the redirection URL after login.

= 1.2.0 =
* Added option to add the extra fields to the registration form.
* Displaying extra fields on the user's profile page in Dashboard.
* Added option to export users with its extra fields values to the CSV file.
* Added parameter role=some to the registration shortcode.

= 1.1.2 =
* Added option to enable the admin email notification after user's registration.
* CSS improvements for small screens.

= 1.1.1 =
* Fixed issue with Invalid captcha (double captcha validation) during the registration.

= 1.1.0 =
* Added new shortcode: cmreg-login-form
* Added new shortcode: cmreg-registration-form
* Added new shortcode: cmreg-lost-password

= 1.0.8 =
* Updated licensing support.

= 1.0.7 =
* Fixed PHP error.

= 1.0.6 =
* Fixed issues related to new Wordpress version.

= 1.0.5 =
* Added option to logout after time of inactivity.
* Added option to reload browser after user has been logged-out.

= 1.0.4 =
* Updated licensing api support.

= 1.0.3 =
* Fixed issue with email verification.
* Fixed issue with login when using S2Member Pro.
* Added default user role setting.
* Added login dialog opacity background setting.
* Added Custom CSS setting.

= 1.0.2 =
* Fixed issue related to Jetpack.

= 1.0.1 =
* Updated licensing api support.

= 1.0.0 =
* Initial release