Answers.Body: <p>I figured this out with the help of @Christian Watch.</p>
  
  <p>Christian's plugin <a href="https://github.com/christianwach/civicrm-wp-member-sync" rel="nofollow noreferrer" title="CiviCRM WP Member Sync">CiviCRM WP Member Sync</a> took care of this. Once a filter was added to allow plugins to handle the username I was able to change the username creation during the membership import to be what I wanted.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-09T23:40:16.860Z
Answers.LastActivityDate: 2017-02-09T23:40:16.860Z
Answers.UserDisplayName: Mike G
Body: <p>We are trying to have a membership signup page on our WordPress site. The idea is that upon membership creation a user will be created in WordPress. </p>
  
  <p><strike>So I have a membership sign-up page using a profile that I've created. Almost everything works as I want it except for how the users in WordPress are being created. It is creating the username as a combination of title, first name, and last name.</p>
  
  <p>I don't have a username field on the profile. There is seemingly no username data point in CiviCRM that I can add to the profile. How can I ask the user to provide a username or change the way it is auto generating them.</strike></p>
  
  <p>I didn't see the option on the profile to create a WordPress user.</p>
  
  <p><strong>Import Question:</strong></p>
  
  <p>When I import users as contacts from our Excel sheet it sets the username as title plus first and last name. Is there a way to provide a username on import? Is there a way to map a username column in the CSV? </p>
  
  <p>I'm using the membership role sync plugin in WordPress to sync roles across to the users in WordPress. Ideally I would like to import all the contacts (which will have both current and expired members) and then import memberships as separate. Doing the membership import would create the user, correct? Again, I'd like to be able to define the username here.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-01T10:14:28.083Z
Comments.Text: Mike: I have responded to your feature request on GitHub. Let's continue the discussion there and I'll post a canonical answer here when we've resolved this.
Comments.UserDisplayName: Christian Wach
Tags: <wordpress><user>
Title: Create Wordpress User With Given Username During Import
ThreadText: # Create Wordpress User With Given Username During Import
  
  (Asked by: username_0 on 2017-02-01)
  
  We are trying to have a membership signup page on our WordPress site. The idea is that upon membership creation a user will be created in WordPress.
  
  So I have a membership sign-up page using a profile that I've created. Almost everything works as I want it except for how the users in WordPress are being created. It is creating the username as a combination of title, first name, and last name.
  
  I don't have a username field on the profile. There is seemingly no username data point in CiviCRM that I can add to the profile. How can I ask the user to provide a username or change the way it is auto generating them.
  
  I didn't see the option on the profile to create a WordPress user.
  
  **Import Question:**
  
  When I import users as contacts from our Excel sheet it sets the username as title plus first and last name. Is there a way to provide a username on import? Is there a way to map a username column in the CSV?
  
  I'm using the membership role sync plugin in WordPress to sync roles across to the users in WordPress. Ideally I would like to import all the contacts (which will have both current and expired members) and then import memberships as separate. Doing the membership import would create the user, correct? Again, I'd like to be able to define the username here.
  
  **Tags:** wordpress, user
  
  > **Comments:**
  > **username_1**: username_0: I have responded to your feature request on GitHub. Let's continue the discussion there and I'll post a canonical answer here when we've resolved this.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-02-09. Score: 1
  
  I figured this out with the help of @username_1 Watch.
  
  username_1's plugin [CiviCRM WP Member Sync](https://github.com/username_1/civicrm-wp-member-sync "CiviCRM WP Member Sync") took care of this. Once a filter was added to allow plugins to handle the username I was able to change the username creation during the membership import to be what I wanted.
  
  
  ---
  
  