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) »
  • Setting up Relationships & Memberships
Pages: [1]

Author Topic: Setting up Relationships & Memberships  (Read 1904 times)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Setting up Relationships & Memberships
April 23, 2012, 01:04:01 pm
We've been using cicvrm and civimember since 2009 and it's done a suberb job of meeting our needs!.  so far - we have a primary membership with 6+ levels, several "sections" or chapters, with multiple levels.  These are all individual memberships.

We would like to now add institutional memberships for academic units or compainies.   For an academic institution,  we would want the following

* contact member of institution gets a membership
* up to 10 students of institution get a membership 

I can set up the relationship types and can set up an organizational membership page.

Where it is not clear is how/where the organization would designate who would be their student members.

Is the only way for this to work is that the relationships for the students of the instition be entered by an admin  by using a search and then add contact ot organization?     Or is there a way to add the 10 relationships as custom data?  i.e. up to 10 slots in the organization profile ?

Since students graduate, the list of 10 students may change from year to year, so we would ideally like the contact member of the institution to update the relationships.  We also don't want this exposed in the individual member profile (i.e. someone can designate that they are a "student of" as we want to limit the number of student memberships as part of the institutional membership.

Thanks in advance!
Merlise



best,
Merlise
Merlise Clyde

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: Setting up Relationships & Memberships
April 24, 2012, 05:21:55 am
I don't think you can do this without custom code. I will tell you what you can do. Build a membership type with membership relationship type of employer/employee for inheritance of the membership type then you can manually assign the "contact" for the institution the permission to edit the institution.  That property is the relationship tab and hit edit within the "contact's" record where you will see "can view and update information for" with that checked you should be all set to go.  Last but not least I would require "contacts" to only be able to register for this membership type using "on behalf of" so that the institutional membership sign-up page assigns all the correct permissions.  This will result in any contact being attached to organization (using the "official" CiviCRM terms here!!!) to inherit the membership of the organization.

The part you can't do is limit the number of attached to 10 without code and then it would complex because you'd have to use a tag or something else you assign manually to determine this. Might even have to create a group and manually assign them there for permissions.  This is really built around all or none approach.

You could look to do a head of household approach where it's a membership at the "contact" level but all those "members" of the "household" inherit membership.  One person signs up at what I would call "group rate" and then on the back end place others into the "household" after sign-up.  You could collect a list as a custom data set that way it makes the daily back office work a bit easier.

Hope that helps to understand the membership scenarios a bit better.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: Setting up Relationships & Memberships
April 25, 2012, 07:16:03 am
Thanks!  the "head  of household" model with a custom list is what I thought would be needed.

More questions (if you don;t mind :)

Using custom data in Civi, can  we limit the number of contacts collected at that stage?      (I've set up Drupal content types with cck, but limited custom data for Civi - If done via a Drupal content type and using cck fields I know I can limit the number of entries and can ask for the Drupal user with a link back to the Drupal user record via autocomplete) ;
can a field be a link to the civi contact for the individual if a civi contact exists  and  otherise we collect/update the info to create Drupal users/civi contacts?
 
Do the contacts for the organization automatically have permission to add members to their househould - or can that be limited to just the backend by civi permissions?

Last of all,  individual contacts, who are members of the organization should not have the ability to add themselves.  With the Employee/Employer model, the individuals can complete that as part of their contact profile, so would added if the relationship were based on the Employer.   Can the edit/view permissions  of relationships be controlled? 


Is this limit the number of contacts per organization model of interest to others, in which case we could help sponsor code  to implement? 

Thanks!
Merlise

Merlise Clyde

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: Setting up Relationships & Memberships
April 25, 2012, 11:35:16 am
Okay, let me see if I can break this down a bit for you.

Limit number of contacts attached to household is NOT possible unless using CCK and node fields without customizing CiviCRM for a hook of sorts.  I would suggest looking at sponsoring this because I see several use cases including registering on behalf of for multiple registrations but one person doing them all.  Talk to Dave Greenberg or Michael McAndrews, they may have a suggestion about how to generalize your setup for others aod create a MIH for it.

I WOULD LOVE to see them implement an inherent relationship between individual and other types where the individual to individual is a possible edit.  Right now a contact can only edit the household or organization that it has permission explicitly to do.  This is also let's you know that not every contact can edit the relationship, try using a non-admin user and they shouldn't be able to edit this at all. Maybe you are asking something different?
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: Setting up Relationships & Memberships
April 26, 2012, 09:44:27 am
Thanks!

Possibly stupid question - Is there any  difference between  inherited membership for household and inherited memberships with organizations (i.e. are these just different categories that were pre-established so the labels are somewhat arbitrary or are there core differences with the membership signups?

best,
Merlise
Merlise Clyde

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: Setting up Relationships & Memberships
April 26, 2012, 11:08:48 am
Good question, to the best of my knowledge there is not any difference in membership relationship and corresponding activities. I think head of household is more for use in between the organization and individual relationship. Meaning I use the head of household not for family members but rather for branch or divisions within a larger organization.  This helps to compartmentalize things a bit when you have large member organizations.  Such that you might target a geographic location or offices rather than all within the organization.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Setting up Relationships & Memberships

This forum was archived on 2017-11-26.