Tutorial: Using avatars
You can use an avatar generator to better represent the branding of your site, and add a sense of community for your users, than the default name initial that is provided in the Developer Portal.
Before you begin
You must have a Developer Portal enabled, and you must have administrator access to complete this tutorial. The tutorial Creating the Portal explains how to enable the portal if you have not already done so.About this tutorial
In this task, you add the Robohash
avatar generator to your Developer Portal
site, and assign it as the primary avatar generator for all users.
The avatar of the admin user displays like this before the block is added.
Enable the Robohash
avatar generator
- Log in to your Developer Portal as an administrator.
- Click .
- In the Filter field, enter avatar to view the list of all the available avatar modules.
- Select the
Robohash
checkbox and click Enable to enable the selected avatar module.
When the module is enabled, you receive a Module Robohash has been enabled
message.
Set Robohash
as the preferred avatar generator for your site
You have now set Robohash
as the preferred avatar generator for your site.
Configure the permissions for the Robohash
avatar generator
The default setting for the Robohash
avatar generator is to generate avatars for
users with superuser
access only. In this example, the permissions are changed so
that all authenticated users
can access Robohash
.
- Navigate to Permissions tab. and click the
- Find
Use Robohash
under the permission typeAvatar Kit
and select the Authenticated user checkbox to enable the avatar generator for all authenticated users.Note: Once you select the Authenticated user checkbox, all the checkboxes for this user type are automatically selected because all of those users have the same permissions as an authenticated user, or higher. - Click Save permissions to save the changes.
What you did in this tutorial
The avatars of all users now have the robohash
avatar.
You can check that the avatar of the admin user has changed by looking at your site page.
You can check that the avatars of other users have changed by finding their published content and looking for their avatar. Or, you can navigate to
, click a user, and see their avatar on their profile page.What to do next
robohash
avatar generator. - Navigating to .
- Search for
avatar
in the filter text box. - Check
Robohash
, click Disable - Click Disable.
You can also disable the robohash
avatar generator by clearing it within
, or, reducing its preference by dragging it to a different order
in the list. Click Save configuration.