• Welcome to ForumKorner!
    Join today and become a part of the community.

IPB Tutorial - Simple Group Legend

Flippy

Active Member
Reputation
0
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.

Here is a quick screenshot of what it looks like.
ipb3_simple_group_legend.png
 

Sanctuary

User is banned.
Reputation
0
Or, an easier way is to just use the 'Group Name Indicator' app. Doesn't require skin edits + easy to manage.
Either way, nice tut..
 
Top