wyde22 / groupsyncwithrole

This extension manages the synchronization between CiviCRM groups and the WordPress role.
Other
0 stars 1 forks source link

Group sync with WordPress role

This is an extension for CiviCRM, licensed under AGPL-3.0.

Description

This extension manages the synchronization between CiviCRM groups and the roles of the CMS used with this CRM. For the moment, this extension is tested only with CMS WordPress

Getting Started

After installation, you have a seeting page for map CiviCRM groups and role WordPress. This page is on this menu : Administer > Customize Data and screens > Synchronisation Groupe - WP roles (url of setting page : civicrm/admin/setting/groupsyncwithrole). In this page, you have 10 lines of 2 select for create your mapping between Groups CiviCRM and WordPress role.

for a good synchronization it's necessary to create all the wordpress roles you need before use this extension

Known Issues

If you find a problem, you can create an issue in this repo please

Improvement

Requirements

For a good synchronization between CiviCRM groups and role of user, the user contact must exist in the table UFMatch. Often i test my code with extension cmsuser. Now with the last version, when a contact without user role is added in a CiviCRM group, the contact is registered in WordPress with the specific user role

Next steps