Members 2.0 Adds Capability Registration System, Introduces New Settings Screen for Add-Ons

Eight years ago, Justin Tadlock moved back home to Alabama and was living in the spare bedroom of his grandparents’ house with nothing more than a laptop and a suitcase. Over the course of a few months he started going deeper into learning about writing WordPress plugins and produced Members, a role management plugin for WordPress. The first major overhaul of the plugin came in 2015 with version 1.0’s expansion of features and a new UI for editing roles.

Members has built up a user base of more than 100,000 active installs since it first launched in 2009. Tadlock estimates that over the last couple years, 40% of Theme Hybrid customers are primarily there for support and small tweaks to the Members plugin. He decided it was time to begin investing more in the plugin and its community.

Tadlock released Members 2.0 this week. The plugin manages core WordPress capabilities but 2.0 adds the ability for plugins to register custom capabilities. The labels for the capabilities can be internationalized so users can manage the plugin in their own languages in human-readable form.

This release also adds the ability to use the WordPress editor for writing custom post error messages, making it easy to direct visitors to registration or other important information regarding access to the content.

Members 2.0 lets users add multiple roles when creating a new user from the Add User screen. It also introduces the ability to bulk add or remove roles from users, even when multiple roles have been enabled.

This version of the plugin serves some of its data using the WP REST API and a new setting was added to authenticate users who are accessing the REST API endpoints. This protects content from being exposed on sites that have the “private site” setting enabled. Tadlock plans to write a tutorial about what he has learned in integrating the REST API with the plugin.

Tadlock Aims to Monetize Members with Add-Ons, Renews Efforts to Develop a Community of Add-On Developers

Members 2.0 introduces a new Settings screen that ties in with Tadlock’s future plans to monetize the plugin. The new screen includes a view for add-ons. Tadlock has two add-ons available currently and has written an API for third-party developers to register their own add-ons to be visible on this screen.

“The plan is to create some small add-on plugins,” Tadlock said. “There’s already two: Members – Role Levels, which is paid, and Members – Role Hierarchy, which I was hired to build and was allowed to release to the community for free. I’ve got a few small plugins like those in mind that’ll be in a lower price range.”

Tadlock also plans to release a more robust version of the “Content Permissions” feature as another add-on. He has received numerous feature requests from users over the years about what they would like to see in this plugin. The add-on will offer a variety of different ways to show/hide content.

I asked Tadlock if he has considered building payment gateway add-ons so users can charge for memberships. He said the idea is on the table.

“I’m not sure if I’m going to build those or someone else,” Tadlock said. “I’ve mentioned it to some other developers. It would be a good place to start building add-ons.” His current setup uses Easy Digital Downloads with a couple of plugins to bridge it with Members and ThemeHybrid.com.

A plugin like Members has the potential to have a large, third-party ecosystem of plugins for payments and additional features, but Tadlock was focused on other projects during the first few years after it launched.

“I haven’t actively pursued the add-on angle,” Tadlock said. “Instead, I focused more on themes during most of that time. Now, I’m focusing more on plugin development. It’s my fault for not nurturing a community of add-on developers, which is something I’m trying to do more of now.”

Tadlock said many of the developers he knows are working with Members because they like that it gives them a solid foundation to build on for client work. He hopes to persuade some of them to release some of that code back as commercial add-ons or free plugins in the WordPress plugin directory.

Since launching the plugin eight years ago, Tadlock has aimed to make it behave as if it were a natural part of WordPress. At its core, Members is a role and capability management plugin and not a one-size-fits all membership plugin.

“It’s more or less a UI over what you could do with code already,” Tadlock said. “Most of all, it tries not to get in your way. Every membership site has its own unique needs. It’s tough building something that suits everyone. That’s why I’d rather have that foundation of Members just exposing the roles/caps system with third-party add-ons that suit various users’ needs.

“Other membership plugins often try to please everyone or pigeon-hole everything into their custom system. I like more to have a bit more flexibility without the bloat.”

8

8 responses to “Members 2.0 Adds Capability Registration System, Introduces New Settings Screen for Add-Ons”

  1. Thanks for covering the plugin update, Sarah. I need to hire you to start writing my plugin release announcements on my blog. :)

    On the capability registration feature, I do want to note that other plugins aren’t required to register caps, just in case that wasn’t clear. Members has and will almost always pick them up automatically. The registration aspect is just nice for end users who might need a translatable label/title for the cap. I plan to write more about this more in depth soon.

  2. Cool to see Justin continuing to work on this plugin. I remember how much praise he received from the community when he released it in 2009. Also, from the add-ons screenshot above, I like the fact that they look like plugin cards just like normal plugins. Blends right in.

  3. Tadlock has aimed to make it behave as if it were a natural part of WordPress.

    Justin does this really well. It’s like you’re not even using a plugin. Always clean and minimal in both code and user interface. His values of simplicity are something to be admired

  4. Justin, thanks for keeping the original developers helping other developers spirit of WordPress alive. Great that you are improving and extending the Members plugin ecosystem. We’re currently mainly using WordPress membership software which has tripled its renewal prices (we have a lifetime license) and removed third party extensions from its store (both very developer unfriendly and kind of seedy moves). We would love to be part of a more community driven project. We’ll take a close look at Members.

    News about community friendly and developer friendly open source plugins are very important to the non-marketer driven WordPress ecosphere. Good to see news of this kind in WP Tavern.

  5. I love this plugin and the idea. I have created a Paid membership addon for it that links to the user roles screen, i also added a “Single Post Access” function that can let you sell access to a single restricted post/page. It’s about 90% there and should be ready for beta next week :)

    P.S. The members plugin is coded extremely well and is a pleasure to work with.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Discover more from WP Tavern

Subscribe now to keep reading and get access to the full archive.

Continue reading