Creating Custom Roles
Create roles to distinguish user groups with custom names and colors.Fill role details
Enter the following information:
- Name: Role identifier (e.g., “Moderator”, “Contributor”, “VIP”)
- Color: Hex color code for role badge (e.g.,
#3b82f6for blue) - Sort order: Numeric priority for display ordering
- Admin rank: Whether this role grants admin privileges
Role Properties
Each role has four configurable properties that control its behavior and appearance:The role’s display name, shown as a badge next to usernames. Choose clear, concise names that convey the role’s purpose.Examples: “Admin”, “Moderator”, “Contributor”, “Member”, “VIP”
Hex color code determining the role badge color. This provides visual distinction in the user interface.Format:
#RRGGBBCommon colors:#ef4444- Red (admin/owner)#3b82f6- Blue (moderator)#10b981- Green (contributor)#8b5cf6- Purple (VIP)#6b7280- Gray (default/member)
Numeric value determining display priority. Lower numbers appear first when multiple roles are assigned.Recommended hierarchy:
0-10: Admin/owner roles (highest priority)11-50: Moderator roles51-100: Special recognition roles101+: General member roles
Whether this role grants administrative privileges. Users with admin-ranked roles can:
- Access the admin panel
- Manage users, roles, tags, and settings
- Ban and unban users
- Assign and remove roles
Role Badges on Usernames
Roles appear as colored badges next to usernames throughout the forum:- Post listings: Role badges display next to post authors
- Comment threads: Badges appear on all comments
- User profiles: All assigned roles display on profile pages
- Admin panel: Role badges show in user lists
Display Order
When users have multiple roles, badges display in order ofsort_order (ascending), then alphabetically by name:
Badge Styling
Role badges use the configured color with automatic contrast adjustment for readability:Assigning Roles to Users
Assign roles from either the user management interface or individual user pages:Users can have multiple roles simultaneously. There is no limit to the number of roles per user.
Managing Role Hierarchy
Organize roles by priority to create clear visual hierarchy:Recommended Structure
-
Owner (order: 0, admin rank: true, color: #ef4444)
- Highest authority, protected role
- Cannot be deleted or have admin rank removed
-
Administrator (order: 10, admin rank: true, color: #f97316)
- Full administrative access
- Trusted moderators
-
Moderator (order: 20, admin rank: true/false, color: #3b82f6)
- Content moderation
- Optional admin access
-
Contributor (order: 50, admin rank: false, color: #10b981)
- Recognized active members
- No admin privileges
-
Member (order: 100, admin rank: false, color: #6b7280)
- Standard users
- Default role
The Owner Role
The “owner” role has special protections:Editing Roles
Modify existing roles to update their appearance or properties:Editing a role affects all users who have it assigned. Role badge colors and names update everywhere in the forum.
Deleting Roles
Remove roles that are no longer needed:Best Practices
Follow these guidelines for effective role management:Naming Conventions
- Use clear, descriptive names
- Keep names short (1-2 words)
- Avoid special characters or emojis
- Use title case (“Moderator” not “moderator”)
Color Selection
- Use distinct colors for different role tiers
- Reserve red/orange for admin roles
- Use cooler colors (blue, green, purple) for non-admin roles
- Ensure sufficient contrast for readability
- Test colors against both light and dark backgrounds
Sort Order Strategy
- Use gaps between values (0, 10, 20) to allow insertion
- Group related roles in ranges
- Keep admin roles in 0-10 range
- Leave room for future additions
Admin Rank Usage
Role Proliferation
- Limit the number of active roles (5-10 recommended)
- Too many roles create visual clutter
- Consolidate similar roles
- Remove unused or outdated roles
Effective role systems are simple and intuitive. Users should immediately understand role hierarchy by color and name.