Here is a quick little snippet that will allow you to timestamp a user’s profile when they update their data. This will allow admins to know quickly how current the information is. [Read more…]
When you set up moderated registration, users are sent an email when they are activated. But I have had people ask about adding an email to go out if the user is not activated and is deleted.
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. [Read more…]
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 nicknames for users because the user base is made up of minors (children).
This made total sense to me and I understand the needs of sites that have to protect identities of users, especially minors. In this particular case, the suggestion was made to create random values for the user’s display name and nickname that was used on the site.
Here is a set of scripts that will allow you to generate random display names for users. The given example uses colors and numbers creating results such as red22 or blue99, but this can be adapted to use as many different words as you would like and can also use more than two digits. It tests for name uniqueness, not allowing duplicate results, and also includes scripts for allowing users to update their name as long as it remains unique. [Read more…]
By default, the plugin automatically places a login form in place of blocked content if the user is not logged in. But sometimes plugin users prefer to redirect a user to a log in page when they attempt to access a page or post with blocked content.
This can usually be accomplished with a custom function to check for the user’s login state, whether the content is to be blocked, and a redirect process. [Read more…]