Support

  1. johan-peters
  2. Presales Question
  3. Wednesday, November 21 2018, 12:17 AM
Hello.. i am looking at easy-profile for my client.
it looks exactly what where are looking for..

what i need is a option to get notified when users change there profile.
- Core joomla user fields and easy-profile fields..
i need to have a mail sent to one ore more people so the get notify of the change so the can register the info in other systems.
is this possible with easy-profile.

i see a old treat (2014) talking about a feature..
https://www.easy-profile.com/support/notification-upon-updated-profile.html

the download file is not availible.. and probely not working anymore with current joomla / easy-profile version.
johan-peters Accepted Answer
Content Protected
  1. more than a month ago
  2. Presales Question
  3. # 1
admin Accepted Answer
Admin
Hi,
the download file is not availible
You can download it at them bottom of the page at http://docs.easy-profile.com/index.php/article/triggers

and probely not working anymore with current joomla / easy-profile version.
It should works

You can try this also in free version ;)

NOTE if you need to send an email to more than one recipients then you can use an Array, so code will be something like:
<?php
/**
* @copyright Copyright (C) 2013 Jsn Project company. All rights reserved.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
* @package Easy Profile
* website http://www.easy-profile.com
* Technical Support : Forum - http://www.easy-profile.com/support.html
*/

defined('_JEXEC') or die;

class PlgJsnSkeleton extends JPlugin
{
public function triggerProfileUpdate($user, $data, $changed, $isNew)
{
if(!$isNew)
{
JFactory::getMailer()->sendMail(
$user->email, // Sender Mail
$user->name, // Sender Name
array( 'person1@domain.com', 'person2@domain.com', 'person3@domain.com' ), // Receiver Mail
'Email Subject', // Subject Mail
$user->name.' updated user profile.' // Body Mail
);
}
}
}
?>
  1. more than a month ago
  2. Presales Question
  3. # 2
johan-peters Accepted Answer
Hello... waauw.. create and fast response..
i am not a php developer.. so .. can you tell me where to put the code?..

will thise come availible in new releases of easy-profile so you can configure it in the easy-profile configuration / settings..
  1. more than a month ago
  2. Presales Question
  3. # 3
admin Accepted Answer
Admin
Hi,
will thise come availible in new releases of easy-profile
No sorry, this will be not a native feature.
  1. more than a month ago
  2. Presales Question
  3. # 4
johan-peters Accepted Answer
can you give me instructions how to implement the notifymail..
i don't understand / know where to put the code etc..
  1. more than a month ago
  2. Presales Question
  3. # 5
admin Accepted Answer
Admin
Hi,
- download, install and enable Skeleton plugin downloadable from http://docs.easy-profile.com/index.php/article/triggers
- replace content in file at /plugins/jsn/skeleton/skeleton.php with code in my above reply ;)
  1. more than a month ago
  2. Presales Question
  3. # 6
johan-peters Accepted Answer
okay.. thanks..
but after changing the skeleton.php with the code above.. i get error 500 on website.
  1. more than a month ago
  2. Presales Question
  3. # 7
johan-peters Accepted Answer
with de default skeleton.php en plugin enabled the site works..
but when i change skeleton.php.. than error 500..
  1. more than a month ago
  2. Presales Question
  3. # 8
admin Accepted Answer
Admin
try with this file attached (unzip first). The code is the same of my previous reply, but with copy/paste there is a charset issue
Attachments (1)
  1. more than a month ago
  2. Presales Question
  3. # 9
johan-peters Accepted Answer
Yes.. tnkx.. that works.. but..
the mail does not contain the changes.. it states only that the profile is changed..
ot wat was changed..
old data - > new data
  1. more than a month ago
  2. Presales Question
  3. # 10
admin Accepted Answer
Admin
Hi,
you can replace function "triggerProfileUpdate" with code at https://www.easy-profile.com/support/custom-fields-in-admin-activation-email.html#reply-23320
  1. more than a month ago
  2. Presales Question
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy ProfileĀ® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.