WordPress Membership

Easy to use WordPress Membership plugin

  • Documentation
  • WP eMember Plugin
  • Projects
  • Home

API – Deactivate A Member Profile Using HTTP GET or POST

This documentation is only for developers. If you are not a developer with good PHP coding skills then you have no need to read this.

If you want to deactivate a member’s account profile using a HTTP GET or POST request then use this documentation. [Read more…]

Filed Under: Additional Resources Tagged With: 3rd party integration, API, emember extension, Integration, WP eMember

API – Querying A Member Profile Using HTTP GET or POST

This documentation is only for developers. If you are not a developer with good PHP coding skills then you have no need to read this.

If you want to query a member account profile using a HTTP GET or POST request then use this documentation. [Read more…]

Filed Under: Additional Resources Tagged With: 3rd party integration, API, emember extension, Integration, WP eMember

WP Courseware Integration Addon for WP eMember Plugin

This extension allows you to integrate WP Courseware plugin (by Fly Plugins) with the WP eMember plugin. So when a member purchase a membership level, he/she is automatically enrolled to the course you specify.

It can also do the retroactive course assignment (assign selected courses to members of a particular level).

Installing the Integration Addon

You can install this addon the same way you install any WordPress plugin:

  • Go to the “Add New” plugins screen in your WordPress admin area
  • Click the “upload” tab
  • Browse for the addon file (emember-wp-courseware-integration.zip)
  • Click “Install Now” and then activate the plugin

Addon Usage

Go to the “WP eMember” link from your “Training Courses” admin menu

wp-courseware-and-emember-integration-settings

Configure the course access permission for each of the eMember membership level that you have.

When members register/pay for a membership level, they will be automatically enrolled to the corresponding course for that level.

Get the WP Courseware Integration Addon

The price of this addon is $29.95

Filed Under: Additional Resources, eMember Addon Tagged With: 3rd party integration, emember addon, emember extension, Integration, online course

Automatically Protect Older Posts from Members

If you want to setup a magazine subscription type membership site (where members won’t have access to protected posts that were published before they joined the site), then this protect older posts extension should help.

Normally, when a member pays for a membership level, he gets access to all the protected posts/pages for that level. When this addon is active, it will only give them access to the posts/pages that were published after their join date.

Installing the Addon

  • Upload the “emember-protect-older-posts.zip” file via the WordPress’s plugin uploader interface (Plugins -> Add New -> Upload)
  • Activate the plugin through the “Plugins” menu in WordPress.

Addon Usage

After installing the addon, edit the membership level where you want to enable this feature. Then check the “Protect Older Posts” option and save it. Members of this membership level won’t be able to access posts that where published before they joined your site.

emember-auto-protect-older-posts-addon-setting

Get This Addon

The price of this addon is $39.00

Filed Under: eMember Addon Tagged With: emember addon, emember extension, membership protection, partial content protection

Printable Membership Card Addon

This addon plugin allows you to show a printable membership card for your members. Your members will be able to visit a page on your site and print their membership card.

printable-membership-card-sample

Installing the Printable Membership Card Add-On

  • Upload the “emember-membership-card-addon” file via the WordPress’s plugin uploader interface (Plugins -> Add New -> Upload)
  • Activate the plugin through the “Plugins” menu in WordPress.

Printable Membership Card Add-On Usage

Create a new WordPress post or page. Then enter the following shortcode in this page (your members can go to this page to see a printable membership card):

[eMember_membership_card]

This shortcode will produce the following output. That print link will popup the option to print this card.

printable-membership-card-basic-shortcode-output

Adding a Featured Image in the Membership Card

You can add an image in the card (example: your company logo) by using the “image_url” parameter in the shortcode. Here is an example shortcode usage using the featured image:

[eMember_membership_card image_url="http://www.example.com/wp-content/uploads/my-logo.jpg"]

Using Member’s Profile Photo in the Membership Card

You can show the member’s profile photo (if you are using profile picture option in the membership plugin) by adding the “show_profile_photo” parameter in the shortcode.

Example shortcode usage below:

[eMember_membership_card show_profile_photo="1"]

Printed Membership Card Example

When your members go to the page you just created and print the membership card, it will look like the following example:

membership-card-example-with-member-profile-photo

printed-membership-card-example

Get the Printable Membership Card Add-On

The price of this addon is $29.95

Filed Under: eMember Addon Tagged With: emember addon, emember extension, Membership Level, WP eMember

WP eMember WPML Addon

The WPML addon loads the correct language file based on what your visitor selects in the WPML language selection widget.

Installing the WPML AddOn

  • Upload the “emember-wpml.zip” file via the WordPress’s plugin uploader interface (Plugins -> Add New -> Upload)
  • Activate the plugin through the “Plugins” menu in WordPress.

