Avatar URL is being set on user create

Avatar URL is being set on user create

This question has suggested answer(s)

I am running 6.1.5 and when a new user is created, their AvatarUrl property is being set to <siteroot>/utility/anonymous.gif.  I also see two activity messages listed back to back in the activity feed - one for user has joined the community, the second one for the user changed their avatar (which they did not)

Can I turn this off or is this some sort of bug?  I would prefer the AvatarUrl property be left blank until the user uploads one.

All Replies
  • Howdy Luke,

    There isn't a way to prevent the AvatarUrl from being set.  You can prevent the changed avatar activity message from being set by disabling that activity message from being logged (Control Panel > Site Administration > Site Configuration > Setup > General Site Settings > New User Avatar under Activity Message Types to Log).  If that's not a workable solution please contact our support department.

  • Yeah, we'll open a support ticket, but this seems like a bug.  It basically renders the default avatar functionality in the control panel useless.  Stamping the user object with the URL of the default avatar makes it so it does not honor the default avatar setting in control panel.

    Also, you get back-to-back activity message feeds saying they updated their avatar when they did not, and if you use a third party solution like Bragger Badges, it awards them a badte for uploading an avatar.

    To me you should not update that property on user create - espcially if they didn't upload anything.