WP-Members 3.0.9 contains a number of small additions and a few fixes. It is primarily a feature release as the fixes are primarily improvements. Continue Reading →
WP-Members 3.0.9
Home of WP-Members, The Original WordPress Membership Plugin
Chad Butler · ·
WP-Members 3.0.9 contains a number of small additions and a few fixes. It is primarily a feature release as the fixes are primarily improvements. Continue Reading →
Chad Butler · ·
This tutorial is an extension of the tutorial Generate Random User Display Name and Nickname that describes a process to generate random display names for users. In this tutorial we will explore how to add a process to the User Profile page that would allow users to select a new randomly generated display name from a list of choices.
The concept here is that we don’t want users selecting their own display names so that they fit within a specific rule set. Preventing the user from choosing their own display name that fits the rule set makes it easier to manage.
This is a good tutorial for anyone that wants to build more complex user dashboards, but to implement it you should familiarize yourself with the part 1 of the tutorial as this will only be extending that process. Continue Reading →
Chad Butler · ·
I have been waiting a long time to finish and release WP-Members 3.0 and that day has finally come!
This is a major update and will be but the beginning of a lot of updates and improvements in the plugin.
Before I go into details for the update, please let me be clear – this is a major version release, not an incremental update. So please, test the update prior to upgrading a production site. While I always do my best to be responsive to issues, especially when updating, keep in mind this plugin now has more than 60,000 active installs, so it can get hectic around version release time.
When in doubt, test it first! And if you have questions, let me know.
This filter allows you to filter each user’s data to be displayed in the user list as an array.
$rows
(array) (required) An array of the user’s data.
add_filter( 'wpmem_ul_user_rows', 'my_ul_user_rows' ); function my_ul_user_rows( $rows ) { /* * This example adds a row to the user's profile in the * main user list that links to a hypothetical contact * page that needs the user's ID (which is a field * available in the array). */ $link = site_url() . 'contact/?contact_id=' . $rows['ID']; $name = $rows['first_name']; $rows['link'] = '<a href="' . $link . '">' . $name . '</a>'; return $rows; }
Introduced in version 1.5.
wpmem_ul_user_rows is located in includes/class-wp-members-user-list.php
Chad Butler · ·
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 →
Ready to get started?