IPB Helpers: Simple Group Legend - IPB Helpers

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Simple Group Legend Rate Topic: -----

#1 User is offline   yellow_spider Icon

  • Demoted
  • PipPip
  • Group: Members
  • Posts: 840
  • Joined: 10-April 07
  • Gender:Male
  • Location:UK
  • Interests:Lots and lots of things really!

  Posted 02 February 2009 - 01:14 PM

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...


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users