2009-02-23, 07:19 AM
I know Faint Brushfire already made a tutorial on how to add a usergroup legend but his method doesn't work on all themes. So i am going to show you a way to do it on those themes that didn't work with his tutorial.
Go into the Admin Control Panel and go to:
ACP > Templates & Styles > Templates > yourtheme Template > Index Page Templates > index_whosonline
At the bottom of the code already there add this code:
Full Example Code:
Picture below of finished legend.
[attachment=12875]
Hope this helped you!
Go into the Admin Control Panel and go to:
ACP > Templates & Styles > Templates > yourtheme Template > Index Page Templates > index_whosonline
At the bottom of the code already there add this code:
<th class="tcat"><span class="smalltext">Usergroup Legend</th>
</tr>
<tr>
<td class="trow1" valign="top" align="left"><span class="smalltext">
PLACE GROUPS HERE!
</tr>
Full Example Code:
<th class="tcat"><span class="smalltext">Usergroup Legend</th>
</tr>
<tr>
<td class="trow1" valign="top" align="left"><span class="smalltext">
<span style="color: #FF0000;"><strong>Administrators</strong></span> |
<span style="color: #FF8A00;"><strong>Super Moderators</strong></span> |
<span style="color: #FF8A00;"><strong>Moderator</strong></span> |
<span style="color: #4A4D4A;">Member</span> |
<em>Validating</em> |
<s>Banned</s> |
<span style="color: #FFFFFF;"><s>Permanently Banned</s></span>
</tr>
Picture below of finished legend.
[attachment=12875]
Hope this helped you!