IP.Board Tutorials

Simple Group Legend

Submitted by Oxygen, , Thread ID: 16056

Thread Closed
Oxygen
<div class="postbit-usertitle">
Prime
Level:
0
Reputation:
35
Posts:
608
Likes:
62
Credits:
1.47K
23-12-2015, 01:51 PM
This post was last modified: 23-12-2015, 01:54 PM by Oxygen
#1
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]

Users browsing this thread: 1 Guest(s)