Here is a script idea you can use to validate a stored value that you might have for users (such as a PIN) against their registration data. This example will assume that you only want to allow certain registrations for people who you already have data on (in this example, their name) and you want to validate that the user registering is that person. This example will use PIN assigned to the user’s data that we have and the script will validate the PIN provided at registration or will halt registration. Continue Reading →
registration
Adding user display name to the registration form
WordPress does not allow for users to change their username, so neither does WP-Members. However, it does allow for the use of “display name” which is the name that is displayed on the site when showing users’ names. The default install of WP-Members does not make use of display name. In fact, by default, it adds the user’s username to this field so that it is not empty in the database, just in case you are using that information somewhere else on the site (such as in a forum).
But what if you want to make use of the display name field? How can you add that to the front-end user profile in WP-Members. This post will show you how to add it to the registration form (which by default includes the user update form), and then how to show it only in the user update form. Continue Reading →