2.3 Configuring the User Role Block

Drupal uses roles to categorize users for purposes of administration rights, content access, etc. For example, you could create a role called Moderator, configure this moderator role to have limited administration rights over forum posts, and then assign that role to trusted parties.

The User Role Block will display the avatars of users from a single selected role. With this block, you can display your sites Moderators, Editors, Contributors, Administrators, etc. We're using this block here on the demo site's forum pages to display the forum moderators.

User Role
The following options are available for the User Role block:

  • Block Title - You can override the default block title (which is User Role) by specifying an alternate title here. If you don't want a block title, specify <none> in this field.
  • Number of users to display - This option allows you to specify how many avatars will appear in the User Role block.
  • Role - Users who are granted the selected role will be displayed in the User Role block.
  • Imagecache Preset - If you have the ImageCache module installed, this field will allow you to select an Imagecache Preset to apply to the avatars in this block. Read more about using Imagecache on this page.
  • Display Users without avatars - If you enable this option, and if you have configured a default avatar for your site, then users without avatars will be displayed in the User Role block using the default avatar. If this option is disabled, users without avatars will not be displayed in the User Role block.