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) »
  • Sign up only with contribution page, disable normal Drupal account creation
Pages: [1]

Author Topic: Sign up only with contribution page, disable normal Drupal account creation  (Read 577 times)

Jens-Erik

  • I post occasionally
  • **
  • Posts: 60
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.4
Sign up only with contribution page, disable normal Drupal account creation
January 16, 2014, 09:43:39 am
Is it possible to deactivate the "Create new account" link in the 'User login' block in Drupal?

We use the contribution page not because of a contribution (it's a free sign-up), but because it seems to be the only way to optionally let users sign up on behalf of an organization. We want users to create an account, but this is - also for profile or contribution sign ups - only possible if you activate account creation by users in the Drupal configuration. But then you have the "Create new account" link. You could determine a profile for that Drupal siign up page, but this is no option for our multi site CiviCRM installation, since this profile would appear also on the other websites, and it wouldn't have the features of the contribution page (in our case organization sign up, and in another case also the contribution).

So is there a way of disabling normal Drupal account creation but still have it activated for a contribution page?

Jens

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Sign up only with contribution page, disable normal Drupal account creation
January 16, 2014, 12:22:59 pm
i think we solved this just with a redirect to the profile/contribution page
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

drupleg

  • I post occasionally
  • **
  • Posts: 39
  • Karma: 2
    • Drupal.org Profile
  • CiviCRM version: 4.1
  • CMS version: Drupal 7
  • PHP version: 5.3
Re: Sign up only with contribution page, disable normal Drupal account creation
January 31, 2014, 10:50:23 am
I used this solution from:

Re: Disable Drupals "Create New Account" page. allow only register from Contribution
http://forum.civicrm.org/index.php/topic,10656.msg47908.html#msg47908

Code: [Select]
if (arg(0)=='user' && arg(1)=="register") drupal_goto("[domain]/civicrm/contribute/transact?reset=1&id=2");

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Sign up only with contribution page, disable normal Drupal account creation

This forum was archived on 2017-11-26.