CiviCRM WordPress Member Sync Plugin WordPress, Download, Install

Keep WordPress users in sync with CiviCRM memberships by granting either a role or capabilities to users with that membership.

CiviCRM WordPress Member Sync Download Now

Download Now

(If the link does not work)↓

Originals Link WordPress.org

https://wordpress.org/plugins/civicrm-wp-member-sync/

How to Install CiviCRM WordPress Member Sync Plugin, Manually

  1. Extract the plugin archive
  2. Upload plugin files to your /wp-content/plugins/ directory
  3. Make sure CiviCRM is activated and properly configured
  4. Activate the plugin through the ‘Plugins’ menu in WordPress

This plugin requires a minimum of WordPress 3.9 and CiviCRM 4.6. For versions of CiviCRM prior to 4.6, this plugin requires the corresponding branch of the CiviCRM WordPress plugin plus the custom WordPress.php hook file from the CiviCRM Hook Tester repo on GitHub so that it overrides the built-in CiviCRM file. Please refer to the each repo for further instructions.

The first thing to decide is whether you want CiviCRM WordPress Member Sync to synchronize CiviCRM Memberships to WordPress Roles or WordPress Capabilities. If, for example, you need your WordPress user roles to be independent of membership status, then choose Capabilities. The default synchronisation method is Capabilities, because WordPress has limited support for multiple roles.

Working with Capabilities

  1. Visit the plugin’s admin page at “Settings” –> “CiviCRM WordPress Member Sync”.
  2. Select “Capabilities” as the sync method
  3. Click on “Add Association Rule” to create a rule. You will need to create a rule for every CiviCRM membership type you would like to synchronize. For every membership type, you will need to determine the CiviMember states that define the member as “current” thereby granting them the appropriate WordPress capabilities. It is most common to define “New”, “Current” and “Grace” as current. Similarly, select which states represent the “expired” status thereby removing the WordPress capabilities from the user. It is most common to define “Expired”, “Pending”, “Cancelled” and “Deceased” as the expired status.
  4. “Current Status” adds a “Membership Capability” to the WordPress user, while “Expired Status” removes the “Membership Capability” from the WordPress user. This capability will be of the form “civimember_ID”, where “ID” is the numeric ID of the Membership Type. So, for Membership Type 2, the capability will be “civimember_2”.
  5. Note: If you have the “Groups” plugin active, then all “civimember_ID” capabilities will be added to its custom capabilities as well as to the list of capabilities used to enforce read access on posts.
  6. Note: If you have the “Members” plugin active, then the “restrict_content” capability will also be added.
  7. An additional “Membership Status Capability” will also be added to the WordPress user that is tied to the status of their membership. This capability will be of the form “civimember_ID_NUM”, where “ID” is the numeric ID of the Membership Type and “NUM” is the numeric ID of the “Membership Status”. So, for Membership Type 2 with Membership Status 4, the capability will be “civimember_2_4”.

Working with Roles

  1. Visit the plugin’s admin page at “Settings” –> “CiviCRM WordPress Member Sync”.
  2. Select “Roles” as the sync method
  3. Click on “Add Association Rule” to create a rule. You will need to create a rule for every CiviCRM membership type you would like to synchronize. For every membership type, you will need to determine the CiviMember states that define the member as “current” thereby granting them the appropriate WordPress role. It is most common to define “New”, “Current” and “Grace” as current. Similarly, select which states represent the “expired” status thereby removing the WordPress role from the user. It is most common to define “Expired”, “Pending”, “Cancelled” and “Deceased” as the expired status. With ‘roles’ as your synchronization method, also set the role to be assigned if the membership has expired in “Expiry Role”. This is not needed when working with Capabilities.
  4. It may sometimes be necessary to manually synchronize users. Click on the “Manually Synchronize” tab on the admin page to do so. You will want to use this when you initially configure this plugin to synchronize your existing users.

Manual Synchronize

It may sometimes be necessary to manually synchronize users. Click on the “Manually Synchronize” tab on the admin page to do so. You will want to use this when you initially configure this plugin to synchronize your existing users.

Test Test Test

Note: Be sure to test this plugin thoroughly before using it in a production environment. At minimum, you should log in as a test user to ensure you have been granted the appropriate role or capabilities when that user is given membership. Then take away the membership for the user in their CiviCRM record, log back in as the test user, and make sure you no longer have that role or those capabilities.

Video

Plugin Not Working?

If any errors or problems with the plug-in then write comments.

Add a Comment

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