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.
Add a Date of Birth Field with Dropdown Selections for Month, Day, and Year
I have received a lot of requests in the past for how to add a set of dropdown selections for date and store it as a single user meta value. This is a great example of using the new wpmem_register_form_rows filter hook, a new hook in 2.9, because we can use a single field in the WP-Members Fields tab for the date of birth to be stored as a single meta and use the filter to quickly change the placeholder field to a trio of dropdowns for date selection.
Note: this example requires a some php work, but like all of the examples here, I have tried to make it as “cut-and-paste ready” as I can. For many, this will work out of the box. For some, you may want to change the way the date is assembled and displayed (i.e. DD/MM/YYYY). I’ve tried to comment the code snippet as much as possible so you can follow what is going on. Continue Reading →
Remove form headings
Depending on how the plugin gets used, sometimes the <legend> tag for the form is not needed. For example, if you have created a login page with the page title “Login”, you do not really need the form to also carry the same text. Here are some generic utility snippets you can use to remove these various headings. Continue Reading →
User List profile layout tricks
The shortcode for the profile detail page is easy to install and use. It allows for you to add specific IDs and classes that you can style with CSS to get the profile looking the way you want it. Continue Reading →
Create a Table Style Layout for the User List Extension
Note: The User List plugin now has an option to apply a table style layout to the list. It is available in the plugin’s settings. Applying that setting automatically applies style to the list that is what is discussed in this tutorial (i.e. you don’t need to do this customization anymore). However, I have left this discussion on the site because it shows a process of customizing the layout and can be used to teach necessary concepts for customizing the plugin.
I recently was asked if the User List extension could display a table style layout with links to a more detailed user profile. My initial thought was “Great idea. How can we do that?”
CSS is a powerful tool, and with a little bit of CSS here, and a very simple filter (only for the heading), you can have a table style layout for the user list that looks like the screenshot to the left.
The screenshot was taken from the my test of how to put together such a customization. To be very honest, it took me less than 30 minutes to put this together – and that’s working from scratch. I’ll show you in this post exactly what I did, so while it might take you a little time to read, it should take you only a few minutes to implement. Continue Reading →