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) »
  • Problem with registering lifetime membership for someone else [cid=0]
Pages: [1]

Author Topic: Problem with registering lifetime membership for someone else [cid=0]  (Read 2802 times)

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Problem with registering lifetime membership for someone else [cid=0]
November 02, 2014, 08:40:38 am
I build I contribution page for internal use. People that will use this page will already have a membership and will register other person. Therefore the link that I use is the normal one generated by the system in addition to "&cid=0" at the end so that the system register the entry under someone else than the login user.

I've got different type of membership with different duration which one is a lifetime.

The problem happen if the login user  hold a lifetime membership. The page will appear by showing the possibility so subscribe to all membership but the lifetime one.

My server actually running drupal 7.28 with civicrm 4.4 but I also try with the online demo of civicrm 4.5 and same problem happen other than the system show a message saying that: "You have a current Lifetime Membership which does not need to be renewed."

I would really appreciate if someone can help me with that. And I'm ready to update system to 4.5 if needed.

Thanks

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
November 02, 2014, 10:35:52 am
I even try to put the lifetime membership to "Auto-renew option: Give option, but not required" to see if it will miraculously appear in the form...

unfortunately not.

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
November 02, 2014, 01:04:52 pm
Seem I'm speaking to myself for now  ::)  but I'm sure that some of you will be able to help me out or point out the problem to the awesome civicrm TEAM so they can make a fix in a near futur.

I just wan't to let you know, why I try to use the contribution page instead of other means.

The other alternatives that I found to do what I want other that giving open access to the person at the back office.

First the person who is login must register for someone else.

-Using back office New member Standalone form
    but I need to record some information on the member like address and other personalise data

-Using webform-civicrm with 2 contact
    -->problem 1: cannot use paypal processor
    -->problem 2: contact 1 must be login user, contact 2 new member... ok    but payment must be done by contact 1


So I'm open to any other suggestion

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: Problem with registering lifetime membership for someone else [cid=0]
November 02, 2014, 03:00:55 pm
hey mallox - yeah we are watching  :-X

I recall there was some 'special' behaviour concerning Lifetime eg that you cannot give a contact two even if they are to different organisations.
googling may find you discussion about that.

so two possible quick workarounds.

1/ don't use 'life' - just set it to eg 100 years (is that even possible)

2/ since you are on drupal see if webform_civicrm will get you past this roadblock since it is SO good at creating relationships, adding memberships and much more

good luck
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

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
November 04, 2014, 12:41:03 pm
Thanks Pete for your reply.

I try your 100 years membership solution.
I change in the parameter of the lifetime membership to 100 years membership.
But that didn't change the term of membership of actual member to 100 years. So the system will still doesn't show them the 100 years membership choice went registering for someone else.

As for webform_civicrm, I do like this module, but like I said in my earlier post, I did found the way the register AND pay the name of someone else. If it's possible I be happy if you could guide me through it.
(And I think it's not possible to use paypal as processor)

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problem with registering lifetime membership for someone else [cid=0]
November 04, 2014, 01:28:47 pm
Does the url you are using have 'mid' in it as well as 'cid' ?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
November 05, 2014, 05:25:28 am
Quote from: Eileen on November 04, 2014, 01:28:47 pm
Does the url you are using have 'mid' in it as well as 'cid' ?

No, I don't know what "mid" is use for?

There is the url that I use:

/civicrm/contribute/transact?reset=1&id=1&cid=0

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
November 07, 2014, 12:55:52 pm
So what is the use of "mid="?  I couldn't found any reference to it. Could it be of any help to me? ???

Thanks again for your help

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problem with registering lifetime membership for someone else [cid=0]
November 07, 2014, 08:47:58 pm
membership id is mid - my reading of the code suggested perhaps the problem you described could happen if mid was in the url. I think you can probably log as a bug in JIRA from the sounds of it
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
November 07, 2014, 09:02:57 pm
Already reported,

CRM-15559, if you want to work on it  ;D

But in the meantime you think of something else than can help me, let me know.

Thanks again for your support

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
November 19, 2014, 03:51:15 pm
Quote from: petednz on November 02, 2014, 03:00:55 pm

1/ don't use 'life' - just set it to eg 100 years (is that even possible)


Hi Pete,

I try your solution again, I put the statut of  the actual lifetime to cancel and create a new membership with 100 years. So I can keep all facturation information register in the lifetime membership. But the problem is that the system with cid=0 still see the "cancel membership" as actual.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Problem with registering lifetime membership for someone else [cid=0]
December 09, 2014, 11:54:38 am
I note there is a patch on the ticket now & it looks like it makes sense to put it into 4.4 as well (v small easily verifiable patch)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

mallox

  • I’m new here
  • *
  • Posts: 27
  • Karma: 0
  • CiviCRM version: 4.4
  • CMS version: Drupal v7
  • MySQL version: 5.1.61
  • PHP version: 5.4
Re: Problem with registering lifetime membership for someone else [cid=0]
December 10, 2014, 09:33:43 am
Yes the 2 paths work fine with 4.4 and for now it seem to have fix all related cid=0 probrem with lifetime membership.


Thanks to those who have work on that issue
https://issues.civicrm.org/jira/browse/CRM-15559

https://github.com/civicrm/civicrm-core/pull/4651
https://github.com/civicrm/civicrm-core/pull/4690

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Problem with registering lifetime membership for someone else [cid=0]

This forum was archived on 2017-11-26.