christianwach / civicrm-wp-member-sync

CiviCRM WordPress Member Sync plugin 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.
https://wordpress.org/plugins/civicrm-wp-member-sync/
GNU General Public License v2.0
17 stars 10 forks source link

two way sync with roles #40

Closed jbonlinea closed 2 years ago

jbonlinea commented 2 years ago

Hi,

Lately I've wondered if the plug-in worked two way when using roles ? I mean when a the contact membership change, the role change, but also if a wp-user gets/loose a role its CiviConctact-membership changes to.

After testing I can say it is only Civi to Wp way, and I understand that to some extent.

Neverthless it has come to my mind to think that it would be awesome if it was two way ! it might seems a bit "brutal" as there is no consideration of duration and such, but most certainly ussefull in some case. I can develop, but I'm throwing this like this for the time being.

Cheers

christianwach commented 2 years ago

@jbonlinea Since most Memberships in CiviCRM involve Contributions, I think it's unlikely that this would be a useful feature for this plugin to implement. Building a separate (or slipstream) plugin that used the code in this plugin to achieve what you suggest is, of course, possible to do.

jbonlinea commented 2 years ago

Yes I do agree, this is a quite poor type of syncing,

To it's defense it may be thought as the "force statute" option in civimembership, but well that poor and brutal.

Actually I thought of that because it could be a very simple way to sync civimerbeship to Paid Membership Pro, or maybe an other membership wp plugin.

The truth is that I have tested Paid Membership Pro which is feature rich and has an astonishing UX. And I really said to myself, damn with Civi we are miles away to e able to offer this UX, and this is one of the biggest downside of Civi for me.

If you ask me why would I evet want to sync and external plug-in and not simply forget about mebership in civi if PMP fit the bill, I'll reply you that Civi has a lot to offer for event management (with pricing, mailing, groups, etc) that I couldn't find anywhere else, and I need to know the membership statute in my event management workflow...

Ok this was simple a bottle to the see, sharing some stuff passing by my minds :)

christianwach commented 2 years ago

Closing since I don't envisage this happening, but thanks for the suggestion.