WP-Members has its own built-in form field validation for things like usernames, email, and required fields. But what if you need to validate other elements, such as testing to see if an entered value is a number? Yes, the plugin framework allows for you to extend the form field validation to whatever you need.
Changing the activation link to a single click process
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 →
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.
WP-Members 2.8.2 beta release now available
Current Release Candidate: RC 4
WP-Members 2.8.2 is both a feature release and a fix release. Continue Reading →
WP-Members 2.8.1 str_getcsv patch
An improvement to the dropdown capability for the custom field manager in WP-Members 2.8.1 actually has an incompatibility for users with php less than 5.3. While I will patch this for the 2.8.2 release, you can apply the patch for 2.8.1 with these instructions.
Note: if you are using PHP 5.3 or greater, this patch is unnecessary. If you are having issues with the dropdown, it is not likely related to this.
- Open the wp-members file /admin/tab-fields.php in the plugin editor (Plugins > Editor in the admin menu).
- Search for this line (line# 206):
$arr[7] = str_getcsv( $str, ',', '"' );
- change that line to the following:
$arr[7] = explode( ',', $str );
- Save this change.
Note: you will not be able to use commas in your values