ButlerBlog

chad butler's weblog

  • About
  • Blog
  • WordPress Plugins
  • Contact

WP-Members 2.3.1 Code Improvement Release

By Chad Butler 3 Comments

Tonight I am releasing WP-Members 2.3.1 which is predominately a code improvement release, but it also has a couple of new features.

Code Improvements

The code improvements in WP-Members 2.3.1 include the following:

  • Update of calls to deprecated WordPress functions: get_usermeta updated to get _user_meta, update_usermeta to update_user_meta.
  • Completed the update of calls to deprecated WP function get_settings updated to get_option
  • Removed deprecated WP-Members functions wpmem_register and wpmem_update, both of these are now handled by wpmem_register.
  • Updated form posts in the admin panel for use with WP Multisite (I still need to do additional testing with Multisite before we delcare WP-Members officially fully compatible).

New Features

  • This release includes an improvement of the registration moderation process by adding a link in the notification email that takes the admin directly to the user edit page to activate the user.
  • I added an additional (and optional) page for registration.  Some users have requested a single page to direct users to for registration, so the 2.3.1 release includes the ability to add a page called “Register” that contains just the registration functions.  It operates in a similar fashion to the Members Area.  See the readme file for information on using this feature.

Download the most recent version here.

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
  • More
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Filed Under: WP-Members Tagged With: plugins, WordPress, WP-Members

WP-Members 2.3 coming soon

By Chad Butler 10 Comments

I had finished (or thought I had finished) developing all of the project list for WP-Members 2.3, with the exception of time-based expiration of user accounts. This included items originally on the 2.2 release list that I pushed back. That project was released in beta to a few select supporters of the project.

In the meantime, I continued to debate whether or not I would finish the time-based expiration of accounts, add that to the rest of the project, and include it in the release of 2.3. I really wanted to do that as I believe that is a major feature that is missing right now.

But today I have realized there is much more to do in that process before I can release it. Additionally, there have been some significant changes and enhancements that I have added (or updated) along the way as part of the upgrade process. This has included some code cleanup and the updating of some now deprecated WP API calls.

So I am going to release 2.3 with everything but the time-based expiration of accounts update.  The primary enhancements include:

  • “show excerpts” option
  • “notify admin” option
  • “moderate registration” option
  • “turn off registration” option

Because of the new features, and the need to explain how to use them, I also need to update the documentation for the plugin (the readme file and the quick-start guide, specifically).  As soon as I have done that, I will release WP-Members 2.3 publicly via http://wordpress.org/extend/plugins/wp-members

If any as yet undiscovered bugs are in the 2.3 release, I’ll certainly release fix(es) as necessary; but the remainder of the work that I have done beyond that will roll into the next release.  The major component of that is the expiration process, so it will not be released until that is fully complete (so please don’t ask when I expect to have it done).  As to the version, it is beginning to involve some significant changes so this may roll us up to a completely new version.

If you are a financial supporter of the plugin, I thank you!  If you are not, I would encourage you to consider it.  A great deal of time and effort has gone into this project and I will continue to enhance this plugin in the future.


  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
  • More
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Filed Under: WP-Members Tagged With: plugin, plugins, WP-Members

WP-Members 2.2.2 code improvement release

By Chad Butler 22 Comments

With the launch of WP-Members 2.2, there were some significant changes from the 2.0/2.1 releases.  Most notably was the return of the admin panel.  This is due to adding some customization settings that weren’t there before.  But when you add things like an admin panel, that can make a plugin that previously was efficient in a single file become a bloated mess.

So, steps were taken to clean up some of the new code I created for 2.2.  This involves breaking out the admin functions to a separate file, as well as the install functions.  Plugin developers take note: it is more efficient for the plugin in general to separate these process into their own files that only load when needed.  The admin file is not loaded unless the user can edit options and the install file is only loaded if the install activation hook is, well… hooked.

Also, since we are now playing with the WP database, we don’t want to leave any nasty traces behind if the user were to uninstall the plugin; not that anyone would want to delete such a fantastic plugin 😉  I added the WP required uninstall.php file to cleanup the database as the plugin is deleted.  This also gives you the ability to do a clean install without directly touching your database, if that becomes necessary.

Another big improvement, I was able to eliminate about 200 lines of code by rewriting some of the primary functions to reduce redundancy and/or be more efficient.

All of these changes are code cleanup type changes and really have no effect on the end-user views or functionality (either by the site admin or the site user); that is unless you’ve tweaked the code of your install.  (Note: the install process does not touch your customized settings so anything you have set in the database should remain untouched.  But if you made code changes to anything that does output, you are going to overwrite these changes by upgrading – but that’s no different that any other plugin, really.)

An undocumented change at this point is the addition of some <div> tags for CSS.  The messages given for form validation and the like have always had a <div class=”wpmem_msg”> for users to define in their theme’s CSS.  This release adds <div class=”wpmem_login”> and <div class=”wpmem_reg”> around the login form (also used for password change and reset) and the registration form.  I opted not to define this as an ID since a user may possibly have at some point more than one instance on a page, so rather these are classes.  Also, these are presently undocumented changes as I’m not sure if they will stay exactly as they are.  So here is the caveat – if you need more style control over the plugin’s output for login form and registration form, the CSS classes are there for you, but their specification may possibly change in future versions so you may need to make fresh updates down the road.

That’s all for now.  I am now only working on the 2.3 release which will include the following features:

  • Notify admin of new user registration
  • Hold new user registrations for moderation/approval
  • Time-based user expirations (tentative – may be pushed back to future release)
  • Trial period (tentative – may be pushed back to future release)
  • Turn off registration (for admins that manage users elsewhere and only want the inline login process)
  • Toggle to show excerpts on pages/posts if not logged in (helpful for SEO/Social Media)
  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Email a link to a friend (Opens in new window) Email
  • Print (Opens in new window) Print
  • More
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Filed Under: WP-Members Tagged With: plugin, plugins, WP-Members

  • « Previous Page
  • 1
  • …
  • 65
  • 66
  • 67
  • 68
  • 69
  • …
  • 128
  • Next Page »

Join Us!

I will never share your information. No spam. No junk. No kidding. Unsubscribe anytime.

Recent Posts:

  • The High Price of Free Plugins
  • YouTube Success: Key Tips for Enhancing Video Optimization and Visibility
  • Mobile App vs. Mobile Website Ideal Choice for your Business
  • Top Strategies to Boost Your Brand’s Visibility and Impact
  • Advanced Blogging Strategies: Using Analytics, A/B Testing, and Conversion Optimization Techniques to Grow Your Audience
  • Unlock Real-Time Process Insights to Save Time and Money
  • How Writers Can Attract More Audience Attention
  • Dress for Success – Even at Home
  • Mastering the Art of Crafting SMART Marketing Goals
  • Rediscover Your Brand Story: 7 Tips for Refreshing Your Company Identity

Archives

  • About
  • Blog
  • Archive
  • Contact

Site powered by WordPress, running on the Genesis Framework from StudioPress.

Unless otherwise noted, content on this site is © 2006-2026 ButlerBlog and may not be reproduced without express written permission from the author.

Some content may include affiliate links for which this site receives a small commission.