new type of UserGroup?

In forumhome template, find:
Code:
<!-- what's going on box -->
Add below:
HTML:
<script type="text/javascript">
<!--

setup_memberlegend = function(tobj)
{
    prefix = ''
    suffix = ''

    if (tobj.getAttribute('ital'))
    {
        prefix += '<em>'
        suffix += '</em>'
    }

    if (tobj.getAttribute('undr'))
    {
        prefix += '<u>'
        suffix += '</u>'
    }

    if (tobj.getAttribute('bold'))
    {
        prefix += '<b>'
        suffix += '</b>'
    }

    if (tobj.getAttribute('line'))
    {
        prefix += '<s>'
        suffix += '</s>'
    }

    if (tobj.getAttribute('clr'))
    {
        prefix += '<span style="color:' + tobj.getAttribute('clr') + ';">'
        suffix += '</span>'
    }



    fetch_object('memberlegend').innerHTML = prefix + tobj.getAttribute('group') + suffix
}

-->
</script>

In forumhome template, find:
Code:
<!-- end logged-in users -->
Add below:
HTML:
<!-- User Legend By Digitalus-->
<tbody> <tr> <td class="thead" colspan="2"> <a style="float: right;" href="#top" onclick="return toggle_collapse('forumhome_legend')"><img src=$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_legend].gif alt="" name="collapseimg_forumhome_legend" width="16" height="16" border="0" id="collapseimg_forumhome_legend"></a> <a href="showgroups.php$session[sessionurl_q]" rel="nofollow">User Legend </a></td> 
        </tr> </tbody> <tbody id="collapseobj_forumhome_legend" style=""> <tr> <td class="alt2"><a href="showgroups.php$session[sessionurl_q]" rel="nofollow"><img title="Legend" src="$stylevar[imgdir_misc]/whos_online.gif" alt="Legend" border="0"></a></td> <td class="alt1" width="100%">                 <div style="float:left;"><strong>Legend</strong>:</div>
                <div style="float:left;">&nbsp;</div>
        <div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Banned Member" ital="y" line="y" clr="#000000" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
            <div class="tborder" style="height:8px;width:8px;background:#000000;"></div>
        </div>
        <div style="float:left;">&nbsp;</div>
        <div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Member" bold="y" clr="#999999" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
            <div class="tborder" style="cursor:help;height:8px;width:8px;background:#999999;"></div>
        </div>
        <div style="float:left;">&nbsp;</div>
        <div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Vip Member" bold="y" clr="#FF9933" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
            <div class="tborder" style="cursor:help;height:8px;width:8px;background:#FF9933;"></div>
        </div>
        <div style="float:left;">&nbsp;</div>
        <div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Moderators" bold="y" clr="#339933" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
            <div class="tborder" style="cursor:help;height:8px;width:8px;background:#339933;"></div>
        </div>
        <div style="float:left;">&nbsp;</div>
        <div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Super Moderators" bold="y" clr="#0D3CEB" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
            <div class="tborder" style="cursor:help;height:8px;width:8px;background:#0D3CEB;"></div>
        </div>
        <div style="float:left;">&nbsp;</div>
        <div class="alt2" style="float:left;height:8px;width:8px;padding:0px;" group="Administrators" clr="#DC143C" bold="y" ital="y" undr="y" onmouseover="setup_memberlegend(this)" onmouseout="fetch_object('memberlegend').innerHTML = ''">
            <div class="tborder" style="cursor:help;height:8px;width:8px;background:#DC143C;"></div>
        </div>
        <div style="float:left;width:10px;height:1px;">&nbsp;</div>
        <div style="float:left;" id="memberlegend"></div> </td> </tr> </tbody>
<!-- End User Legend by Digitalus -->

DHP
 
Back
Top