1. janman
  2. Support
  3. Monday, December 07 2015, 01:48 PM
How do i send all data from the registration to an external database upon registration?
admin Accepted Answer
Admin
Hi,
sorry for late reply,

you can build a simple plugin based on our skeleton plugin, follow these steps:
- Download, install and enable our skeleton plugin (you can download from http://docs.easy-profile.com/index.php/article/triggers)
- Open file /plugins/jsn/skeleton/skeleton.php
- Remove examples frunctions like: triggerFieldAvatarUpdate and triggerProfileUpdate
- Create your function like this:
public function triggerProfileUpdate($user,&$data,$changed,$isNew){
if($isNew)
{
// Here code to launch your query
// all new field values are into array $data
}
}


Docs about our triggers at http://docs.easy-profile.com/index.php/article/triggers
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.