• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Blog
    • Basics
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Store
    • Cart
    • Checkout
  • Contact
  • Log In
  • Show Search
Hide Search
Home » Blog

Blog

Blocking custom post types

Chad Butler · Feb 22, 2013 ·

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.

Continue Reading →

WP-Members 2.8.2 beta release now available

Chad Butler · Feb 21, 2013 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

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

Chad Butler · Feb 1, 2013 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

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.

  1. Open the wp-members file /admin/tab-fields.php in the plugin editor (Plugins > Editor in the admin menu).
  2. Search for this line (line# 206):
    $arr[7] = str_getcsv( $str, ',', '"' );
  3. change that line to the following:
    $arr[7] = explode( ',', $str );
  4. Save this change.

Note: you will not be able to use commas in your values

WP-Members 2.8.1 shortcode patch

Chad Butler · Jan 16, 2013 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

I am always nervous about releasing updates to the plugin because in the back of my mind I am wondering what element slipped through the cracks.  The 2.8.1 release was no exception.

WP-Members 2.8.1 made it out the door with a small error related to the new “user-profile” shortcode.

The problem was with the logic in line 208 of wp-members-core.php:

$page = ( 'user-profile' ) ? 'members-area' : $page;

This would actually always return true, which would mean that all shortcodes using the “page” parameter would be members-area pages.  So register and login pages, while still being able to provide their core function, wouldn’t be working quite the way they should since they would have both the login and registration forms in the logged out state and wouldn’t have the correct links in the logged in state.

The fix (which has been implemented in the download already) is to change line 208 of wp-members-core.php to:

$page = ( $page == 'user-profile' ) ? 'members-area' : $page;

WP-Members 2.8.1 Release

Chad Butler · Jan 15, 2013 ·

This article is provided free. Find out how you can get full access to premium content, including how-to articles and support forums, as well as priority email support and member exclusive plugin extensions..

 

The WP-Members 2.8.1 release is an important security update for the plugin. It is highly recommended that you upgrade as previous versions of the plugin have a possible exploit that may be vulnerable. As soon as I became aware of this, I put all other items on the project list on hold.

While 2.8.1 is primarily a security fix, there are some additional features, as well as a few improvements as well.  These are items that were already in the works when the security issue was made apparent.

Here is a list of what is included in the 2.8.1 release:

Security Updates

  • The most important fix in this update (and the reason why you should update) is that this closes a potential cross site scripting exploit.
  • Updated nonces in the updated admin panels from 2.8.0.
  • Added nonces to the front-side form submission.
  • Security evaluation and updates to other areas.

Feature Updates

  • Added dropdown selector option for the User Profile (members-area) page and Register page location (There is still the option to enter the URL yourself, and for backward compatibility, if you have a custom URL entered in the setting, it will default to that).
  • Updated the dropdown field custom field type to accommodate commas in the field values (such as “1,000”).  The dropdown example shows how to enclose this with double quotes.

Other Updates

  • Updated the TOS shortcode to be case insensitive for the shortcode parameter (TOS/tos).  Either will work.  The User Guide had previously indicated the incorrect case in the instructions, so I updated this to be case insensitive to allow for backward compatibility.
  • The members-area parameter will be prepared to be deprecated and replaced with user-profile.  More on this below.
  • Separated backend User Profile functions from the wp-members-core.php file to users.php.
  • Applied post 2.8.0 patches

Members Area nomenclature change

In previous versions, the front side page that was used to handle user functions such as reset a forgotten password, update registration info, change your password, and (in the PayPal addon) renew a subscription, was called with the shortcode [[wp-members page=”members-area”]].

It has been called that since the beginning of this plugin.  Unfortunately, it has been a confusing issue because it has turned out that this is not intuitive.   For users that do not necessarily read the plugin documentation and installation instructions (or do not read them thoroughly), the term Members Area gets interpreted as “area of my site that is restricted content” and not “area of my site for members to update their info”.

So beginning in 2.8.1, this is being changed to User Profile.  The shortcode will be [[wp-members page=”user-profile”]] but the old shortcode will still work.  As you can see in 2.8.0, the name was already changed in the options panel.  If you continue to use the old shortcode, that is ok.  Future releases will support it (for now).  However, all references to the Members Area will be changed to User Profile in the plugin documentation and instructions as the use of the term is deprecated.

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 65
  • Page 66
  • Page 67
  • Page 68
  • Page 69
  • Interim pages omitted …
  • Page 81
  • Go to Next Page »

Ready to get started?

Join Today!

© 2025 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Privacy Policy
  • Refund Policy