Hi,
Easy Profile does not do this natively but you can create a plugin that update a date field, follow these steps:
- Create a Date field type (not shown in edit profile and registration pages)
- 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)
{
$data['alias_of_the_field'] = date("Y-m-d H:i:s");
}
}
Replace alias_of_the_field with alias of your field.
NOTE:
This code is not tested and not supported, this is only for example purpose.