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 CiviMember (Moderator: Deepak Srivastava) »
  • CiviMember doesn't supply custom fields to Drupal registration
Pages: [1]

Author Topic: CiviMember doesn't supply custom fields to Drupal registration  (Read 1286 times)

boftx

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6.20
  • MySQL version: 5.2
  • PHP version: 5.2
CiviMember doesn't supply custom fields to Drupal registration
February 19, 2011, 08:46:17 pm
I have added a couple of extra fields to the Drupal registration form. Specifically, I use the Terms of Use module to require user acceptance as well as the standard Drupal CAPTCHA module to protect the registration form.

New Drupal registrations from CiviMember (and CiviContribute) fail if registration is required becuase it know nothing about these fields when it tries to create the Drupal user. The user is kicked back to the home page with an error message at the top similar to this:

    * I agree with these terms. * field is required.
    * What code is in the image? field is required.

How can I work around this? I really don't want to disable either of those modules as they provide protection from SPAM and also some legal liability for users who do not wish to become official members using CiviMember. (We are a political party website.)

I could always require user registration first before allowing membership application, but I really want a seamless process if possible.

Has anyone found a solution to this? I'm sure I'm not alone.

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: CiviMember doesn't supply custom fields to Drupal registration
February 20, 2011, 01:25:48 am
any reason you don't include the 'terms' fields as a custom field and expose that via a Profile - and set recaptcha on that Profile - hence avoiding doing it via the Drupal reg'n process?
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

boftx

  • I’m new here
  • *
  • Posts: 12
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6.20
  • MySQL version: 5.2
  • PHP version: 5.2
Re: CiviMember doesn't supply custom fields to Drupal registration
February 20, 2011, 01:31:25 am
Yes, because we allow people to register for a website account so they can post in our forum and comment on articles WITHOUT officially joining us. The only reason we require website registration for posting/commenting is to prevent spam. We want the maximum interaction possible.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • CiviMember doesn't supply custom fields to Drupal registration

This forum was archived on 2017-11-26.