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) »
  • Household Memberships - how to relate household members at time mem created
Pages: [1] 2

Author Topic: Household Memberships - how to relate household members at time mem created  (Read 3808 times)

rjm

  • I post occasionally
  • **
  • Posts: 86
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 6.28
Household Memberships - how to relate household members at time mem created
March 09, 2013, 05:18:18 am
We have a membership based organization that allows a single membership price for all members of that household. 

We would like to create a CiviMember membership for a household and collect the names and email addresses of all members of that household at the time the membership is created.

Further, ideally each of the household members should then be contacts and take the role current member, like any other individual member contact.  Membership status for the entire household would then be controlled by the settings in the Household Membership, and expire when that membership expires.

I can see how to do this by hand, but is there a way to collect this information and update it at the time the membership is created or renewed?

We set up a Household Membership called Household and set the relationship as Household Member is.  I see there is a Reserved Profile, New Household and have tried adding custom fields to that Profile.  For example, Household Member 1, Household Member 2… 

The trouble is that the Profile - New Household does not seem to be used to create my household membership. 

In the end, it would be wonderful if I could have someone sign up for a household membership and they would be presented with a way to enter the names and email addresses for each family member, and then for each of the family members to added as contacts and marked as the Role Members so that they could take advantage of Member ACL stuff.

It seems to me that there must be a way to do this, but it escapes me presently and I would appreciate any guidance you experienced guys might be able to offer.

Thank you!

WPMonkey

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: WordPress 3.5.1
  • MySQL version: 5.5.31
  • PHP version: 5.2.17
Re: Household Memberships - how to relate household members at time mem created
September 16, 2013, 02:30:44 pm
I would be very interested in this as well. Did you ever find an answer or get a response?
« Last Edit: September 17, 2013, 09:56:12 am by WPMonkey »

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Household Memberships - how to relate household members at time mem created
September 17, 2013, 04:35:48 pm
I'm pretty sure the only out of the box solution currently for this is using Webform-CiviCRM (Drupal sites only). Beyond that, you'd need to build an extension which modifies the default signup form to inject fields to collect the household members and modifies the post-processing to create the contact and inherited membership records.

There is an extension which does something a bit similar for event registration. Reviewing that code MIGHT be helpful.
http://www.google.com/url?q=http%3A%2F%2Fcivicrm.org%2Fblogs%2Fsarahgladstone%2Fpogstone-releases-extension-parents-registering-children-events&sa=D&sntz=1&usg=AFQjCNHbi7iwMz6ShxkcXdZZnzkvtK4oqg
Protect your investment in CiviCRM by  becoming a Member!

WPMonkey

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: WordPress 3.5.1
  • MySQL version: 5.5.31
  • PHP version: 5.2.17
Re: Household Memberships - how to relate household members at time mem created
September 20, 2013, 11:51:41 am
So if I understand this correctly, with the current solutions offered for CiviCRM - Wordpress when you create a registration form it can only be for one contact type at a time. So a registration form for a household, a separate one for an individual, a separate one for organization, etc. Then relating individuals to households etc. would be done manually within the system.

Is that how it functions right now?

Thanks!

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: Household Memberships - how to relate household members at time mem created
September 20, 2013, 12:05:24 pm

yes.

but most public forms will only create an individual (since an actual person fills them out, not a household or org).

I would collect all individual info in the front end and link them via relationships in the backend. But we dont what you are trying to do, so this may or may not be useful to you

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

WPMonkey

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: WordPress 3.5.1
  • MySQL version: 5.5.31
  • PHP version: 5.2.17
Re: Household Memberships - how to relate household members at time mem created
September 27, 2013, 05:36:07 am
The majority of our memberships are in a household format - with two or more people attributed to a membership unit. When evaluating CiviCRM, this is want interested us was that this relationship existed between a household or organization and individuals. So I'm confused that the entire account/contact type can't be created via an online form. It seems that the online membership/renewal forms are rather limited, probably because we were hoping that people could sign up themselves and maintain their account information, including related contacts. We were hoping to avoid a bunch of manual upkeep of membership information on the back end because we are run by volunteers with day jobs.

Or am I missing something, is there a different approach that I'm not getting?

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: Household Memberships - how to relate household members at time mem created
September 27, 2013, 06:51:46 am

Yes, from that perspective the online forms are a bit limited and needs to be generalized going forward. As mentioned in IRC, there is a solution, i.e. webform_civicrm if you are using Drupal.

