WordPress.org

Ready to get started?Download WordPress

Plugin Directory

WP-Members

WP-Members™ is a free membership management framework for WordPress® that restricts content to registered users.

2.9.1

This is primarily a cleanup and fix update with a few new features.

  • Added WP-Members registration fields to WordPress Users > Add New screen.
  • Fixed wpmem_test_shortcode error for TOS.
  • Plugin options tab - lists notify address for notify admin setting
  • Updated default password change success message - removed need to re-login string.
  • Make dropdown values in wpmem_create_formfield function translatable strings for localization
  • Changed "logout" to "log out"
  • Update to register function to check for unset values for WP native fields.
  • Moved the path constants to be defined earlier.
  • Added $action parameter to most of the login form filters, allows more direct filtering based on form state (login, password reset, password change).

2.9.0

This is a major update focusing on upgrades to the form building functions, but also includes a number of other changes and improvements.

Major updates

  • New form building functions include new hooks and a more customizable form building process.
  • Form functions moved from wp-members-dialogs.php to new file forms.php
  • Sidebar login form also rebuilt in the same way the login and register forms were changed.
  • Legacy (old table based) forms completely removed in 2.9
  • Updates to error and dialog messages, removed unnecessary html tags

Changes in wp-members-core.php

  • updated calling of wpmem_test_shortcode, now it works like has_shortcode, put off deprecating at this time.
  • updated shortcode to include tos page, allow for new tags (wpmem_field, wpmem_logged_in) (added new shortcode calls in wp-members.php), and accept id attribute for fields. Added $tag argument, can use shortcode_atts_{$shortcode} filter
  • moved wpmem_test_shortcode to utilities.php
  • added new action hooks: wpmem_pwd_change and wpmem_pwd_reset
  • added new filter hook: wpmem_regchk

Changes in wp-members.php

  • a pretty major overhaul of this file. Moved all but four declarations that weren't already in functions into the init function. Only two constants are declared before the function. This initialization comes after the theme is setup, so pre-initilization needs, such as loading pluggable functions can be declared in the theme's functions.php file. Pluggable functions do not need to be loaded only from the wp-members-pluggable.php file.
  • The file name of the wp-members-pluggable.php file is loaded in a filter hook, wpmem_plugins_file, so you could call it something else or load it from another location.
  • New action hooks: wpmem_pre_init, wpmem_after_init, wpmem_pre_admin_init, wpmem_after_admin_init
  • New filter hook: wpmem_settings

Miscellaneous Changes

  • Updates to the html for some of the admin to better fit the new WP admin layout. Old html was compatible, but the new works better.
  • Updates to the options tab to better group options
  • Updates to native (wp-login.php) registration to include require field indication
  • Review of output, localized a few missed strings
  • Implementation of changes in localization of field names. English values are now stored in the db (except for custom fields that would be whatever language the user creates the field as). Fields are then translated when displayed, rather than stored as translated strings.
  • Updated user profile to fix some issues with checkbox and required fields in users.php
  • Updated user export to include wp_users table fields user_url, user_nicename, and display_name fields
  • Code cleanup in wpmem_block function
  • Updated autoexcerpt function
  • New filter hooks for post editor meta box titles: wpmem_admin_post_meta_title, wpmem_admin_page_meta_title
  • Some updates to existing stylesheets
  • Added new stylesheets, including two with non-floated elements. Generic, non-floated stylesheet new default for fresh installs

2.8.10

This is a security update the closes 2 reported XSS vulnerabilities. This update also includes a fix for using SSL with reCAPTCHA.

2.8.9

This is an interim update with some changes that need to get done prior to the 2.9 release. Note: This is the last version that will be compatible with WordPress 3.1. Also, this will be the last version to contain the legacy table based forms. These have been deprecated since version 2.8.0.

  • Added a Twenty Fourteen stylesheet based on the new WP default theme.
  • Twenty Fourteen installs as the default stylesheet with a new install
  • User export fix - the new user export functions from 2.8.7 were inadvertenly incompatible with PHP 5.2.4 (WP minimum requirements)
  • Admin options tab style/layout updates to work better with new WP (3.8) admin theme
  • Moved the plugin's texurize process into wpmem_securify rather than in the form functions. This is going to happen in 2.9, and doing it as an interim update will allow users to test 2.9 with pluggable functions.
  • Added the texturize process to the shortcode function for the same reason as above, plus this runs on the User List extension as well.
  • Made the shortcode function pluggable
  • Improved the auto excerpt function