Using The WPML Addon

You just have to keep the WP eMember WPML addon active and it will automatically load the correct emember language file for the selected WPML language.

Download the Addon

You can download this adddon from the addon download area.

Filed Under: eMember Addon Tagged With: emember addon, emember extension, WordPress membership, WP eMember

WP eMember – Login Using Email Addon

The Login Using Email addon lets your members log into the site using their username or email address.

Normally, your members log into the site using a “username” and “password”. When you activate this addon, your members will be able to use their email address (or username) together with the password to authenticate.

using-email-address-in-username-field

Installing The Login Using Email Addon

  • Upload the “emember-login-using-email-addon.zip” file via the WordPress’s plugin uploader interface (Plugins -> Add New -> Upload)
  • Activate the plugin through the “Plugins” menu in WordPress.
  • Now your members can user their username or their email address in the “Username” field of the login form.

AddOn Price

The Login Using Email addon is FREE for all customers who purchased WP eMember plugin from us.

Download the Addon

You can download this addon from the addon download area of our customer only support forum.

Filed Under: eMember Addon Tagged With: email, emember addon, emember extension

WooCommerce and WP eMember Integration

You can integration WP eMember with WooCommerce so you can accept membership payment via WooCommerce.

Accept Membership Payment Via WooCommerce

Step 1) Download the integration addon plugin from here.

Step 2) Install the addon just like any other WordPress plugin.

Step 3) When creating a new WooCommerce product (or editing one), you can specify a membership level for that product.

woocommerce-and-membership-payment

Now, when a customer purchase this product, a membership account (for the specified access level) will be created for the user.

Note: Your WooCommerce checkout for all products in the shop stay as is. The eMember plugin will ONLY  monitor the product checkout for products where you have specified a membership level ID. When you specify a membership level ID value in a WooCommerce product, you are telling our plugin that this product is for a membership payment.

Membership Registration Setup with WooCommerce

There are a couple of different ways you can setup the membership registration scenario.

1) WooCommerce and eMember Registration Scenario 1

In this setup, you just use WooCommerce to do the checkout. The user/member account creation process is completely handled by eMember.

You will turn off all the WooCommerce account creation options from the “Accounts” settings of WooCommerce.

 

woocommerce-account-settings-interface-for-scenario-1

Here is a typical flow of how this process works:

  1. A visitor buys a membership product from your WooCommerce store.
  2. Once the payment is confirmed, WooCommerce will notify the eMember plugin.
  3. At this point the plugin knows what membership level this user paid for, the plugin will create the appropriate membership account for this visitor.
  4. The member will receive an email that contains a “unique” link to complete the registration.
  5. When the member clicks on that link in the email it will let him choose a “username” and “password” and complete the registration.
  6. At this point the member can log into the site via eMember and enjoy the premium members only content.

Your membership products are virtual products. So make sure the “Virtual” and “Download” options are enabled in your WooCommerce product in question. This way the order will immediately go to “complete” status after successful payment.

2) WooCommerce and eMember Registration Scenario 2

This setup is good for users who want to use the account creation option of WooCommerce.

Go to the Admin Functions menu of eMember and enable the auto create eMember account feature. Create a free membership level (just so you can use it as a default level).

Also, you can optionally enable this feature to keep the user records in sync.

Here is a typical flow of how this process works

  1. A visitor buys a membership product from your WooCommerce store.
  2. Once the payment is confirmed, WooCommerce will create a WP User account for this user (just like it does for any product checkout).
  3. Then WooCommerce will notify the eMember plugin.
  4. eMember will create a corresponding eMember user record then upgrade that account to the appropriate membership level (the one this user paid for).
  5. At this point the member can log into the site via eMember and enjoy the members only content.

WooCommerce Payment/Order Status

Our plugin will only process orders/payments that are set to “processing” or “completed” status in WooCommerce. This is to make sure the money has been received before the member account gets created (or updated).

If your WooCommerce setup is correct, then the order status will be set correctly after an online payment is received. So it should work in an automated fashion.

However, if you are accepting manual payment then you need to review your order and set the order status correctly after you receive money from the customer. You can also use an WooCommerce extension to set the order status to complete automatically (after you receive an order).

Keeping the WooCommerce and eMember Logins in Sync

This is optional but you should enable this setting so when members log into the site via eMember’s login, they automatically get logged into their WooCommerce account (and vice versa).

Filed Under: Additional Resources, eMember Addon Tagged With: 3rd party integration, commerce, emember addon, emember extension, member, membership payment

WP eMember Sendy Integration Addon

The eMember Sendy Newsletters integration addon allows you to add your members to your sendy.co list when they signup for a membership account.

