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) »
  • Is there a way to tie online contributions to existing contacts?
Pages: [1]

Author Topic: Is there a way to tie online contributions to existing contacts?  (Read 1770 times)

LanceD

  • Guest
Is there a way to tie online contributions to existing contacts?
December 06, 2007, 10:24:36 am
1) Right now online contributions are just creating new contacts with the provided e-mail address as the name.  Is there a way to tie contacts to contributions online? 

2) Is there a way to do a search that shows contacts that have not contributed in a certain time period?

3) And what file do you need to edit to make searching by cumulative donation possible?  I saw some code in this forum about that somewhere, but I didn't see an indication of what you needed to add the code to.

Thanks!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Is there a way to tie online contributions to existing contacts?
December 07, 2007, 08:07:18 am
Quote
1) Right now online contributions are just creating new contacts with the provided e-mail address as the name.  Is there a way to tie contacts to contributions online?
When an online contribution is made, we check for a "matching" existing contact. I believe we do this based on email address.

Quote
2) Is there a way to do a search that shows contacts that have not contributed in a certain time period?
There is no way to do this with "out of the box" searches. You'll need to look at using CiviReport / BIRT - and adopting one of the sample reports. Or, in 2.0 you should be able to create a custom search from our new framework (note that this will require some limited PHP and SQL expertise - but is fairly simple to "tack on"). Look for more info on this new feature soon.

Quote
3) And what file do you need to edit to make searching by cumulative donation possible?  I saw some code in this forum about that somewhere, but I didn't see an indication of what you needed to add the code to.
I think the forum post you're referring to was a "general approach" of adding a custom field and then creating some php code which does the calculations and writes cumulative values to the custom field via an API call (this code would need to be triggered by a cron job). I don't think anyone has actually implemented this or posted code for it yet. If you want to take this on and need more guidance - contact lobo or kurund via IRC.
Protect your investment in CiviCRM by  becoming a Member!

tbruce

  • Guest
Re: Is there a way to tie online contributions to existing contacts?
December 10, 2007, 10:25:43 am
Would this work?

a) construct a group of all donors, and save it.  I think I did this by searching for all donors who had made any contribution of $1 or greater in any time period.

b) search within that group for all donors who had given money within time period X.

c) subtract them / remove them from the group.

I'm assuming that the subtraction only takes them out of the group, and does not scrub their records.

t.


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Is there a way to tie online contributions to existing contacts?
December 10, 2007, 12:26:54 pm
I think that will work - but not sure how well it will scale (depending on the the size of your donor base - the "smart group" w/ static exclusions query may drag a bit). Also, you'll need to repeat the steps / recreate the group periodically since the the date ranges will be static.
Protect your investment in CiviCRM by  becoming a Member!

tbruce

  • Guest
Re: Is there a way to tie online contributions to existing contacts?
December 11, 2007, 05:19:52 am
It would be *very* nice to have a negation operator for searches, though.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Is there a way to tie online contributions to existing contacts?
December 11, 2007, 08:02:42 am
The framework for creating custom searches that we're adding for 2.0 should help a lot with this - keep an eye on the blogs for details soon - and then you can play with it when 2.0 alpha is released (probably in early Jan).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Is there a way to tie online contributions to existing contacts?

This forum was archived on 2017-11-26.