2.8.8

  • Updated no password reset for non-activated users to use get_user_by('email')
  • Fixed undefined variable $sendback in users.php
  • Fixed undefined user object in wpmem_check_activated function
  • Set a column width for the WP-Members column in the All Posts and All Pages admin panels, load admin.css
  • Added wpmem_admin_after_block_meta and wpmem_admin_block_meta_save actions

2.8.7

  • Upgraded the user export process. Eliminates the need for directly loading an export file as in past versions. This also eliminates the need for wp-load.php.
  • All user management functions that were in the Users > WP-Members menu are now included under Users > All Users. The Users > WP-Members menu is fully deprecated and removed.
  • Corrected some undefined variable notices.
  • New filter for the widget title wpmem_widget_title
  • Further enhancements to the native WP registration. Even though the plugin was intended to put the registration process into the front end of your WP site, there are always users that either (a) prefer to use the backend native registration or (b) don't read or follow installation and usage instructions. So in an earlier version, I went ahead and added the WP-Members custom fields to the backend registration if it is turned on. This version finishes that process with proper support for dropdown select fields, checkboxes, and text area fields. It also cleans up the error checking and CSS styling for that process.

2.8.6

  • Continued updating the stylesheets, this update includes some minor changes to 2010, 2011, 2012, and 2013 to clean up the .noinput class (used in the User Profile update) and the reCAPTCHA area.
  • Added responsive elements to the Twenty Twelve stylesheet (remains the plugin's default)
  • Changed from PHP_SELF to REQUEST_URI for elements where the plugin forms need to post back to themselves and no other URL exists
  • Changed from "siteurl" to "home" for getting the home page link - corrects problems for users who have WP installed in a different directory

2.8.5

  • Improved the Twenty Eleven and Twenty Twelve stylesheets (Twenty Twelve remains the plugin default).
  • Added a responsive stylesheet based on Twenty Thirteen theme.
  • Added a new filter hook for password reset args wpmem_pwdreset_args. This will allow mods for single stage reset (username only or email only).
  • Corrected update_user_meta during registration use the filtered value of the user's IP and registration URL.

2.8.4

  • Fixed a small bug on admin-side user profile that caused checkboxes to not update correctly
  • Added optional small "powered by" attribution link at the bottom of the registration form.

2.8.3

Feature Updates

  • Allows native fields display_name, nicename, and nickname to be removed from the field manager.
  • New filter wpmem_logout_link filters all logout links.
  • Added default registration via wp-login page (backend). This of course can be disabled by unchecking "anyone can register" in the WP settings.
  • Completion of user admin panel implementation. Added screens for non-active and non-exported users.
  • Added a custom column to page/post tables to indicate if a post/page is blocked/unblocked opposite the chosen default setting.

Fixes

  • Fixed bug in admin/post.php that caused an error due a typo in the selected capability.
  • Applied the patch for the users table custom columns that didn't return non-WP-Members custom column values.
  • Fixed the use of the nonce constant to check if the constant is defined.
  • Applied patch to the utilities file that left some debugging code artifacts in the 2.8.2 release.

Improvements

  • Updated dashboard widget to either superadmin or not display for multisite.
  • Added a div tag to the "Required Field" text in the registration form - NOTE: if you run any filters on the registration form, you may need to test them and update accordingly.
  • Updated the included stylesheets for the addition of req-text class for the "Required Field" text in the registration form.
  • Added Portugese translation files (Thanks Joana!)

2.8.2

Feature Updates

  • Added WP user fields user_nicename, display_name, and nickname to the $fields array, defaults to $username for backward compatibility.
  • Updated field manager process to allow user_nicename, display_name, and nickname to be added via the fields manager as WP native fields
  • Added wpmem_register_data filter for $fields to allow filtering of all fields prior to new user insertion, including above new fields (added updates to registration function to make better use of the filter).
  • Added wpmem_pre_validate_form for $fields to allow filtering fields prior to default form field validation.
  • Begin implementation of moving bulk user management features into Users > All Users. Users > All Users screen can now activate and export users, and will show additional fields as selected in the fields manager.
  • Added wpmem_admin_profile_heading, wpmem_admin_profile_field, and wpmem_admin_profile_update filters. These filters are all part of the user profile section.

Fixes, Patches, & Code Improvements

  • Fixed the conversion of update-profile to members-area shortcode. The bug renders all page shortcodes as members-area.
  • Fixed the activate user process for user defined passwords, a bug from 2.8.0/2.8.1.
  • Fixed a bug that can cause the sidebar login widget to not post to the correct url when a static front page is used.
  • Fixed user profile update (updates with custom checkbox don't stay checked), an issue from 2.8.0.
  • Patch correcting the front-side registration form nonce. This patch should improve reliability while still using nonces for security.
  • Patch for the dropdown field for users running < PHP 5.3.
  • Made front-side nonce optional, defaults to off.
  • Moved utility functions out of core.php to utility file utilities.php.
  • Moved the location of the wpmem_email_notify hook so the filter comes after shortcodes are parsed.
  • Updated the registration function to rely on the values contain in $fields, allowing for the array values to be filtered.
  • Updated the registration form to accommodate registration function updates.
  • Improved auto excerpt function screens for unclosed common html tags and provides a closing tag if none exists.
  • Improved export process to wrap fields with double quotes - fixes issues if field contains a comma.

2.8.1

Security update release: 2.8.1 primarily closes some potential security holes. This update is highly recommended.

Security Updates:

  • Closed potential cross site scripting exploit
  • Added nonces to front-side registration
  • Updated nonces in admin form submission
  • Security evaluation and updates to other areas

Feature Updates:

  • Added dropdown option for User Profile (members-area) and Register page location
  • Updated dropdown field to accommodate commas in the values (ex: 1,000)

Other Updates:

  • Updated TOS shortcode to be case-insensitive for the shortcode parameter (TOS/tos)
  • Begin deprecating members-area parameter to be replaced with user-profile
  • Separated User Profile functions from wp-members-core.php file
  • Applied post 2.8.0 patches and corrected missing files

2.8.0

New Feature release: 2.8.0 offers the beginning of a major rebuild of the admin panels with a few front-side features slipped in along the way.

Security Improvements:

  • Added a dummy index.php file in all plugin directories. This is a security improvement and disallows direct access to a directory (in case your server allows directory browsing).

Code Improvements:

  • Added new constants WPMEM_DIR and WPMEM_PATH. This will allow you to grab the directory of the plugin directly in action and filter functions.
  • Broke up the admin file wp-members-admin.php into multiple files based on function. These are all now moved into an /admin/ directory.
  • Added the password field to the fields array in the registration function so that this can be used in the registration hooks and filters.
  • Updated the logout process to use wp_clear_auth_cookie. The previous wp_clearcookie was deprecated and was causing header errors in some instances.
  • Improved the TOS shortcode. This should eliminate some of the parsing errors some users experienced in previous releases.

Admin Panel Updates:

  • New admin look updates the tabs to the WP format. This also was built to allow extensible tabs so you can hook in and create your own tabs and panels.
  • Add field dialog was updated and improved.
  • Added an admin process to edit existing fields.
  • Added new option in the plugin options to load one of the predefined stylesheets from a dropdown.
  • Block/Unblock post meta box added to the post/page editor no need to use custom fields anymore (this feature actually updates the custom fields accordingly, so you can use custom fields if you want to).
  • Added dropdown selector for preloaded stylesheets - no need to enter the location of the preloaded stylesheets to use them.

New Filters:

  • wpmem_admin_tabs - allows developers to hook into the admin tabs to add additional tabs.
  • wpmem_admin_style_list - allows developers to hook into the dropdown list of stylesheets to add additional stylesheets.
  • wpmem_auto_excerpt - filters the automatically generated excerpt. Allows you to customize a 'read more' link.
  • wpmem_post_password - filters the automatically generated post password that blocks comments on blocked posts/pages.
  • wpmem_forgot_link - filters the forgot password link that shows in the login forms.
  • wpmem_reg_link - filters the register link that shows in the login forms.

Other Updates:

  • Added a new pre-loaded stylesheet for Twenty Twelve theme. New installs will default to this style. Note: with the addition of the new style selector in the admin panel, you can easily toggle between the preloaded stylesheets. You can also add your own using the new wpmem_admin_style_list filter, enter the URL location in the Custom Stylesheet field, or load one using wp_enqueue_scripts.

2.7.7

New Features:

  • Added a new filter hook wpmem_securify. This hook applies a filter to the $content variable at the end of the wpmem_securify function. The primary reason for this hook is to be able to run filters on $content that would give you the ability to block content even if the user is logged in (the wpmem_block filter only works for non-logged in state). This will bring in the ability to block users from content based on defined criteria such as content is for members of "group A" but the user is does not have access to "group A" content.
  • Added wpmem_email_headers filter hook. This will allow you to easily filter the headers for the email process of the plugin giving you the ability to send HTML email without modifying the plugin.
  • Added wpmem_user_activated action hook. This hook will give you the ability to run actions at the end of user activation. For sites that moderate registration, this gives you the ability to hook in actions that you might not want to do before approval of the registration (such as would normally be done with wpmem_post_register_data).
  • Added new shortcode for creating a user list/member directory. This shortcode requires installation of the premium add-on module WP-Members User List available to rocketgeek.com members. The shortcode has parameters for including a member search function as well as filter hooks for filtering the layout of the directory elements.
  • Added new shortcode for protecting inline content with the premium add-on module WP-Members PayPal Subscription available to rocketgeek.com members.

Bug Fix:

Code Improvement:

  • Completed a rebuild of the login function wpmem_login. Updated the cookie process to switch from wp_setcookie (which is deprecated) to wp_set_auth_cookie. Also, the wpmem_login_redirect hook was moved to after the login credentials have been validated and the user is logged in. This allows the hook to access user data without the need to validate the user within the filter.

2.7.6

This release has some new features and some code updates

  • Added ability to use same redirect_to querystring that WP uses in the wp-login form. This allows more seamless replacement of the wp-login.
  • Added a new page shortcode for password reset/change [wp-members page="password"]. If the user is logged out, it works the reset forgotten password functionality. If the user is logged in, it will offer the change password functionality. These functions do also remain in the members-area page shortcode as well, but now can be placed in a stand-alone location as well.
  • Added a new page shortcode for the user edit page [wp-members page="user-edit"]. This needs to be used if the user is logged in and can be used with the login status shortcode.
  • Removed $content global from the page shortcode function. This should correct the double form issue when used with plugins/themes that filter $content.
  • Added do_shortcode to the page shortcode call. This should allow the page shortcodes to be used in conjuction with other shortcodes on the page (although this is not necessarily recommended).
  • Added translations for Russian, Slovak, and Hindi.
  • Moved _OLD forms to wp-members-deprecated.php. These forms can still be used, but will be deprecated in a future version. It is highly recommended that users still using legacy forms begin converting to the _NEW forms.

2.7.5

This is a new feature release (see release announcement for full details.)

  • Added 5 new filter hooks
  • Final deprecation of the old style shortcodes for special pages (, ). If you are using these you need simply need to update to the modern shortcodes such as [wp-members page="members-area"]
  • Added a check for the error message variable immediately following the wpmem_pre_register_data and wpmem_pre_update_data action hooks. This will allow for use of these hooks to include your own custom validation and still be able to return a relevant error message.
  • Added a check to see if the TOS field is not being used and thus don't display it on the User Profile for the admin.
  • Fixed a bug that showed the incorrect heading on the User Edit page when there is an empty field error.
  • Added completely updated .pot file for translations
  • Updated all .po/.mo translation files from the new .pot (still need some strings translated for some languages).
  • Added all .po/.mo files to the download package.

2.7.4

This is a new feature release (see release announcement for full details.)

  • Added 14 new filter hooks
  • Added full user export function
  • Force email in password reset to be non-case sensitive (changes to wpmem_reset_password in wp-members-core.php)
  • Changed "Existing users Login" to "Existing Users Login" in wpmem_inc_login in wp-members-dialogs.php

2.7.3

This is a code improvement release (see release announcement for full details.)

  • Improved a number of functions in various files for improved functionality.
  • Added p tag with class .noinput to the username field when updating profile, added property definition to the stylesheet as well to better align the username.
  • Added css property to better align checkboxes in the reg form (a change to wp-members.css).
  • Added a class to captcha, and a cooresponding css property in wp-members.css for top/bottom margin of captcha form.

New features (shortcodes and hooks):

  • Added 'field' shortcode for displaying user data with a shortcode - currently considered experimental and subject to changes.
  • Added wpmem_restricted_msg filter hook to filter the restricted post message.
  • Added wpmem_login_failed filter hook to filter the login failed message (includes filtering display markup).
  • Added wpmem_login_failed_sb filter hook to filter the login failed message in the sidebar (filters message only, not formatting).

2.7.2

This is primarily a bug fix release (see release announcement for full details.)

  • Fixed a bug where, when using moderated registration, updating a user's backend profile deactivates the user.
  • Improved the login error message for login via wp-login.php.
  • Added wpmem_pre_register_data action hook.
  • Added wpmem_post_register_data action hook.
  • Added wpmem_pre_update_data action hook.
  • Added wpmem_post_update_data action hook.

2.7.1

This release contains some new features that didn't get completed for 2.7.0 and some fixes (see release announcement for full details.)

New features:

  • Deactivate/reactivate users
  • Registration moderation added for user defined passwords
  • Include an optional stylesheet based on TwentyEleven Theme
  • Include an optional stylesheet based on Kubrick (for narrower content areas)
  • Added wpmem_register_redirect action hook
  • Added wpmem_login_redirect filter hook
  • Added wpmem_logout_redirect filter hook
  • Added wpmem_sidebar_status filter hook
  • Added wpmem_register_links filter hook
  • Added wpmem_member_links filter hook
  • Added wpmem_login_links filter hook

Fixes:

  • rebuilt default email install function
  • skip password in [fields] shortcode (changes in wpmem_notify_admin)
  • fixed widget sidebar div tag (changes in class widget_wpmemwidget)
  • fixed form field validation for invalid email still registered user (changes in wpmem_registration)
  • fixed rememberme in login process (changes in wpmem_login)
  • moved send from filters to just the wp-members email processes (changes in wpmem_inc_regemail && wpmem_notify_admin)

2.7.0

This is new feature release with the following features and improvements (see :

  • Email messages can be customized via the plugin admin panel.
  • Dropdown fields can be added via the field managment panel.
  • Moved location of pluggable file load so that constants may be used without loading twice.
  • Registration stores the url the user registered on for all registrations, not just if registration is moderated.
  • Trim trailing whitespace on members area, register, and custom css urls.
  • Added wp_specialchars_decode to blogname in emails to decode any special characters (such as &) in the title.
  • Registration function is now pluggable.
  • Updated sidebar widget to be multi-widget compatible.
  • TOS can be stored in dialogs OR be a WP page (set in dialogs with a shortcode).
  • Plugin can be set up for users to select their own passwords at registration (cannot be used with moderated registration).

Requires: 3.1 or higher
Compatible up to: 3.9
Last Updated: 2014-4-16
Downloads: 473,422

Ratings

4 stars
4.3 out of 5 stars

Support

28 of 90 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1 0,1,0
100,1,1
25,4,1 50,2,1
100,2,2 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,4,4 67,3,2 100,4,4
100,1,1
100,3,3
50,2,1 0,1,0
67,9,6 100,1,1
100,1,1
100,4,4 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
62,13,8 75,4,3 33,3,1 100,7,7 75,4,3 83,6,5 100,2,2 100,1,1 100,1,1
100,1,1 100,1,1 100,1,1 100,1,1
100,2,2 83,6,5 33,3,1 100,8,8 92,12,11 100,1,1
100,2,2 90,10,9 100,2,2
100,3,3
100,7,7 100,2,2 100,1,1
100,1,1 83,6,5 100,3,3 100,1,1
100,1,1 100,3,3 100,4,4 100,2,2 100,1,1 50,2,1
100,1,1 62,13,8 100,4,4 100,1,1 100,2,2
100,2,2 100,2,2 100,2,2 100,1,1
100,2,2 100,2,2
100,2,2 100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,2,2 100,1,1
67,3,2 75,4,3 100,1,1
50,2,1 67,3,2 100,4,4