Support

  1. warrenzhu
  2. Support
  3. Tuesday, May 08 2018, 05:53 PM
I have easy profile basic. I am wondering if you support the following features:

Custom title in edit profile page. I can override the title in profile page with a custom title. But when editing the profile, only field titles are displayed. Joomla's built-in fields have a "Label" similar to your custom title but that "Label" is used in both profile and edit profile pages. It is confusing for users to see a custom title in their profile and another title when they edit the profile.

Is there any way to notify the admin and the user when a user changes a field in his profile?
admin Accepted Answer
Admin
Hi,
sorry for late reply.

It is confusing for users to see a custom title in their profile and another title when they edit the profile.
Sorry but I not understand well. Yes, we have an option to override title in profile page but this is something of optional, basically if you does not fill parameter "Custom title for profile page" then it uses same title in profile and edit profile page.
This feature was necessary in some cases (for example Age in profile and Date of Birth in edit profile) and of course you are freely to not use it.

Is there any way to notify the admin and the user when a user changes a field in his profile?
Easy Profile does not do this natively but with our APIs you can build a simple plugin that do this (docs with example plugin at http://docs.easy-profile.com/index.php/article/triggers)
- Download, Install and Enable Skeleton Plugin (you will find it at http://docs.easy-profile.com/index.php/article/triggers)
- Open file /plugins/jsn/skeleton/skeleton.php
- remove samples functions: triggerFieldAvatarUpdate, triggerProfileUpdate
- add function like this:
public function triggerProfileUpdate($user, &$data, $changed, $isNew)
{
if(!$isNew)
{
// Start body of email
$body=$user->name." updated user profile. \n\n";

// Add fields to body email
foreach($changed as $fieldalias){
$body.=$fieldalias .": ". $data[$fieldalias] ."\n";
}

// Send Email
$result=JFactory::getMailer()->sendMail(
$user->email, // Sender Mail
$user->name, // Sender Name
'[email protected]', // Receiver Mail
'Profile Updated', // Subject Mail
$body // Body Mail
);
}
}

NOTE: This code is not tested and not supported, this is only for example purpose.
  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.

Request Support

Support is currently Online

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.