Here is a quick little snippet that will allow you to timestamp a user’s profile when they update their data. This will allow admins to know quickly how current the information is. Continue Reading →
Blog
Integrating with Easy Digital Downloads
Easy Digital Downloads is an incredibly popular plugin that allows you to create a digital product store using WordPress.
You can require users to be logged in to checkout in EDD, but that does not restrict a download link from being used when the user is not logged in. Restrictions can be put on the link in terms of number of times it can be downloaded and disable redownload, but that can lead to a poor user experience – being over protective can create problems for legitimate users while protecting what amounts to a “perceived” risk rather than real.
But you can integrate with WP-Members to force a user to be logged in to actually download the file. This way, even if the link is known and not expired, the user will be redirected to login if they attempt to download without being logged in.
WP-Members PayPal Extension 0.9.2 Update
Today version 0.9.2 of the WP-Members PayPal extension has been released. There are a number of enhancements in this version that make it worth updating. You must be a site member to download this extension, so please subscribe today and you can get this extension along with a number of others that provide enhanced functionality and features to our WP-Members plugin.Continue Reading →
How the plugin handles blocking content
The plugin filters what is in WP’s $content
variable during The Loop based on whether or not the user is logged in. In its most basic form, if the user is logged in, it allows the content to be displayed. If the user is not logged in, it empties this value and replaces it with the login and registration form.
Back in 2005-2006 when the plugin originated, this was a very simple process. Today, not so much. Today we have custom post types, visual page builders, plugins that are really a full blown application such as WooCommerce or BuddyPress, and countless other possibilities.
Continue Reading →Use the MailChimp Integration Extension API to Add MailChimp Data to User Profile
The new MailChimp Integration Extension includes a user API in version 2.0. This can be used to call information about any specific list member without having to worry about formatting the request to send through the actual MailChimp API. The extension’s user API does this for you.
This is an example using the extension’s API function wpmem_mc_get_list_member() function to retrieve the list member’s MailChimp information and display some of it on the admin user profile. We will use the WP-Members action hook wpmem_admin_after_profile to display this at the bottom of the WP-Members section of the profile. The end result will add a a line like the image below to the WP-Members section of the user profile