Avatar

Avatar feature allows users to set an avatar in profile in place of the profile image. Site admin can enable 'Avatar' feature and create avatar collection. Users can select any of the avatar available in the collection. 

  • LMS provides a default set of avatar collection. Admins can add/delete more avatars in the collection. 
  • Admin can set a default avatar, that will be used as default avatar in users profile.
  • Users can change avatar in profile by selecting any avatar image available in the collection provided by site admins. 

Avatar Setup  

To enable avatars for your site, access Site Admin > Site Details -> User Interface tab. Check "Enable user avatars" setting available in the Other Settings section.

Adding Avatar default collection

Once avatar feature is enabled on the site, A new menu option 'Avatar' will be available in Site Admin menu block. Avatar page provides options to manage avatar collection for your site. 

  • The default set of avatars can be imported b clicking 'Import Example Avatars'. 
  • Once avatars are imported, selectively avatars can be deactivated as needed.
  • A default avatar can be set.
  • New avatars can be added to your site's avatar collection.

 

Enable/Disable Avatars from default collection

On avatar page, a selection checkbox appears for each avatar on mouse hover, an avatar can be selected by selecting the corresponding checkbox. Selected avatars from 'Active avatar section' can be disabled using 'Disable selected' button.

Same way selected avatar from  Inactive avatar section can be activated using 'Enable selected'. 

 

Setting Default Avatar

A default avatar can be set by selecting an avatar from active avatar's list and clicking on 'Set as default' button. A caption 'default' will be shown on default avatar.  Default avatar can't be disabled, for disabling that you should set any other avatar as the default avatar.

 

Upload avatars in the collection 

New avatars can be added to site's avatar collection by using 'Add New' option present on avatar page. Newly uploaded avatars will be added to the active avatars collection.

 

Setting avatar in profile

Site users can edit their profile and can change avatar using 'Select an avatar' option. User is provided with the site's active avatars collection to select any avatar from that set.

Advance Actions

Removing default avatar from the site

If you want to remove default avatar and don't want to set any avatar as default avatar on your site, 

Then you can remove custom property "DEFAULT_AVATAR" from Site Admin > Site Details > Customisation tab. This will remove the default avatar setting.

Resetting whole avatar collection 

If you want to reset all the avatars and want to start afresh, you can do so from Site Admin > CMS.

Search for AVATAR_COLLECTION.js file and delete it. This will delete whole avatar collection.

Deleting the avatars file would mean deleting the avatar settings only. That means, users who have selected an avatar will have that setting but the avatars will not be visible. As soon as you upload/import new avatars, the subsequent avatars (based on the sequence number of the avatar in the collection) will start to show up for the users. For instance, if a user had selected 1st avatar, and you factory reset the avatars, then an icon will be displayed for that user. But as soon as you upload a new set, then, that new set's 1st avatar will start to show up for that user. 

Notes

  • Please note default avatar can't be disabled, if you need to disable that avatar, first you should set any other avatar as default.
  • If an avatar is disabled that was being used by any user, default avatar will be presented for that user's profile.
  • If an avatar is disabled that was being used by a user before it was disabled, and if that user did not select any new avatar, then re-enabling it would start showing the avatar for that user automatically.
  • Removing a default avatar (or not setting any default avatar) would mean, a "user icon" will be displayed for the users who have not set an avatar or if their selected avatar is disabled.

 

 

 


Rating: