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 Multi-Site functionality »
  • Multisite and UF matches
Pages: [1]

Author Topic: Multisite and UF matches  (Read 1494 times)

torrance123

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 3
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.0.91
  • PHP version: 5.3.3
Multisite and UF matches
January 18, 2012, 04:49:17 pm
We have set up a civicrm multisite, whereby multiple Drupal installations are operating off the same multi-org civicrm installation.

The desired behaviour we are after is that if a user who has an account on one Drupal site subsequently signs up on another one of these Drupal sites (with the same email address), that their new Drupal account will be UF matched to their existing civicrm contact record that had been previously been created for them.

The document here suggests this is the default behaviour ("The default behavior for this case is to map the drupal account having same email address for N sites with same/one civicrm contact") and that if we wanted a new civicrm contact record to be created for each Drupal domain we would have to set the CIVICRM_UNIQ_EMAIL_PER_SITE flag.

We don't have that flag set, and yet for each user that exists on a previous drupal site and has an associated civicrm contact, when they create a new account on another Drupal site (with the same email address) we are seeing a new civicrm contact record created for them.

Are we missing some additional configuration or have we misconfigured this somewhere?

chiebert

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 1
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Multisite and UF matches
March 07, 2012, 06:30:23 am
Did you ever discover the solution to this? I'm just running into it now with a fresh install of 4.1 over a 2-site Drupal multisite. Like you, I was not expecting separate contacts to be created when the same person has an account on both sites... I, too, have the 'unique email address per site' box cleared for both domains.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multisite and UF matches
March 07, 2012, 12:17:19 pm
I think in order to make the match you need to include enough information for your de-dupe rule in the profile on user create page.
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

chiebert

  • I post occasionally
  • **
  • Posts: 50
  • Karma: 1
  • CiviCRM version: 4.3
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: Multisite and UF matches
March 07, 2012, 01:46:53 pm
So, does that dedupe get called automatically on user create (i.e., Drupal's hook_user_insert) and/or user update (hook_user_update or _presave), or does it need to be done manually or via schedule?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Multi-Site functionality »
  • Multisite and UF matches

This forum was archived on 2017-11-26.