Would be good to extend and generalize what we can do. However there is a time / resource issue. If your org can help contribute code and/or sponsor this fairly large project (200-400 hours?) that would be super

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

WPMonkey

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: WordPress 3.5.1
  • MySQL version: 5.5.31
  • PHP version: 5.2.17
Re: Household Memberships - how to relate household members at time mem created
September 27, 2013, 08:19:22 am
We are on WordPress, and we're users not programmers. Like I mentioned, our organization is run after hours by people with day jobs so we're beyond resource strapped. Thanks though.

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: Household Memberships - how to relate household members at time mem created
September 27, 2013, 11:48:41 am

This is not directly related but can be used as a potential starting point for other folks who might want to address this issue:

http://civicrm.org/blogs/sarahgladstone/pogstone-releases-extension-parents-registering-children-events

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

lolas

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
    • Freeform Solutions
  • CiviCRM version: Several
  • CMS version: Drupal
  • MySQL version: 5.1+
  • PHP version: Several
Re: Household Memberships - how to relate household members at time mem created
September 30, 2013, 09:57:46 am
I just finished doing this a custom Drupal module for one client. The workflow goes like this:
The Individual signs up for a Family membership.
A custom thank you page template gives them a link to add their family members.
The link points to a civicrm profile.
When the profile is processed the custom postProcess hook creates a relationship. (This is not a very long piece of code in total including some checks for already existing contacts etc.)
The family membership is set to cascade to the other family members by relationship so Civi takes care of adding the membership records for the newly added family members.

If you are not programmers you could probably still handle the custom thankyou page template or even just add it to your thank you text as in "If you just bought a family membership please add the other members here".
If the volume is not high you can add an email notification to the profile submission then the notified person manually adds the relationship in the back end.
Again the membership is set to cascade based on that relationship so the family members get the right membership.
Freeform Solutions provides technology and management consulting, website and database development, and managed internet hosting solutions for not-for-profit organizations (NFPs).

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: Household Memberships - how to relate household members at time mem created
September 30, 2013, 11:45:47 am

hey lolas:

any chance u'll can package this as a civicrm extension? might help a few other folks out there

thanx

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Household Memberships - how to relate household members at time mem created
September 30, 2013, 02:21:58 pm
Yes Lolas, - I'm keen to see how you did that. Also, as you are drupal, would the new version of webform (with 4.4) have allowed you to acheive the same thing?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

lolas

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
    • Freeform Solutions
  • CiviCRM version: Several
  • CMS version: Drupal
  • MySQL version: 5.1+
  • PHP version: Several
Re: Household Memberships - how to relate household members at time mem created
September 30, 2013, 05:01:32 pm
I hope I get a chance to package it as an extension. I do have a small amount of time next week that could possibly be allocated that way.

I didn't get a chance to look into whether the new civicrm_webform could have done this. Possibly it could have done a lot of it for us.

Actually I just cleaned up the module, made a few changes and added more notifications to it. It was written more than a year ago so at that time civicrm_webform didn't have that ability.
Freeform Solutions provides technology and management consulting, website and database development, and managed internet hosting solutions for not-for-profit organizations (NFPs).

KarinG

  • I post frequently
  • ***
  • Posts: 134
  • Karma: 9
  • CiviCRM version: 4+
  • CMS version: Drupal 6 / 7
  • MySQL version: MariaDB
  • PHP version: 5.3/5.4/5.5
Re: Household Memberships - how to relate household members at time mem created
November 20, 2013, 07:42:05 pm
Quote from: Eileen on September 30, 2013, 02:21:58 pm
I'm keen to see how you did that. Also, as you are drupal, would the new version of webform (with 4.4) have allowed you to acheive the same thing?

I just managed to create a true Family Contacts signup + Relations + Contribution + Membership (filtering down to spouse and children) using:

CiviCRM 4.4.1
Webform CiviCRM 7-x.-4.2
That's it! For real...

Current version of Webform CiviCRM 7-x.4-2 requires one patch:
https://drupal.org/node/2140547

Finally an easy way to do true Family registrations in CiviCRM. Webform CiviCRM rocks!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Household Memberships - how to relate household members at time mem created
November 20, 2013, 08:50:43 pm
this suggestion won't scratch all the itches for non drupal sites but would another way to approach it be to have the 'on behalf of' approach reworked so it could also work for HouseHolds?

At least you would get membership created for HH and one contact created and related to it
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1] 2
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Household Memberships - how to relate household members at time mem created

This forum was archived on 2017-11-26.