Simple Group Legend

by Oxygen - 23-12-2015, 01:51 PM
<div class="postbit-usertitle">
Posts:
646
Joined:
Feb 2015
Likes:
50
Credits:
1,174
Reputation:
35
2 Years of Service
#1
OP
Posted: 23-12-2015, 01:51 PM (This post was last modified: 23-12-2015, 01:54 PM by Oxygen.)
Here is a simple skin edit to give a tidy group legend on the board index page.

Navigate your way here > ACP > Look / Feel > Manage Skin Sets / Templates > (for each skin as required) > Manage Templates / CSS > Board Index > Board Index Template

Scroll down to right near the end. Find this section...
Code:
<if test="count($stats['NAMES'])">
<ul>
<li>{parse expression="implode( ",</li><li>", $stats['NAMES'] )"}</li>
</ul>
<br />
</if>
</div>

The code needs to go in-between the </if> and the </div>

Here is a small ready-made one for you to modify.
Code:
<br />
<strong>&middot;</strong>
&nbsp;<span style='color:#FF0000'>Administrators</span>&nbsp;
<strong>&middot;</strong>
&nbsp;<span style='color:#0000FF'>Moderators</span>&nbsp;
<strong>&middot;</strong>
&nbsp;<span style='color:#000000'>Members</span>&nbsp;
<strong>&middot;</strong>
&nbsp;<span style='color:#AAAAAA'>Validating</span>&nbsp;
<strong>&middot;</strong>

I have put these on seperate lines to make it very easy to follow. Simply add lines as needed for each group colours you have already, or add that one complete and then modify to your needs.

A quick screen shot of how this one looks...
[Image: aHR0cDovL2ltZy5waG90b2J1Y2tldC5jb20vYWxi...2VuZC5wbmc]
[Image: UeTXrZ5.png]
Newbie
Posts:
15
Joined:
Dec 2016
Likes:
0
Credits:
7
Reputation:
0
1/2 Year of Service
#2
Posted: 04-12-2016, 01:03 PM
awesome thing, tnx for it!
Newbie
Posts:
11
Joined:
Feb 2017
Likes:
0
Credits:
13
Reputation:
0
#3
Posted: 11-02-2017, 06:14 PM
My forum doesn't have many groups but as it expands hopefully this will make different groups easy to identify, so thanks a lot.
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)