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 Profiles (Moderator: Dave Greenberg) »
  • Would like to keep old data as reference when user changes profile data
Pages: [1]

Author Topic: Would like to keep old data as reference when user changes profile data  (Read 1181 times)

Stijn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
Would like to keep old data as reference when user changes profile data
January 15, 2010, 12:39:50 am
I am wondering if it is possible to have two record-sets for each user; one "old", and one "new". We want to be able to see the "old" data, even after a user has changed it. This is because our users (senior citizens) are not that IT-savy, and it has already happened multiple times that they want to change their data but it just ends up garbled, and it's hard to contact them because it's exactly that contact data they mess up. Of course we could make two fields for every item (NameOld/NameNew, AdressOld/AdressNew, CityOld/CityNew), but then after each e-mail in which we ask them to update their data we have to manually copy the applicable fields.

So what we would like is the possibility to see the data as it was before the last change. Of course users can change their data multiple times and if they screw up two times it's still gone, but if we could see only the previous version it would be a great improvement.
Hope it's possible; thanks for any help in advance.


Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Would like to keep old data as reference when user changes profile data
January 15, 2010, 12:59:51 am
Currently no. We do not revision the changes. Its an update everytime you make any changes.
So basically no UNDO in CiviCRM.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Stijn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
Re: Would like to keep old data as reference when user changes profile data
January 15, 2010, 02:24:08 am
Thank's for the quick reply. Guess we'll have to make an export as a backup before we ask them to update their data.

tabletguy

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
Re: Would like to keep old data as reference when user changes profile data
January 15, 2010, 02:41:51 am
Does 3.0 and/or 3.1 have a hooks available before and/or after any profile data change?

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: Would like to keep old data as reference when user changes profile data
January 15, 2010, 07:13:47 am

yes, there is a Profile pre and post hook called before/after we create a contact via a profile

check

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmpre

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 Profiles (Moderator: Dave Greenberg) »
  • Would like to keep old data as reference when user changes profile data

This forum was archived on 2017-11-26.