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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Anyway of receving notifications when new users/relationships are created?
Pages: [1]

Author Topic: Anyway of receving notifications when new users/relationships are created?  (Read 640 times)

slaterino

  • Guest
Anyway of receving notifications when new users/relationships are created?
July 08, 2009, 10:52:31 am
Is there anyway of receiving notifications when new users or relationships are created. I guess this can be done by new users by having an e-mail sent to the administrator, but would there be any way of automating this for new relationships. It would be unbelievably useful for my site as the relationships are going to play a very important role and it will be important for the administrators to be kept informed whenever any relationships are created or updated.

Thanks
Russ

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: Anyway of receving notifications when new users/relationships are created?
July 08, 2009, 10:56:56 am

yes, you can use the hook_civicrm_post on the relationship object

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

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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Anyway of receving notifications when new users/relationships are created?

This forum was archived on 2017-11-26.