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.
- If the administrator dashboard isn’t displayed, click Manage to display it.
- Click Extend.
- In the text box, enter avatar in the
Block description
. - Check the
Robohash
box, click Enable.
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
.
- If the administrator dashboard isn’t displayed, click Manage to display it.
- Navigate to .
- Find
Use Robohash
under the permission typeAvatar Kit
. - Check
AUTHENTICATED USER
forUse Robohash
to enable the generator for all authenticated users.Notice that all the boxes for this user type are then automatically checked because all of those users have the same permissions as an authenticated user, or higher.
- Click Save permissions.
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.