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) »
  • Disable Drupal username
Pages: [1]

Author Topic: Disable Drupal username  (Read 1835 times)

johnd

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • John Derry
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: -
  • PHP version: -
Disable Drupal username
May 30, 2012, 07:22:48 pm
We are looking for advice on how to turn off the 'username' field for Drupal account registration process for front end and back end of CiviCRM.

This is the same question as asked here in 2008 but we wonder if the answer is any different now: http://forum.civicrm.org/index.php?topic=5826.0

It looks like a module achieves the aim in Drupal but not necessarily in CiviCRM: http://drupal.org/project/email_registration

We would be grateful if someone can share any experience with disabling the Drupal username field in CiviCRM.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Disable Drupal username
May 30, 2012, 07:32:29 pm
as stated in the 2008 post you reference
Quote
As far as I know, civicrm does not create drupal user during registration process. User is created by drupal and then we use created userid to link it with CiviCRM.

this is still the case -- usernames are created in drupal and then linked by userid with civi. If you want to hide the username then yes, the email_registration module will do that for you. civi will link to the userid as always on the civi record.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Disable Drupal username
May 31, 2012, 12:05:18 pm
Quote from: johnd on May 30, 2012, 07:22:48 pm
It looks like a module achieves the aim in Drupal but not necessarily in CiviCRM: http://drupal.org/project/email_registration

As noted, the username is purely a Drupal issue, not a CiviCRM one. That module should take care of it for you.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

johnd

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • John Derry
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: -
  • PHP version: -
Re: Disable Drupal username
June 13, 2012, 10:56:19 pm
Quote from: Hershel on May 31, 2012, 12:05:18 pm
As noted, the username is purely a Drupal issue, not a CiviCRM one. That module should take care of it for you.

Username must also be a CiviCRM issue.

I installed the module but CiviCRM still requires a username in front end and back end user registration forms.
(Email, Username, Password)

The Email Registration module only changed the Drupal user login form.
(Email, Password)

We're going to leave this issue and come back to it when we have a bit more time.

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: Disable Drupal username
June 14, 2012, 04:44:22 am
when you add a contact in civi manually, it does not require first/last name, you'll see it can just do email address.

you just need to turn off the required profile fields associated with account registration.

administer > customize data & screens > profiles

name and address, uncheck required for first and last name. then users are not required to submit any additional info on account registration.

johnd

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
    • John Derry
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7
  • MySQL version: -
  • PHP version: -
Re: Disable Drupal username
June 20, 2012, 08:53:06 pm
Un-checking first and last name didn't work in the CiviCRM form I am having trouble with.

See attached screenshot. 'Username' is still required.
« Last Edit: June 20, 2012, 11:00:18 pm by johnd »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Disable Drupal username

This forum was archived on 2017-11-26.