• 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
  • Store
    • Cart
    • Checkout
  • Blog
    • Basics [Free]
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Contact
  • Sign In
  • Show Search
Hide Search
Home » Archives for Uncategorized

Uncategorized

WP-Members 3.4.1.1

Chad Butler · Jan 8, 2022 ·

If you are using the PayPal extension, there was a function name conflict in WP-Members 3.4.1 that will cause a PHP fatal error. This will ordinarily manifest itself as a message indicating “There has been a critical error on this website.”

This issue was discovered within a few hours after the initial release of version 3.4.1 and a fix was released shortly after this as version 3.4.1.1.

Continue Reading →

WP-Members 3.4.1

Chad Butler · Jan 6, 2022 ·

Last month, I released a major update to WP-Members. It included a lot of behind-the-scenes features that push the plugin forward based on user requests.

Today, version 3.4.1 is being released with some improvements, bug fixes, and overall

Revision to membership hierarchy logic

Membership hierarchy is new in 3.4.x, and shortly after release, it became apparent that the logic it was released with was not as scalable as I had hoped for.

This isn’t a major issue except that if you have setup any “levels”, you will need to make some adjustments to them – namely, reversing the order.

Previously, the order was to make the higher levels children of the existing membership. For example, if you have Bronze, Silver, and Gold memberships, you would have made Silver a child of Bronze, and Gold a child of Silver.

The problem here is that you can’t stack multiple levels into a higher group. For example, maybe you have Bronze 1 and Bronze 2. Your Silver and Gold levels would only be able to access one of those.

Reversing the hierarchy solves this problem. So now, Silver is a child of Gold and Bronze is a child of Silver. Now you can have Bronze 1 and Bronze 2 that are exclusive (i.e. one cannot access the other), but if both are a child of Silver, then Silver can access both; and Gold can access all three.

I added a second feature to allow you to reverse the logic. This is the addition of a setting in the “Membership Attributes” meta box (where you would set the “parent” membership) that is noted as “Access by child membership”. Checking this box means that the logic is reversed. This can be useful if you want to create different expiration periods but only have to restrict content to a single membership.

I’ll be putting together a video this week to demonstrate how these can be set up and how you can use them.

Other changes

Most everything else is primary improvement and cleanup. Here’s a rundown:

  • Changes the term “Product” to “Membership” throughout the interface. Originally, when I released memberships in the plugin, I intended them to be flexible “membership products” and referred to them with by the shortened “products”. However, this was not intuitive for users and calling them “memberships” seems to solve that. It’s just a text change – no features are being changed around this.
  • Changing “Block” to “Restricted” (and “unblock” to “unrestricted”). The plugin has used the term “block” to refer to blocking post content since its inception (which was back in 2005 if you can believe that). When I added “hide” as an option, that seemed to create some confusion for some users. Users who have used the plugin for a long time (i.e. before “hide” was added) understood it, but for new users, they often wonder, “What’s the difference between ‘block’ and ‘hide'”? A valid question. Changing the terms used a little bit should help. Like the above, this is currently just a text change, but there will be some additional updates in the future for nomenclature of API elements, such as the function wpmem_is_blocked(). More on that as it comes to fruition.
  • The email function can now directly handle attachments. This is probably too complicated to explain here, but I’ll be adding information in the documentation on it.
  • Added a new API function – wpmem_is_user_current() to check user expiration of a given membership.

The remainder is general bug fixes and such:

  • Fixes a bug in the user API for undefined variable when checking the user IP.
  • Fixes a bug in 3.4.0 that cases an error in the user export process.
  • Fixes a bug in 3.4.0 that causes the captcha validation to be run twice, resulting in failed captcha during registration.
  • Fixes a CSS issue that caused a cursor change for instances of WP List Table (i.e. All Posts, All Pages, All Users, etc) that implied drag-and-drop functionality – it should only be shown on the WP-Members Fields table.
  • Sanitizes email as email, not text during registration.
  • Removes an overlooked use of wpmem_page_pwd_reset() which was deprecated in 3.4.0
  • Moved all external libraries to “vendor” directory.

WP-Members 3.3.2 Released

Chad Butler · Feb 19, 2020 ·

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..

 

WP-Members 3.3.2 is being released with a number of fixes as well as code improvements.  Continue Reading →

WP-Members 3.0 Early Testing

Chad Butler · May 12, 2015 ·

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..

 

WP-Members 3.0 is nearing the testing stage. This update to the plugin is really exciting because I have been working on moving the plugin to be more Object Oriented.  The current version of the plugin is very extensible.  But I want to move that forward to be even more so.  The new Object Oriented approach and the new settings array is going to leverage the extensibility of the plugin to a fully customizable framework.

As usual, I want to update process to be seamless for existing users.

Because of the changes to the way the core settings are stored, this means lots of testing.  I am hoping there are users out there that are interested in testing out the new version.  Continue Reading →

Add a meta box in the post editor for blocking custom post types

Chad Butler · Nov 21, 2014 ·

Users who configure to block custom post types will notice that you don’t get the meta box that WP-Members shows for blocking (or unblocking) posts and pages.  While you can still use custom fields directly for custom post blocking/unblocking at the individual post level, it’s nice to have the meta box.  So I’ve put together a code snippet for you to use to implement this on your custom post type editors.

Continue Reading →

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Ready to get started?

Join Today!

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

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