Answers.Body: <p>A couple of other thoughts.</p>
  
  <p>You can use the CiviCRM Membership roles sync module so that only paid up members get a special Drupal Role. I.e. you would let all people signing up get a Drupal account but with no special permissions, and then when they are paid the module can set them as Members role and hence gain access to members-only stuff.</p>
  
  <p>Or if you really only want Drupal accounts for paid up members, and you are wanting something a bit more automated, you could look at Drupal Rules (and CiviCRM Entity module) to create (or unblock) the account based on some civi criteria. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-16T17:34:19.337Z
Answers.Text: Yeah, I like the rules approach, also to automatically assign usernames. There's a wiki page somewhere from Peter or Eileen that gives a nice example.
Answers.UserDisplayName: Alan Dixon
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-16T19:33:36.797Z
Answers.Text: https://civicrm.org/blogs/petednz/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-14T21:21:43.853Z
Answers.LastActivityDate: 2016-02-17T09:51:55.973Z
Answers.LastEditDate: 2016-02-17T09:51:55.973Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>Most of what you're describing is handled automatically.  Here are some key elements that may help:</p>
  
  <ul>
  <li>You must create the membership form as a contribution page.  Go to <strong>Contributions menu > Manage Contribution Pages</strong> and create a new page.  Be sure to fill out the "Membership" section.</li>
  <li>A good reference can be found <a href="http://gitbook.civicrm.org/membership/online-membership-sign-up.html" rel="nofollow">here</a>.</li>
  <li>To allow the user to become a Drupal user as part of signup, create a profile from <strong>Administer menu > Customize Data and Screens > Profiles</strong>.  In the profile settings, under "Advanced Settings", there is an option to allow someone to create a Drupal account while filling out the profile.  Once you've created the profile, add it to the contribution page from the "Include Profiles" tab.</li>
  <li>You can decide whether or not to take either online (e.g. credit card) or offline (e.g. mailing in a check, aka "pay later") payments or both for your registration form.  If someone pays online, and the transaction is successful, they'll automatically receive a membership.  If you allow a "pay later" option, a membership will be created with a status of "pending".  It will not be counted as a membership for most purposes.  When you mark the contribution as complete, the membership will activate.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-14T21:15:22.513Z
Answers.Text: Worth adding that in (drupal) /admin/config/people/accounts you can set the Drupal user to 'require admin approval' ie their drupal account can be given the 'ok' once payment is received.
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-13T20:15:45.960Z
Answers.LastActivityDate: 2016-02-13T20:15:45.960Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>we are really new to CiviCRM and Drupal (and this forum). We're trying to setup an online member registration: we want an anonymous user to become a Drupal user filling a registration form with a membership payment. The user account will stay blocked until the payment is received.</p>
  
  <p>We've read the membership documentation (also profiles and civimember sync) but we're still missing the general idea.</p>
  
  <p>If anynone can shed some light on the workflow to achieve this or recommend a good reference, it would be great for us.</p>
  
  <p>Thanks in advance!</p>
  
Tags: <drupal><civimember><registration>
Title: Online registration: Drupal+CiviMember
ThreadText: # Online registration: Drupal+CiviMember
  
  (Asked by: username_0 on 2016-02-13)
  
  we are really new to CiviCRM and Drupal (and this forum). We're trying to setup an online member registration: we want an anonymous user to become a Drupal user filling a registration form with a membership payment. The user account will stay blocked until the payment is received.
  
  We've read the membership documentation (also profiles and civimember sync) but we're still missing the general idea.
  
  If anynone can shed some light on the workflow to achieve this or recommend a good reference, it would be great for us.
  
  Thanks in advance!
  
  **Tags:** drupal, civimember, registration
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2016-02-14. Score: 3
  
  A couple of other thoughts.
  
  You can use the CiviCRM Membership roles sync module so that only paid up members get a special Drupal Role. I.e. you would let all people signing up get a Drupal account but with no special permissions, and then when they are paid the module can set them as Members role and hence gain access to members-only stuff.
  
  Or if you really only want Drupal accounts for paid up members, and you are wanting something a bit more automated, you could look at Drupal Rules (and CiviCRM Entity module) to create (or unblock) the account based on some civi criteria.
  
  > **Comments:**
  > **username_2**: Yeah, I like the rules approach, also to automatically assign usernames. There's a wiki page somewhere from Peter or Eileen that gives a nice example.  
  > **username_1**: https://civicrm.org/blogs/petednz/creating-drupal-users-made-easy-single-or-multiple-contacts-civi-imports-and-webforms  
  
  ---
  
  ### Answer by username_3 on 2016-02-13. Score: 3
  
  Most of what you're describing is handled automatically. Here are some key elements that may help:
  
  * You must create the membership form as a contribution page. Go to **Contributions menu > Manage Contribution Pages** and create a new page. Be sure to fill out the "Membership" section.
  * A good reference can be found [here](http://gitbook.civicrm.org/membership/online-membership-sign-up.html).
  * To allow the user to become a Drupal user as part of signup, create a profile from **Administer menu > Customize Data and Screens > Profiles**. In the profile settings, under "Advanced Settings", there is an option to allow someone to create a Drupal account while filling out the profile. Once you've created the profile, add it to the contribution page from the "Include Profiles" tab.
  * You can decide whether or not to take either online (e.g. credit card) or offline (e.g. mailing in a check, aka "pay later") payments or both for your registration form. If someone pays online, and the transaction is successful, they'll automatically receive a membership. If you allow a "pay later" option, a membership will be created with a status of "pending". It will not be counted as a membership for most purposes. When you mark the contribution as complete, the membership will activate.
  
  > **Comments:**
  > **username_1**: Worth adding that in (drupal) /admin/config/people/accounts you can set the Drupal user to 'require admin approval' ie their drupal account can be given the 'ok' once payment is received.  
  
  ---
  
  