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) »
  • Importing members
Pages: [1]

Author Topic: Importing members  (Read 1098 times)

cbh

  • I post occasionally
  • **
  • Posts: 71
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.71-log
  • PHP version: 5.5.3
Importing members
August 15, 2010, 09:22:25 am
Hi there.
I'm working with an organization that uses Drupal/Civicrm and initally has input members incorrectly as contacts - there are about 133 of them as far as I can tell. I wanted to check a couple of my assumptions before going ahead with correcting this, based on what I've read in the Wiki and from searching the forums:

1. The way to do this is to export the relevant contacts and then import them into the CiviMember, inserting the fields into the CSV sheet such as membership start date that are mentioned in the documentation
2. Contact address and related information are retained (though not included in the import) as they're already in the database as a result of the contact setup process
3. I can resolve any duplicate entries with find and merge duplicate contacts (will this also address duplicate member entries - yes, we have some of those too.
4. Given the mess, it may be wise for me to create a separate membership type for the import. Would it then be possible to switch members over to the desired membership type easily - that is, in bulk?
5. Once I've got all this done I can then synchronize users and contacts to ensure that everyone registered as a member (or now imported as well) will now have a user account as well, is that right?
6. It looks like Drupal creates a contact record when we register them in Drupal. If I create a contact in Civicrm, is there a way to automatically create a new Drupal user record?

Thanks for your help!
Cheers
Chris Hutcheson

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Importing members
August 23, 2010, 06:08:08 am
Quote
1. The way to do this is to export the relevant contacts and then import them into the CiviMember, inserting the fields into the CSV sheet such as membership start date that are mentioned in the documentation

Right.

Quote
2. Contact address and related information are retained (though not included in the import) as they're already in the database as a result of the contact setup process
Yes.

Quote
3. I can resolve any duplicate entries with find and merge duplicate contacts (will this also address duplicate member entries - yes, we have some of those too.
Yes.

Quote
4. Given the mess, it may be wise for me to create a separate membership type for the import. Would it then be possible to switch members over to the desired membership type easily - that is, in bulk?
Nope there is no bulk action to change membership type.

Quote
5. Once I've got all this done I can then synchronize users and contacts to ensure that everyone registered as a member (or now imported as well) will now have a user account as well, is that right?
Nope, Import Members won't create drupal account. For this you should check: http://forum.civicrm.org/index.php/topic,1891.0.html

Quote
6. It looks like Drupal creates a contact record when we register them in Drupal. If I create a contact in Civicrm, is there a way to automatically create a new Drupal user record?
You can implement this functionality using hooks. ( post hook )

Hth
Kurund
Found this reply helpful? Support CiviCRM

cbh

  • I post occasionally
  • **
  • Posts: 71
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.71-log
  • PHP version: 5.5.3
Re: Importing members
August 23, 2010, 06:31:14 am
HTH? It certainly does, thanks very much!

I notice in your last comment concerning hooks you had (post hook) in parenthesis. Could you explain a little more about that?

Thanks again
Chris

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Importing members
August 23, 2010, 07:03:14 am
Chris,

Check http://en.flossmanuals.net/CiviCRM/DevelopHooks

Kurund
Found this reply helpful? Support CiviCRM

cbh

  • I post occasionally
  • **
  • Posts: 71
  • Karma: 0
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.71-log
  • PHP version: 5.5.3
Re: Importing members
August 23, 2010, 07:14:02 am
Thanks for that - will do!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Importing members

This forum was archived on 2017-11-26.