Description

This event will be triggered when the avatar is being updated; successfully or not. The plugin may make use of the image file path obtained from the parameters.


Params

An array with three items; user id, avatar's old file path and avatar's new file path.

{code}
Array
(
[0] => 1,
[1] => '', /* old file path*/
[2] => '' /* new file path*/
)
{/code}

Examples

{code}

function
onProfileAvatarUpdate( $arrItems )
{
/* perform your avatar file path manipulation handler here */
}
{/code}

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW