2

I have the latest CiviCRM and Wordpress installed. I've got the latest Groups plugin for Wordpress (https://wordpress.org/plugins/groups/), and the CiviCRM Wordpress Member Sync plugin (https://wordpress.org/plugins/civicrm-wp-member-sync/).

I've set up a CiviCRM Membership Type of Membership A, and a Group in Wordpress called Member

What I thought I would be able to set up in the Member Sync plugin Association Rule is tick a checkbox or something to select a Wordpress Group to add the Member too. I'm not seeing this in the plugin settings dashboard anywhere or options.

So when the plugin syncs it adds a new Wordpress User from Membership A from CiviCRM as a (Subscriber)---that's working.

But the new WP User was only added to the default Registered group in Groups. I need the new user to be added to the Member group in Wordpress.

Please help, as this is integral to hiding pages for members only eyes.

FYI: I have the sync plugin set to Capabilities (not Roles) as I need the default Wordpress roles for another plugin.

The description for the civi members sync plugin says it works with Groups, but I just can't see how! https://wordpress.org/plugins/civicrm-wp-member-sync/#installation

I'm hoping one of you Wordpress +CiviCRM experts can help me. I've been scratching my head the whole day!

Cheers, Tracy

2
  • Hi Tracy, the Groups compatibility is limited to content viewing restrictions. You probably noticed that the CWMS custom capabilities show up in Groups and up to v2.8.0 this was how Groups implemented read access to content. Since v2.8.0, however, the Groups plugin has changed how this works. It's on my to-do list to implement what you're after. Commented Aug 22, 2019 at 21:48
  • Thanks for the update Christian. I'll watch out for the update. In the meantime, I'm using the Civi WP Groups Sync plugin.
    – BizHarbour
    Commented Aug 25, 2019 at 19:29

1 Answer 1

3

This should be resolved in CiviCRM WordPress Member Sync version 0.4 which was released today. Group membership can now be applied via association rules, which means that the Groups v2.8.0+ schema for access control is now fully supported.

4
  • 1
    Also if you use roles with this plugin you could make use of User Role Editor Content Restrictions: role-editor.com/documentation/content-view-restrictions.
    – Andy Burns
    Commented Sep 10, 2019 at 17:05
  • Hi Andy, thanks for the suggestion but I need to keep to capabilities as another WP plugin works on the standard WP roles.
    – BizHarbour
    Commented Sep 11, 2019 at 22:30
  • Thank you so much for updating the plugin Christian. It works perfectly!
    – BizHarbour
    Commented Sep 11, 2019 at 22:31
  • You can make new roles.
    – Andy Burns
    Commented Sep 16, 2019 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.