Installing the Sendy Integration Addon

You can install this addon the same way you install any WordPress plugin:

  • Go to the “Add New” plugins screen in your WordPress admin area
  • Click the “upload” tab
  • Browse for the plugin file (emember-sendy-integration-addon.zip)
  • Click “Install Now” and then activate the plugin

Using the Sendy Integration Addon

Step 1) Go to the sendy integration addon menu and enter your sendy installation URL and Sendy API Key then save the settings:

Step 2) Edit the membership level in question and enter your Sendy list ID in the “Autoresponder List/Campaign Name” field:

sendy-integration-level-settings

When a member signs up to this membership level, the plugin will subscribe this user to the specified sendy list.

AddOn Price

The addon is FREE for all customers who purchased WP eMember plugin from us.

Download the Addon

You can download this addon from the addon download area of our customer only support forum

  • Addon download area

Please note that some of these free addons are developed by our users in the community. So these addons do not have any advanced customization option. The description above explains exactly what this addon does.

Filed Under: eMember Addon Tagged With: Autoresponder, emember addon, emember extension, newsletter

API – Updating A Member Account Using HTTP GET or POST

This documentation is only for developers. If you are not a developer with good PHP coding skills then you have no need to read this.

If you want to update a member account using a HTTP GET or POST request then use this documentation.

Enabling the API

WP eMember plugin has an API that allows you to update a member account using a standard HTTP GET or POST request. If you want to use this API then you need to enable it from the settings menu of the plugin first. The following is a screenshot of this section in the settings menu:


It is very important that you do not reveal the Secret Word/API key to anyone else.

Using the API

Once you enable it, you can start to send HTTP request to the following URL to update member accounts remotely or from another software/application:

http://www.example.com/wp-content/plugins/wp-eMember/api/update.php

You need a minimum of 2 pieces of information to send an update request. These are:

  • Secret Word/API Key (you specified it in the settings menu of the plugin)
  • Member ID (the user whose details you want to update)

Optionally, you can pass the following fields with the request to update the values of those fields for the member’s account in question.

  • title
  • first_name
  • last_name
  • email
  • password
  • phone
  • address_street
  • address_city
  • address_state
  • address_zipcode
  • country
  • gender
  • company_name
  • membership_level_id
  • account_state
  • subscription_starts

1. Updating Member Account Using  HTTP GET request

In order to update a member account via HTTP GET request, use the following format:

http://www.example.com/wp-content/plugins/wp-eMember/api/update.php?secret_key=XX&member_id=XX&first_name=XX&last_name=XX

Replace the “example.com” and “XX” with the appropriate values.

PHP Code Example:The following is an example of how to construct this URL using PHP:

$secret_key = "6bd39ewe43a7bb";
$member_id= "1";
$first_name= "Jon";
$last_name= "Doe";

$prepared_data = "?secret_key=".$secret_key."&member_id=".$member_id."&first_name=".$first_name."&last_name=". $last_name;
$get_url = "http://www.example.com/wp-content/plugins/wp-eMember/api/update.php".$prepared_data;
// Execute this GET Request
file_get_contents($get_url);

2. Updating Member Account Using  HTTP POST request

To update a member account via HTTP POST use the following format:

<form method="post" action="http://www.example.com/wp-content/plugins/wp-eMmeber/api/update.php">
<input type="hidden" name="secret_key" value="XX">
<input type="hidden" name="member_id" value="XX">
<input type="hidden" name="first_name" value="XX">
<input type="hidden" name="last_name" value="XX">
<input type=submit value="Submit Post">
</form>

Replace the “example.com” and “XX” with the appropriate value.

Filed Under: Additional Resources Tagged With: 3rd party integration, API, emember extension, WP eMember

  • 1
  • 2
  • Next Page »

Get the WP eMember Plugin

Get WP eMember

Categories

  • Additional Resources
  • Content Protection
  • Design & Usage
  • eMember Addon
  • Installation
  • Integration
  • License
  • Testing
  • Uncategorized
  • Video Tutorial

Recent Comments

  • Chris Brown on API – Querying A Member Profile Using HTTP GET or POST
  • admin on API – Updating A Member Account Using HTTP GET or POST
  • Chris Brown on API – Updating A Member Account Using HTTP GET or POST
  • admin on API – Updating A Member Account Using HTTP GET or POST
  • Andrea on API – Updating A Member Account Using HTTP GET or POST

Featured WordPress Plugins

wordpress_estore_icon
wordpress membership plugin icon
WP Express Checkout Plugin
WordPress Lightbox Ultimate Plugin
WordPress Photo Seller Plugin
wordpress_affiliate_plugin_icon

Copyright © 2023 | WP Membership Plugin