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) »
  • Calculate membership types based on contributions?
Pages: [1]

Author Topic: Calculate membership types based on contributions?  (Read 1898 times)

kindermaur

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Calculate membership types based on contributions?
February 12, 2008, 07:35:40 pm
I am setting up a new installation of CiviCRM, and after importing a large number of contacts & contributions, and setting up membership types, I am wondering... is there anyway to automatically create membership records and calculate membership types based on the contributions data and the "Minimum fee" value assigned to the different membership types?

Thank you,

Kurt Indermaur

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: Calculate membership types based on contributions?
February 12, 2008, 09:20:28 pm

I dont think there is code which does exactly what you want. However it should be quite easy to reuse most of civicrm functions and put them in a loop to do the below. I suspect this is very org specific and the rules are potentially quite different for different orgs and hence might be hard to generalize.

If you need help figuring out how to potentially do this, contact us on IRC. You'll need to be pretty good at PHP and OOP

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Calculate membership types based on contributions?

This forum was archived on 2017-11-26.