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) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Membership type configuration with relationships
Pages: [1]

Author Topic: Membership type configuration with relationships  (Read 1119 times)

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Membership type configuration with relationships
May 06, 2011, 08:32:15 pm
I have configured a membership type that uses the "parent of", "step-parent of" and "foster parent of" relationships.

Then a membership is given to the individual adult.   This works as intended for the case where the only children/step children/foster children of the individual are minors residing in the household.

But, it also gives membership to grown children in the database, who should not be granted membership.

The actual membership rules for this organization is that membership should only cover children living at home with the parent.   

Some other similar membership rules:

- membership should only cover children under 20
- membership should only cover children that are full-time college students under 25 yrs. old.   

Any ideas on how to make this configurable for the person setting up their membership types?
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Membership type configuration with relationships
May 09, 2011, 11:54:35 am
Hi   Interesting scenario.  To make these complex rules you would need at override the inheritance if memberships code via custom PHP or custom Drupal modules.  A simpler solution might be to crate only relationships of 'non dependent' or 'dependent child' with only the latter inheriting memberships.   This is less detailed but actually works in the inheritance paradigm way better than 'step child' which is ambiguous
Try CiviTeacher: the online video tutorial CiviCRM learning library.

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Membership type configuration with relationships
May 09, 2011, 06:16:52 pm
My current work-around is to mark the "parent-child" relationship as disabled for the situation where the child should not receive -membership from the parent.   Creating additional relationship types, such as "non-dependant child" would be a decent work-around too.

What I am trying to plan is a better, longer term solution that does not cause any client-training issues or extra work.  For example, the relationships are originally set up by the staff when the children are young and should be covered by the parent's membership.   I just don't think anyone will remember to ( or have the time to) go back and change the relationship type when the kid grows up and moves out or ages out.

One idea I had was to have additional configuration choices in the admin area for membership types.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Membership type configuration with relationships

This forum was archived on 2017-11-26.