Linux 软件免费装
Banner图

CiviCRM Member Sync

开发者 needle
cuny-academic-commons
更新时间 2024年9月6日 23:50
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

member sync membership civicrm

下载

0.2.1 0.2.2 0.2.3 0.2.4 0.2.5 0.2.6 0.2.7 0.3 0.3.1 0.3.2 0.3.3 0.3.5 0.3.6 0.3.7 0.3.8 0.4 0.4.1 0.4.2 0.4.3 0.4.4 0.4.5 0.4.7 0.5 0.2 0.5.5 0.6.0 0.6.1 0.6.3 0.5.3 0.3.4 0.4.6 0.5.1 0.5.2 0.5.4 0.6.2

详情介绍:

CiviCRM Member Sync keeps a WordPress User in sync with a CiviCRM Membership by granting either a Role or Capabilities to a WordPress User who has that Membership. This enables you to have, among other things, members-only content on your website that is only accessible to current members as defined by the Membership Types and status rules that you set up in this plugin's settings. CiviCRM Member Sync is compatible with both the Members and Groups plugins for managing members-only content in WordPress. See the Installation section for details. 必需条件 This plugin requires a minimum of WordPress 4.9 and CiviCRM 5.19. It is compatible with the Members and Groups plugins. Please refer to the Installation page for configuration instructions. It is also strongly recommended that you also install CiviCRM Admin Utilities and have version 0.6.8 or greater activated. Make sure the checkbox labelled "Check this to fix the Contact 'soft delete' process" is checked so that Contacts that have been "soft deleted" have their corresponding WordPress User's status updated. Plugin Development This plugin is in active development. For feature requests and bug reports (or if you're a plugin author and want to contribute) please visit the plugin's GitHub repository. Shouts Out To... This plugin builds on the work done by Tadpole Collective and originally developed by Jag Kandasamy. Kudos.

安装:

  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. 通过 WordPress 的的“Plugins”菜单激活插件
The first thing to decide is whether you want CiviCRM 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 "CiviCRM" --> "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. If you have Groups 2.8.0 or greater installed, then you will have the option to specify one or more "current" and "expired" Groups to which Users will be synced depending on whether their Membership is "current" or "expired".
  6. Note: If you have the Members plugin active, then the "restrict_content" Capability will also be added.
  7. Note: If you have BuddyPress active, then you will have the option to specify one or more "current" and "expired" Groups to which Users will be synced depending on whether their Membership is "current" or "expired".
  8. 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 "CiviCRM" --> "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 "Manual 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.
  5. Note: If you have the Groups plugin activated and it is version 2.8.0 or greater, then you will have the option to specify one or more "current" and "expired" Groups to which Users will be synced depending on whether their Membership is "current" or "expired".
  6. Note: If you have BuddyPress active, then you will have the option to specify one or more "current" and "expired" Groups to which Users will be synced depending on whether their Membership is "current" or "expired".
Manual Synchronize It may sometimes be necessary to manually synchronize Users. Click on the "Manual 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. Known Issues Code that used the civi_wp_member_sync_after_insert_user hook to send User Notifications on User Account creation should switch to the newer civi_wp_member_sync_post_insert_user hook to avoid the inadvertent loss of session data.

升级注意事项:

0.3.6 This version introduces a setting to allow sync to be restricted to CiviCRM Contacts of Contact Type "Individual". Once you have upgraded, please review plugin settings to make sure yours are correct.

更新日志:

0.6.3 0.6.2 0.6.1 0.6.0 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5 0.4.7 0.4.6 0.4.5 0.4.4 0.4.3 0.4.2 0.4.1 0.4 0.3.8 0.3.7 0.3.6 0.3.5 0.3.4 0.3.3 0.3.2 0.3.1 0.3 0.2.7 0.2.6 0.2.5 0.2.4 0.2.3 0.2.2 Fixes sync all reference Props EventConsulting. 0.2.1 Fixes current WordPress Role selector. Props EventConsulting. 0.2 First public release 0.1 Initial release