When moderating registration and sending admin notification emails, WP-Members has a shortcode in the email that allows you to click through to that particular user’s profile to activate them. But what if you want the link itself to activate the user? This tutorial will show you how to set up a process to make that a single click process. Continue Reading →
Tips and Tricks
Blocking custom post types
Note: As of WP-Members 3.0, you can add custom post types to the plugin’s main blocking options. See the options documentation section on Custom Post Types.
With explosion of custom post types in WordPress 3.0, the WordPress world has changed somewhat from what it was when WP-Members was first developed. If you have a theme or site that uses custom post types, you may find that you need to make some adjustments to accommodate what content you would like to be blocked.
Create different styles for “success” and “error” messages
This is an idea that has been floated by a few users, which means there is probably a need for it. As is usually the case, I don’t like to make wholesale changes to the codebase that effects users in a way that requires them to make a change to accommodate an update. So I wouldn’t want to change the plugin to put in different classes, since users with a custom stylesheet would need to be paying attention when they update to accommodate the new classes in their stylesheet. But this is something that we can certainly do on the fly using the wpmem_msg_dialog filter. This article will show you how to do just that. Continue Reading →
Configuring auto login at registration
This tutorial will show you how to automatically log in a user when they successfully complete the registration form.
Continue Reading →
Create a wp-members-pluggable.php file so that it is editable in the plugin editor
WP-Members looks for a wp-members-pluggable.php file when it loads. This is where you can store your plugged versions of the WP-Members pluggable functions. To create the pluggable file, you need do nothing more than create a file named wp-members-pluggable.php and save it to your WordPress plugins folder.
But what if you would like to be able to edit this file within the WordPress admin panel using the plugin editor? This is a way for you to accomplish that. Continue Reading →