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 Drupal Modules (Moderator: Donald Lobo) »
  • civiMember and Drupal
Pages: [1]

Author Topic: civiMember and Drupal  (Read 2338 times)

jechilt

  • Guest
civiMember and Drupal
March 12, 2009, 05:27:49 pm
I need to be able to remove the Create New Account from DRUPAL. 
I set up the civiContribute and am creating the user account via civi.  What I have found is when a person subscribes, if the settings are configured to only allow the admin to create the account, no account is created in drupal.  However, the Create New Account link from drupal no longer shows up.
So, with some help, I got the civi signup to create the account but the options in Drupal have to be set to allow a user to create an account.  If not, the drupal account does not get created.  If no account is created, then the user is unable to log in because no email is sent indicating an email was created.
So, a quick recap.....using civiContribute to subscribe, a user account is created with the drupal setting allowing a person to create an account.  This leaves the problem of the link showing up on the Drupal side saying "Create new account".  I need to get rid of that link.

Next, when a person signs up, an email is sent with their username, but the Drupal account is disabled.  I have to set it to active.  Regardless, when the email is sent, there is no password being included.  Does anyone know how I can resolve this problem.
Here is a caveat.  If the user signs up using paypal, the account needs to be set to active on creation.  If they pay via check, then when the admin enables the account through civiMember, the drupal account needs to be set to active and an email sent saying the account is active AND a password is provided.

Suggestions?

site: www.greenpowercycling.com

Sunil

  • I post frequently
  • ***
  • Posts: 131
  • Karma: 23
  • The community around a product more important than the product itself?
    • CiviCRM
Re: civiMember and Drupal
March 12, 2009, 10:44:56 pm
hi

This is bug in v2.1 and is fixed in v2.2
(CMS User creation option should respect CMS user settings)
http://issues.civicrm.org/jira/browse/CRM-4036

for 2.1  you can backport the patch from here:
http://fisheye.civicrm.org/changelog/CiviCRM/?cs=19563

Sunil
The community around a product more important than the product itself?

jechilt

  • Guest
Re: civiMember and Drupal
March 14, 2009, 10:57:53 am
Maybe the bug is not fixed.  I am running v2.2 beta 4

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: civiMember and Drupal
March 15, 2009, 07:23:41 am

not sure which bug u r referring to

If you are referring to the "Create new account" link, this is more of a drupal issue and i suspect you might be able to hide it via some template / theming changes

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

Matt2000

  • I post frequently
  • ***
  • Posts: 288
  • Karma: 27
    • http://www.ninjitsuweb.com
Re: civiMember and Drupal
April 01, 2009, 05:49:59 pm
Sounds like maybe your end goal is to use CiviContribute to 'sell' user accounts?

If so, instead, you could try:

Allow anyone to sign up for an account, but don't assign any special permissions to the 'authenticated user' role. Instead create a new Drupal role, e.g., 'subscriber', and assign permissions to your restricted features to this role.

Then, use CiviMember to collect payment and CiviMember_role_sync module to grant the role, or else you could use Ubercart module to sell access to the role.
Drupal/CiviCRM micro-blogging http://twitter.com/matt2000

Ninjitsu Web Development http://www.NinjitsuWeb.com/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • civiMember and Drupal

This forum was archived on 2017-11-26.