CRM-3788 Provide option to force 'On Behalf Of' contributions and force 'Create CMS User' in Profiles

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      Providing the option to force 'On Behalf Of' contributions would allow useful segmentation of contribution pages into those that are strictly for 'on Behalf of' actions.

      For example, if you want to allow an Individual Membership sign-up, and an Business Membership sign-up form, to target the audiences well it may be useful to have different text and diffent options on two different contribution pages. If the 'On Behalf Of' is optional on the Business Member page, it would lead to confusion and the possibility of individuals signing up for business class memberships.

      I have implemented this using a hook to set the default value of on behalf of prior to loading, and small change to the core to make the option button hidden.

      Would be useful to have a checkbox on the Contribution form configuration pages.

      Do the same for Profile / Create CMS User as noted by lobo below.

        Attachments

          Activity

          [CRM-3788] Provide option to force 'On Behalf Of' contributions and force 'Create CMS User' in Profiles
          Donald A. Lobo added a comment -


          When we are doing this, we might also want to add the option to add "force add cms user option" since this has come up in the past also

          Chris Mott added a comment -

          Agreed that CMS user forcing is useful - I'm currently using hooks and hidden fields to do this as well.

          Amiteshwar Prasad added a comment -

          We have added new feature in v 2.2 that allow to make CMS user creation compulsory or optional. So in this case you can make CMS user creation required.
          Fixed in r18292

          Junaid Shaikh added a comment -

          Is there a way I can patch my 2.1 installation with this latest fix made by Amiteshwar Prasad? Would be great if I can just copy over the files as my non-profit's site is hosted on godaddy and it's a pain to install civicrm on godaddy (I installed it on dreamhost and copied over the files and db to godaddy). Thanks.

          Shailesh Lende added a comment -

          Option to force "On be Half of" is not covered, hence reopening.

          Shailesh Lende added a comment -

          Tested and verified for v2.2 rev-19038.

          Kurund Jalmi added a comment -

          Batch move to verification

          Yashodha Chaku added a comment -

          assigning for 3.0 QA

          Neha Kulkarni added a comment -

          verified in rev 23549

            People

            • Assignee:
              Neha Kulkarni
              Reporter:
              Chris Mott

              Dates

              • Created:
                Updated:
                Resolved: