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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Drupal registration
Pages: [1]

Author Topic: Drupal registration  (Read 3405 times)

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Drupal registration
August 17, 2007, 05:36:06 pm
Under advanced options for a profile, there is a checkbox for this:

Drupal user account registration option?
If you are using this profile as a contact signup form OR using it in an online contribution page, anonymous users will be given the option to create a Drupal User Account as part of completing the form. This feature requires the 'Email Verification' option to be checked (Drupal User Settings). In addition, you must include a Primary Email Address field in the profile.

However, when I check that, it doesn't seem to do anything?

Thanks!

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Drupal registration
August 17, 2007, 10:16:54 pm

It would be helpful for us to tell you the problem, if you can put down the exact steps you took, for creating the profile and the way you used it.

For more information on CiviCRM Profiles, you can refer http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=9270
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

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: Drupal registration
August 18, 2007, 02:08:22 am

Note that this feature ONLY works with Drupal 5.x. I'm pretty sure this is in the documentation/help file, but might be mistaken. We try to detect the drupal version before displaying the checkbox etc

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 18, 2007, 06:03:41 pm
We're using Drupal 5.2.

I created a new profile, and under the advanced options I checked the Drupal registration item.

Then I added fields to the profile, including primary e-mail.

When we make the stand alone page (using the code created by CiviCRM), there is nothing about the Drupal reg. When I look at the page when I am logged out, there is nothing about it there.


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: Drupal registration
August 19, 2007, 01:11:07 am

What happens in the non-standalone case? When you view the page in the profile mode? i.e. q=civicrm/profile/create&reset=1&gid=XXX

Also can you reproduce the problem on demo and let us know what you see and what you expect. might make things a bit clearer for us

thanx

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 19, 2007, 01:43:48 pm
Ah ha, I see it on that page. I didn't even know there was another way to reach the profile pages, other than in your edit account page for Drupal, a stand alone page, etc.

I'd imagine that I'm not the only one who expects it to show up on a stand alone page. That's certainly where I was expecting it to show up. Especially since we want to be able to easily control the text that shows up at the top of the page.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 19, 2007, 01:48:34 pm
Also, our last item on the profile also does not show up on that profile page. It's a series of checkboxes for how you want to help out the campaign.

Here's the standalone page:
http://www.friendsofcyreena.com/volunteer

Here's the CiviCRM created page:
http://www.friendsofcyreena.com/civicrm/profile/create&reset=1&gid=2

I verified the volunteer item is indeed still part of the profile.

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: Drupal registration
August 19, 2007, 01:58:39 pm

Can you please reproduce this on http://demo.civicrm.org/drupal/ and if so file an issue.

We suppress a few "dynamic" features from the standalone form since some components of the form are dynamic (a standalone form is not dynamic). The CMS user part is NOT shown for a logged in user which cannot be determined by a standalone form etc

You can create a new template for a profile if you want to adjust the help text / layout etc only. Instructions are at:

http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in+and+Profile+Screens

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 19, 2007, 02:19:14 pm
I just recreated the form over at the demo site. I didn't make it quite as long, though (no address or phone numbers). Everything shows there, though. So I am at a bit of a loss as to why the checkboxes aren't showing on our site.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 19, 2007, 02:22:51 pm
Actually, I just noticed something. None of the custom data items are showing up on the page. I didn't realize before that the second phone number field was missing as well.

So all the fields that are created by CiviCRM are showing up. But none of the custom data items are.

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: Drupal registration
August 19, 2007, 02:29:35 pm

Make sure you have enabled: "access all custom data" in your drupal permissions for anonymous users

This was a 1.7 change

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 19, 2007, 02:34:43 pm
Thanks. I'll bet that was it.

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 19, 2007, 02:46:15 pm
That indeed was the problem. I set that access item, and now all items show up.

I ended up copying the source code from that page and then using it to create a page. I needed something where the initial text could be easily changed by the campaign, and the look of the page was easy for them to control as well. I didn't want them to have to come to me all the time for such minor changes.

I then tested the page as an Anonymous user, and it worked great. All the information was stored and the Drupal account was created.

Not having the page recognize whether or not you're logged in wasn't such a big deal for us, since user accounts are there strictly for being able to update your CRM data (other than the site admin, of course).

I'd recommend adding a bit about the Drupal reg item not showing on stand-alone pages like the Captcha text does.

Thanks for the help!

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: Drupal registration
August 19, 2007, 02:55:56 pm

Jenni:

We'll update the docs with regard to the below.

Here is the reason why the "drupal user reg" does not show up in the standalone form. You generate the standalone form as "CiviCRM Admin" (and thus a logged on user in most cases). The standalone form is generated for this user. Since the user is logged in (and has an account), the standalone form does not contain the "user registration" block

Not sure whether to classify this as a bug or a feature :) If you feel strongly about it, please file an issue and we'll fix it for the 2.x series

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

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Drupal registration
August 19, 2007, 03:02:20 pm
I don't feel real strongly about it, but I could definitely see other people maybe feeling that way. It wasn't a huge deal to just copy the source code from the page and then create my own page. I then had full control over the look of the page.

I just like the idea of it allowing the creation of the account right there. On other sites, we've had to put a blurb about the need to create a log-in and then link them off to the registration page. Having the log in feature right there is a good thing to have.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Drupal registration

This forum was archived on 2017-11-26.