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 CiviContribute (Moderator: Donald Lobo) »
  • Public Listings of Contributors
Pages: [1]

Author Topic: Public Listings of Contributors  (Read 977 times)

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Public Listings of Contributors
March 15, 2010, 11:22:12 am
I'm thinking about how to implement a client request (CiviCRM 3.0) for a public listing/appreciation of major donors, grouped by ranges of total contributions in the past year (e.g. 1,000 - 2,000 total contribution in the past year = "gold", let's call that a contributor category).

Seems like I could automate this in a few ways (i'm ignoring the switches for privacy issues to simplify here):

1. Custom search

But i don't think this is really the intended function of custom searches ...

2. Views 2 - contributions

This gives me a sorted list of large contributions from the past year, but doesn't seem able to group by range, or deal with total contributions per constituent.

3. View 2 - contacts

Unfortunately, the relationship feature of views, allowing me to relate to the contributions, doesn't seem to be there.

So in this case, I'm thking really simple: add a custom select field of the contributor category which is manually maintained, or updated periodically with a script.

Anyone else with this problem out there including a better solution?

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: Public Listings of Contributors
March 15, 2010, 11:35:11 am
Yes I was thinking that if you have a calculated custom field to specify which 'band' someone is in, the Views should let you Group by that aspect - if you are using 'tables' there is a 'group by' function.
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

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: Public Listings of Contributors
March 15, 2010, 12:18:16 pm
few thoughts:

1. Can you use various instances of a contribution report like:

http://drupal.demo.civicrm.org/civicrm/report/instance/3?reset=1&force=1&snippet=4&section=2

and put that in a block? This might just require some HTML formatting.

2. some crm's have got the concept of roll-up fields. So basically you introduce three new custom fields that extend contact:

total donations this year
total donations last year
total donation of all time

You can then use triggers (or a cron job or a hook) to keep those fields in sync and on yearly boundaries recalculates the values. That might be something we should think about adding support for in CiviCRM (even if it is at a developer level).

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

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: Public Listings of Contributors
March 15, 2010, 12:48:59 pm
Thanks for this, i'd been forgetting about civireport, it looks perfect.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Public Listings of Contributors

This forum was archived on 2017-11-26.