CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • Membership status is independent of ACLs
Pages: [1]

Author Topic: Membership status is independent of ACLs  (Read 671 times)

rjm

  • I post occasionally
  • **
  • Posts: 86
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 6.28
Membership status is independent of ACLs
March 11, 2013, 05:56:08 am
When signing up as a CiviMember, a Wordpress account is created and the Contact has the designation of WP Subscriber to the ACLs.  If the membership expires, there does not seem to be a way for Wordpress to know that the membership status has changed.

We are attempting to provide members only content by using ACLs to restrict access to event signup pages.  By restricting Subscribers to prevent them from signing up for events, we get the functionality we want as long as they have never been a CiviMember and do not have a subscriber account. 

If I override and expire a CiviMembership, I do not see a way to restrict event signup that is functional.  I also tried manually updating membership records with no effect.

Is there a way to control access to areas of Civi to members only or to unsubscribe a contact from Wordpress once they are no longer a current CiviMember? 

Is there any way to get CiviMembers only content in Wordpress?  What about Drupal, is that different?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Membership status is independent of ACLs
March 11, 2013, 07:59:15 am

You need this plugin (which is similar in drupal)

Might want to get Jag / MTL to add it as an extension to the civicrm extension repo

http://civicrm.org/blogs/jag/wordpress-civimember-role-sync-plugin

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rjm

  • I post occasionally
  • **
  • Posts: 86
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 6.28
Re: Membership status is independent of ACLs
March 11, 2013, 04:01:02 pm
Thank you lobo!  This works almost perfectly.  Unfortunately, our setup is such that a WP Anonymous user can purchase a Membership and then we want them to immediately be able to sign up for an event.  With this module you must first log out and then back in again for it to work.  It checks membership status at login or out.  We can live with that, but it would be nice to have a way to automatically check every second or two or three.
« Last Edit: March 11, 2013, 06:37:41 pm by rjm »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Membership status is independent of ACLs
March 11, 2013, 08:06:07 pm

Great to hear it is close to working for you. Please do improve and contribute back your changes and modifications. Please dont forget to pay it forward and help others / support the project

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.3 Release Testing (Moderator: pdelbar) »
  • Membership status is independent of ACLs

This forum was archived on 2017-11-26.