Category: Tips and Tricks
-
Generate Random Display Name Part 2
This tutorial is an extension of the tutorial Generate Random User Display Name and Nickname that describes a process to generate random display names for users. In this tutorial we will explore how to add a process to the User Profile page that would allow users to select a new randomly generated display name from…
-
Force user to update password from randomly set password
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…
-
Generate Random User Display Name and Nickname
One thing I love about WP-Members is how versatile it is. Because of this it gets used in many applications that I did not really envision when I first released it in 2006. Recently, I had a support user ask about something that I am surprised has not come up before involving using alternate display names and/or…
-
Add a file upload field to attach to admin notification email during registration
This tutorial will describe how to add a file upload field to the registration form and have the resulting file be sent with the admin notification email.
-
Creating an optgroup tag in a dropdown list
Here is a slightly more advanced example of using the wpmem_register_form_rows filter to modify a form input element. In this case, we will take a regular dropdown select field and add the optgroup label tag to sections of it. Note: for best results in understanding this customization, it is best to create a test field…