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) »
  • Using Membership Join Form Erases Profile Data of Member if Member != Logged In?
Pages: 1 [2]

Author Topic: Using Membership Join Form Erases Profile Data of Member if Member != Logged In?  (Read 3531 times)

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Using Membership Join Form Erases Profile Data of Member if Member != Logged In?
May 29, 2009, 04:57:14 pm
I've corrected the help information for the "Update on duplicate match" profile setting so that it accurately reflects the current behavior.

"This setting is ignored if the profile is embedded in an online contribution, membership signup or event registration form. In this case a contact match always results in the transaction being linked to the matching contact."

http://issues.civicrm.org/jira/browse/CRM-4562
Protect your investment in CiviCRM by  becoming a Member!

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Using Membership Join Form Erases Profile Data of Member if Member != Logged In?
May 29, 2009, 06:50:55 pm
Quote
Check these requirements (quoted from the pop-up help on that field):
"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. "

I have verified that those settings are correct, and attached screenshots.  Drupal User Account Registration on the Profile is set to "account creation required".  There is still no effect on my Join/Renew membership form page.  
https://www.nscss.org/civicrm/contribute/transact?reset=1&id=1&reset=1

The primary email address doesn't even show up in the profile, perhaps because it is required at the first part of the form anyway as part of the membership process?

Is it possible that this account creation option doesn't apply to CiviMember pages?  Here is another quote from the help text:

Quote
If you are using this profile as a contact signup form, using it in an online contribution page OR an event registration page
« Last Edit: May 29, 2009, 07:02:32 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

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: Using Membership Join Form Erases Profile Data of Member if Member != Logged In?
May 29, 2009, 08:38:45 pm

The site needs to permit user registration also

https://www.nscss.org/user/register

We added this because we got some folks complain that it is a potential security hole that civicrm allows user registration while it is disabled within the CMS.
I'm not sure i completely buy that logic, but we made a decision to disallow that

for now, you can edit

CRM/Core/BAO/CMSUser.php and edit line 178-180

FROM

Code: [Select]
        } else if ( $isDrupal && ! variable_get('user_register', TRUE ) ) {
            return false;
        }

TO

Code: [Select]
       }

lobo



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

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Using Membership Join Form Erases Profile Data of Member if Member != Logged In?
May 30, 2009, 11:21:58 am
Ok guys, thanks for your help.

We're going to save time and go with the easy route, I've added a conditional message at the top of CRM/Contribute/Form/Contribution/MembershipBlock.tpl in my own custom .tpl file

Code: [Select]
{if $session->get('userID') == 0}
<div class="messages status">
Welcome!<br>
If you are already a member, please <a href="/user">login</a> before filling out this form.
</div>
{else}
<div class="messages status">
Welcome!  Please fill out this form to renew your membership.
</div>
{/if}

That should catch 80% of the problems.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: 1 [2]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Using Membership Join Form Erases Profile Data of Member if Member != Logged In?

This forum was archived on 2017-11-26.