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 CiviContribute (Moderator: Donald Lobo) »
  • How to remove username request from Contribute / Membership signup
Pages: [1]

Author Topic: How to remove username request from Contribute / Membership signup  (Read 720 times)

mcgeehon

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: 7.x
  • MySQL version: 5.x
  • PHP version: 5.2.x
How to remove username request from Contribute / Membership signup
March 15, 2013, 08:59:30 pm

I am currently running Drupal with a module that uses an email address as the username.  When I create a new user in Drupal I am only asked for an email address.

When a new user accesses a contribution form with attached membership, the first items listed are Membership Amount and Email Address.  It seems to me that non authenticated users are then also asked for username with a nice 'Check Availability' option next to it.

I don't want my members to select a username, but rather I would prefer that the email address is used as their username. 

Is there any way to do this in Civi?  I assume that the username being asked in the Civi contribute form is hard coded in though I am not sure how it integrates with Drupal if I use modules that override the default Drupal user creation?

Thanks

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: How to remove username request from Contribute / Membership signup
March 21, 2013, 05:52:45 am
mcgeehon :

You can turn off this option  Drupal user account registration option? in profile settings.

Go to the settings of the profile that is configured for your contribution page and look into the Advanced Settings section.

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

mcgeehon

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: 7.x
  • MySQL version: 5.x
  • PHP version: 5.2.x
Re: How to remove username request from Contribute / Membership signup
March 26, 2013, 06:30:02 pm
Thanks Yashodha, however I do want a Drupal registration for the profile. 

This option seems to allow a contact to be created, however I would still like to have a Drupal user created with the email address as the username.  I would hope that eventually Civi could provide an option to allow an email address as the username instead of asking for a username in the future.


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 remove username request from Contribute / Membership signup
March 26, 2013, 06:45:33 pm

You can do the below with a small snippet of jQuery

not sure whether we should move it the direction of providing too many options, complicates the codes a fair bit. Allowing folks to extend and customize seems a saner way of doing things, IMO


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

neorohit

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2.8
  • CMS version: Joomla
  • MySQL version: 5.5.30
  • PHP version: 5.3.22
Re: How to remove username request from Contribute / Membership signup
October 25, 2013, 02:29:52 pm
I am facing the same issue, and have posted over here: http://forum.civicrm.org/index.php/topic,30406.0.html.

Donald, could you elaborate on how one can use jquery to do this?

Thanks,
Rohit

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 remove username request from Contribute / Membership signup
October 25, 2013, 02:47:04 pm

There are quite a few js/jquery tutorials on the web. Might want to look at that to get familiar.

You basically want to populate the username field from the value entered in the email field. If you are not a developer, u can potentially hire someone from our provider listing. please share your code once u've done it, so others can benefit

regards

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]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • How to remove username request from Contribute / Membership signup

This forum was archived on 2017-11-26.