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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom data in civiCRM user registration page and captcha display
Pages: [1]

Author Topic: Custom data in civiCRM user registration page and captcha display  (Read 20746 times)

mrchristian

  • Guest
Custom data in civiCRM user registration page and captcha display
May 16, 2007, 09:38:16 am
Hi

I'm working in Drupal 5.x and CiviCRM 1.7.

I'm am having problems getting custom data to show up in my registration page and secondly my captcha function doesnt display either.

Ive been searching around for posts with suggested solutions to my problem and Ive been doing tonnes of double checking of the configurations process.

Here is my configuration process
------------------------------------------
1. After much fustration I setup a clean text CiviCRM Profile for user registration.
2. Included one field from the Individual category on contact information, 'First name'
3. Created a custom group of data, added one cust data field a radio check box, making sure the custom data was configured for the Individual contact type
4. Turned on the captcha function on my civiCRM profile
5. Added the custom data field to my civiCRM user registration field
6. Previewed the user registration form, which sucessfully displayed the data I required, see screenshot
http://3d.openmute.org/modules/xoopsgallery/view_photo.php?full=1&xoops_imageid=606&set_albumName=album25&id=Screenshot
7. I turned on Drupal ACLs to allow anon users to access profiles

Then when I go to use this registration form I only get the Individual name field appearing from the Individual contact details and no custom data or captcha

see http://agents.metamute.org/?q=user/register

Help very much appreciated

Simon :-)




Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom data in civiCRM user registration page and captcha display
May 16, 2007, 10:52:50 am
Simon,
In 1.7, you need to enable 'access all custom data' for the Anonymous role under Drupal Access Control if you want to use custom fields in User Registration. I've updated the doc to try and make this clearer since it seems to be causing confusion for folks:

http://wiki.civicrm.org/confluence/display/CRMDOC/Drupal+Access+Control

Regarding CAPTCHA on the User Registration form - I just tested on our 1.7 demo and it's not showing up there either. We'll do some checking to see if this worked in previous releases, see what's causing the problem and how fixable it its.
Protect your investment in CiviCRM by  becoming a Member!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom data in civiCRM user registration page and captcha display
May 16, 2007, 06:31:50 pm
Simon - I checked with Lobo, and he said that our CAPTCHA feature is not available when a profile is running within a Drupal User Registration or My Account form. Given that we don't have much control over sessions etc in that scenario - we're not aware of a way to make this work going forward either.

I will add some notation to the documentation (and the profile screen, for 1.8) which indicates this limitation.
Protect your investment in CiviCRM by  becoming a Member!

mrchristian

  • Guest
Re: Custom data in civiCRM user registration page and captcha display
May 17, 2007, 03:12:17 am
Hi

Thank you very much for your help with these issues, you not only helped our project along but also helped me regain my sanity. I'll look at commissioning a fix for the Drupal CAPTCHA issue as we have a budget for our project.

Thanks again

Simon

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Custom data in civiCRM user registration page and captcha display
June 23, 2008, 04:42:00 pm
Just to note this does not seem to work in 2.x either.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom data in civiCRM user registration page and captcha display
June 24, 2008, 10:09:35 am
Alfred - have you tried solving this by implementing the Drupal reCaptcha module. Given that the user registration is a single form w/ both Drupal fields and (optionally) CiviCRM Profile(s) - seems like this might work ???

http://boldsource.com/tutorials/drupal-spam-protection-using-recaptcha

Let us know if that works for you...
Protect your investment in CiviCRM by  becoming a Member!

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Custom data in civiCRM user registration page and captcha display
June 24, 2008, 01:55:50 pm
There is a conflict w/ the CiviCRM Event, Civi Profile and Drupal user registration and reCapcha
I can show you on a demo site.
So go to this site and try it
http://www.rivervalleytechcollective.org/civicrm/event/register?id=3&reset=1
I think this is interesting too...
If I go to the Profile I am using for this event and click 'Drupal Registration' then go back to the Event to configure it, the profile is no longer Selected (even though it was before this) so I have to reselect it.
Also you will notice reCaptcha does not appear.
It is turned off in the Profile but not in drupal.
This was noted as a limitation in a civipost I saw.
???

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Custom data in civiCRM user registration page and captcha display
June 24, 2008, 05:12:50 pm
My suggestion was specifically about using reCaptcha in drupal user registration (not in CiviEvent registration). That said, now that we've implemented reCaptcha for 2.1, lobo is looking at what it would take to make it available for profiles that are embedded in event registration.

Regarding your other issue about Profiles selected for events, there were some issues in 1.9 and initial 2.0 releases regarding Profile linkages to Events. I believe they were addressed by this issue: http://issues.civicrm.org/jira/browse/CRM-3095
Protect your investment in CiviCRM by  becoming a Member!

alfred_nutile

  • Ask me questions
  • ****
  • Posts: 464
  • Karma: 14
    • River Valley Tech Collective
Re: Custom data in civiCRM user registration page and captcha display
June 24, 2008, 05:18:50 pm
Thanks  :)
So one thought there is if you turn reCaptcha on in drupal for all these other things (drupal user registration etc)
then you would not really be turning in reCaptcha in Civi since if the Event allows drupal registration and the profile used says yes to reCaptcha they would conflict?
Does that make sense?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Custom data in civiCRM user registration page and captcha display

This forum was archived on 2017-11-26.