This process is similar to the customization Redirect User On First Login. The difference here is that this forces the user to change their password from the randomly set password prior to being able to continue using the site. This would occur for initial password sent when registering as well as if a forgotten password is reset. Continue Reading →
NOTE: if you are using version 2.9+, there is a new set of code snippets using some new filter hooks that make this process easier.
One of the requests I get most often is how can I change the plugin to have the password reset only require the user to give their email address. This especially comes up when people customize the process to use the person’s email address as their username, since a password reset form with “username” and “email” doesn’t make much sense in that situation.
Well, since version 2.8.5, there has been a filter hook in the password reset process that allows you to filter the arguments that are passed in order to reset the user’s password – wpmem_pwdreset_args. There are two stages to this demonstration, and thus two parts of the code snippet. First, we only need a form requesting the user’s email, so we will remove the “username” field from the form. Second is filtering the arguments of the password reset process so that the user’s password can be reset with only the email provided. Continue Reading →
I do get a lot of questions regarding how to setup the plugin to use the user’s email address as their username. User’s often times forget what they used as a username, and using their email address can make for an easy way to remember how to login. This script will allow you to remove the username field from the registration form and will populate the username field with the email address at registration.
Suppose you want to add a little text above the password reset form that will help the user know what to do – in this case, put in your username and email and you’ll receive an email with a new password. Here is an easy way to do that with the wpmem_login_form filter. Continue Reading →
In the case of moderated registration, where the user may not receive access to the site right away, you may find that you want to show the successful registration message, but eliminate the login form that shows below it by default. Here is a method to do that using the wpmem_login_form filter. Continue Reading →