CRM-9684 Giving existing CiviCRM contacts the option to create Drupal account when provided with tokenized profile

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 4.0.7
    • Fix Version/s: Unscheduled
    • Component/s: CiviCRM Profile
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Currently, when sending out a tokenized profile to CiviCRM contacts (where their information is pre-filled in), the user is not presented with an option to create a Drupal account when completing the profile - regardless of what option is set in the Profile Settings menu.

      The attached patch appears to fix the issue in Drupal 7.10 and CiviCRM 4.0.7. Have not configured for Joomla. Have not looked at broader implications of code changes.

        Attachments

          Activity

          [CRM-9684] Giving existing CiviCRM contacts the option to create Drupal account when provided with tokenized profile
          Brian McCain added a comment -

          How do I remove the first attachment - made a mess of it?

          Also, this now affects version 4.1 as I updated the patch

          Donald A. Lobo added a comment -

          This patch is not complete. In the edit scenario u need to make sure either that:

          1. The user is not logged in

          AND

          2. If there is a contact ID there is no user account associated with that contact id

          lobo

          Brian McCain added a comment -

          Added in statements to check if user already logged in, or if the tokenized contact already has a user profile

          Eileen McNaughton added a comment -

          closing out due to age of the issue. If someone finds this & wants to pick it up they may be able to turn the patches into a PR & re-open this

            People

            • Assignee:
              Unassigned
              Reporter:
              Brian McCain

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified