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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to handle contacts for drupal users that never logged in
Pages: 1 [2]

Author Topic: How to handle contacts for drupal users that never logged in  (Read 6124 times)

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: How to handle contacts for drupal users that never logged in
November 11, 2010, 02:00:11 pm
Quote from: grahamgilchrist on November 11, 2010, 08:55:11 am
So, it would be really useful to be able to specify seperate strict dedupe rules for website registration, event registration, contribution pages and contact import. I know this has come up before, so would this be a good idea to try to patch this functionality? It would just mean changes to a few admin screens and a couple of extra fields stored wherever the dedupe rules are kept (DB or $config object?)

Agreed, this would be a great addition to the code base

Quote from: grahamgilchrist on November 11, 2010, 08:55:11 am
3) Add contacts from website signup on login instead of registration (save to CiviCRM DB)
Requires DB table to store profile fields. Could we serialize the $_POST object and then use quickform to process on login? Can quickform even work this way without a direct submit? Doesn't handle accounts made with event registrations or contributions

yes this is possible. You can probably fake QF by putting it in $_POST on login and then removing it when QF is done

For most folks who run into this scenario, we've recommended that they collect information via a "My Account" profile. You can use hooks to "force" people to fill in this information when they login (if its empty).

If you are using this information to decide whether to give them an account or not. maybe another approach could be to collect the information in a profile. Add the contacts to a group. If account is approved, use a hook to create the account and move the contact out of the group. If account is denied, delete the contact

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

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • How to handle contacts for drupal users that never logged in

This forum was archived on 2017-11-26.