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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • keeping track of membership donation amounts
Pages: [1]

Author Topic: keeping track of membership donation amounts  (Read 2177 times)

brush

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
keeping track of membership donation amounts
June 18, 2008, 04:16:11 pm
hi folks,

i've tried to research to make sure this isn't a duplicate issue already thoroughly discussed elsewhere, but please point me if i've missed anything.

civimember assumes that membership types will have a uniform membership fee.  however, in our use environment we have a very wide variety of (self-selected) membership levels.  we considered trying to create a very large number of memberships types with adequately fine-grained fee levels, but that proved ungainly.

so right now, we simply have "monthly" or "annual" memberships.  what we'd like is to be able to easily and quickly see the contribution level associated with the membership for each member.  the following 2.1 fix addresses part of that issue: http://issues.civicrm.org/jira/browse/CRM-2984 .  it will allow exports into csv to show the related contribution levels.  but it would be very valuable to see this on the display.

my initial thought was to create custom data linked to the civimember record, ie. "membership fee level".  right now, that doesn't seem possible, but would that be difficult to allow?  then, ideally that custom data would be displayed on the main display table, as well as the drill-down focus page.  alternatively, without creating a new field one could display "most recent membership contribution" on the main display table.  that wouldn't address any issue where someone has promised one amount but is only contributing another, but it would still be useful.

of course, this links to the question of how easy it is to customize fields displayed in the summary view, which is a major usability issue for us (performance issues make drill-down expensive, so the more displayed on one page the better).

so, to summarize:

1) has there been thought, and would it be easy, to make custom data able to attach to civimember records?

2) would it make sense to make "membership level" a standard field on civimember records?

3) how would one make such (custom) data display on the main table?

4) if not custom data, would it be easy to display "most recent linked contribution amount" on main table?

thanks!
.b

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: keeping track of membership donation amounts
June 18, 2008, 07:26:56 pm

Answers to your summarized questions in the same order:

1. You can attach custom data to a membership record. This has been there for the past few versions

2. a membership record has a membership type associated with it along with the $ amount contributed at that level (by that member, stored in a contribution record). Not sure how/why you want to differentiate between membership type and membership level. If by level, you mean the dollar amount, that information is there in the db

3. displaying all/any custom data in the main screen could be a potential issue sicne we have no idea how many custom data fields an org has created and which they want displayed. At some stage we do need to think about layout of the page and an open ended number of columns does not fit well.

4. This is probably doable. You might want to add a comment to this page:

 http://wiki.civicrm.org/confluence/display/CRM/CiviMember+-+Phase+2+Specifications

If you'd like to see this appear in 2.1, you might want to consider submitting a patch to implement this. We dont have a target release on upgrading CiviMember currently.

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

brush

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
Re: keeping track of membership donation amounts
June 19, 2008, 11:47:15 am
responses, again in numerical order.

1.  oh my, mea culpa.  not at all sure how i missed this.  thanks, and it works perfectly.

2. by "level" i was meaning dollar amount.  the issue is that there is a minimum dollar level associated with any membership type, but in our case this is frequently exceeded, which is critical information.  what you're saying, i think, is that the dollar amount is stored as each payment that is actually received linked to that membership.  now, that could possibly be different from what was pledged, thus the custom data above, but i agree that it's generally the same.  so if we could access that info more effectively, our issue would be addressed.

3. re: displaying custom data in main screen, this brings up perhaps our organization's largest challenge, which is how to get more useful information displayed on summary screens that display information for many contacts/memberships/etc.  (this is in part because performance issues make drill-downs very time-consuming, and in part because end-users like seeing comparison information for multiple entries in one place.)  while i agree that presentation issues with too many columns are a concern, i would suggest the solution here is to have a much more customizable interface that allows organizations to set one or more "custom table formats" for summary data to display in.  an interim solution could be an easily hackable section of code for the display table, with instructions, that would allow anyone tech savvy to pretty quickly change the fields displayed, widths, etc.  is there any existing discussion on this?  i would be up for contributing...

4. i added a "feature request" to that page.  i might be up for doing a patch contrib, since this is a high-priority issue for us.  my guess is that the code for exporting this same data in csv (see issue tracker link in initial post) probably has the requisite data interaction, is that right?  any suggestions about where to focus on for adding a column to the display?

thanks much,
.b

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: keeping track of membership donation amounts
June 20, 2008, 02:59:54 pm
Somewhat tangential, but related to this discussion - I want to make sure that you're up to date on the "Custom Search Framework" that was introduced in 2.0 - and is getting some nice improvements in 2.1 (including menu navigation). This feature allows "anyone tech savvy" to create a complete search interface - choosing search criteria, tables to query, columns to show and supports most "tasks" (e.g. Export, Add to Group, etc.).

How-to is here: http://wiki.civicrm.org/confluence/display/CRMDOC/Custom+Search+Components

Examples (some community contributed / not all "working") linked in the sandbox site here: http://sandbox.civicrm.org/civicrm/contact/search/custom/list?reset=1
Protect your investment in CiviCRM by  becoming a Member!

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: keeping track of membership donation amounts
July 09, 2008, 07:04:56 am
I'm interested in having certain custom fields for membership be visible just to certain roles. For example, staff need to track whether two premiums associated with two membership types have been provided/delivered. Looking at http://wiki.civicrm.org/confluence/display/CRMDOC/Membership+Types doesn't suggest a solution.

1. How do I associate a custom profile with some but not all membership levels?
2. How do I hide fields in a custom profile associated with a membership level from certain roles?

Field level ACLs along the lines of 2 seem like they should be implemented as a custom one-off - comments?
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: keeping track of membership donation amounts
July 09, 2008, 11:02:08 am
Joe - I think you can use CiviCRM ACLs to limit view and edit access for specific "custom data groups". Going down this road means that you'll need to specify ACLs for all custom data groups used on the site (replacing the generic "access all custom data" drupal permission) - but might work for you.
Protect your investment in CiviCRM by  becoming a Member!

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: keeping track of membership donation amounts
July 10, 2008, 08:03:05 pm
Thanks, Dave. I'll look into this.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • keeping track of membership donation amounts

This forum was archived on 2017-11-26.