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

Is bidriectional "sync" supported #12

Closed shawnholt closed 8 years ago

shawnholt commented 8 years ago

The readme seems to indicate that changes in civicrm are reflected in WP but not the other way around. I'm researching ways to use woocommerce + subscriptions + memberships to sync back to civicrm. Would this be a useful solution for that?

christianwach commented 8 years ago

No, it's only one way to WordPress.

shawnholt commented 8 years ago

Any thoughts on letting wordpress (via woocommerce) memberships create users+groups or membership levels in civicrm? Think this code would be a good place to build-on?

christianwach commented 8 years ago

You are certainly welcome grab any code you think might be useful, like API calls etc. But in the end what you're after is a CiviCRM WooCommerce Sync plugin, which this one isn't. I have little experience with WooCommerce, but a brief scan of their code reveals a whole host of documented hooks that you can employ to achieve your aims.

shawnholt commented 8 years ago

ok, will look into it. for those interested here ... yes we do want woocommerce but for subscriptions products, the status is like membership status and the membership module tracks that nicely. This is data we want for reporting and maintaining in the CRM, (ie. send mailing to active subscribers/members, reporting, etc.)

christianwach commented 8 years ago

Okay, so here's what I would do to get what you want out-of-the-box (or mostly so)...

This WooCommerce extension gives you "product groups" for BuddyPress, whereby a purchase auto-adds the purchaser to a BuddyPress group. BP Groups CiviCRM Sync would then sync the user to a CiviCRM "Mailing List" group.