No add-on needed.
Open the
sidebar_online_users template and find this:
Code:
<div class="footnote">
{xen:phrase online_now_x_members_y_guests_z_robots_a, 'total={xen:number $onlineUsers.total}', 'members={xen:number $onlineUsers.members}', 'guests={xen:number $onlineUsers.guests}', 'robots={xen:number $onlineUsers.robots}'}
</div>
Add this below, adjusting the color and phrasing accordingly to match your user groups' colors and names:
Code:
<font color="#FF0000">{xen:phrase administrators}</font>, <font color="#0000FF">{xen:phrase moderators}</font>
View attachment 110852
If a phrase doesn't exist, I suggest creating one instead of hard-coding it so it can be easily changed later, using your site initials so you know it's custom. For example,
khflare_custom phrase.