• 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 » Archives for Chad Butler

Chad Butler

Add or remove fields based on page

Chad Butler · Mar 5, 2022 ·

Sometimes, you may find that you want to add or remove fields from the registration form based on the page you are on. This may be the case if you set up different registration pages, or you might want to have a specific registration page with certain fields and the automatic forms that show on blocked content have different fields. There are many ways to approach it, but ultimately, it is very simple to add or remove fields from the form with the wpmem_fields filter.

Continue Reading →

How to Connect to SSH

Chad Butler · Feb 3, 2022 ·

SSH is a protocol for secure remote login and other secure network services over an insecure network. Most hosts provide SSH access with your hosting plan. SSH access allows you to log into a command prompt, perform common administrative tasks, and execute commands just as if you were sitting at the server itself. You can run additional tools such as Git, Composer, WP-CLI, etc.

Usually, your host will have information on how to connect to your site through SSH access. A general overview is provided below, but specifics may vary from host to host.

Continue Reading →

Require Approval When Selling Memberships with WooCommerce

Chad Butler · Jan 26, 2022 ·

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

 

When desiring to approve users prior to completing a membership purchase, there are two general approaches:

  1. Approval at Registration – in this approach, you restrict purchase of memberships to registered users only, and user registrations must be approved.
  2. Approval of the Order – using this approach, the membership purchase process is generally the same as it normally would be – the user completes registration when they purchase a membership. However, the order is marked as completed manually by an admin (or shop manager) so the user does not get membership access until the order is completed.

Method 1 requires WP-Members Advanced Options, and WP-Members Memberships for WooCommerce. Method 2 requires WP-Members Memberships for WooCommerce, while WP-Members Advanced Options is optional.

Continue Reading →

WP-Members 3.4.1.1

Chad Butler · Jan 8, 2022 ·

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

 

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 ·

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

 

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.
  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • 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