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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Creating Drupal Accounts with No Email Address for CiviCRM Individuals
Pages: [1]

Author Topic: Creating Drupal Accounts with No Email Address for CiviCRM Individuals  (Read 1068 times)

Ivan Stegic

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • Ivan Stegic
    • Ten Seven Interactive
Creating Drupal Accounts with No Email Address for CiviCRM Individuals
May 20, 2009, 12:28:41 pm
I have an installation of CiviCRM 2.2 running on Drupal 6.6, with around 2000 individuals in the contact database as part of a small alumni association. I migrated my client's database from an Excel spreadsheet that was being used, and it has mostly gone really well: the client is happy.

As part of giving access to members to their online records, we have to create a Drupal account. This is typically not a problem, and I have been using the awesome drupal module Node Import (http://drupal.org/project/node_import) in release candidate 4 flavor to import CiviCRM individuals as users into Drupal. This works great -- except for the fact that I can't import people unless they have an email address.

There are about half of the members in the database that do no have email addresses, although they probably do it's just that we don't have them. What can I do? We have tried contacting these members to get updated information: not very successful. We've thought about creating dummy email addresses: this will just server to confuse the members.

Is there a way to create a drupal account without a valid email address (maybe something like user@domain) and still have it be associated with the correct CiviCRM individual? I would love to be able to create an account for every single member in the database with an username and password I generate, and have them log in to add an email address if we don't happen to have it. We will be sending out printed material to the members, and we plan on including the username/password on that material so that they can log in and update their info.

What is the connection between Drupal accounts and CiviCRM accounts? Is it indeed email address? Or, is there another relationship that could be used?
_______________________________________________
 Ivan Stegic owns Ten Seven, Interactive,  a web studio
 in Minneapolis dedicated to helping you realize your
 design intentions accurately in XHTML.
 Creators of Periscope Gadget.

 http://tenseveninteractive.com/

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: Creating Drupal Accounts with No Email Address for CiviCRM Individuals
May 20, 2009, 02:36:14 pm

hey ivan:

one potential solution is to create a dummy address for them at your site and then import the users and allow civicrm to do the match based on email address. You can then delete those dummy email addresses from the civicrm records.

I'm not sure if email is necessary for drupal, but if not you can reset those email addresses also in the drupal user table

the question remains as to how you will tell these folks their username and password? snail mail letter?

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

Ivan Stegic

  • I’m new here
  • *
  • Posts: 3
  • Karma: 0
  • Ivan Stegic
    • Ten Seven Interactive
Re: Creating Drupal Accounts with No Email Address for CiviCRM Individuals
May 20, 2009, 02:44:22 pm
Thanks for the note: I think that creating the dummy email addresses would work, as long as the connection between the drupal account and the civicrm account is not lost when I reset the email address to null.

And yes, snail mail is how the alumni will receive their unique username and password -- we have physical addresses. We could also potentially call them.
_______________________________________________
 Ivan Stegic owns Ten Seven, Interactive,  a web studio
 in Minneapolis dedicated to helping you realize your
 design intentions accurately in XHTML.
 Creators of Periscope Gadget.

 http://tenseveninteractive.com/

JulieR

  • I post occasionally
  • **
  • Posts: 52
  • Karma: 5
Re: Creating Drupal Accounts with No Email Address for CiviCRM Individuals
August 14, 2009, 09:03:07 am
Hi Ivan, I'm grappling with the same problem - how did it work for you, to make dummy email addresses?  Would you do it differently now? :-)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Creating Drupal Accounts with No Email Address for CiviCRM Individuals

This forum was archived on 2017-11-26.