Customizing SMF > SMF Coding Discussion

Membercolor Legend

(1/2) > >>

Captain_Morrigan:
I know about the mod the is Member Online Color legend but I want a legend that will display below the users online list that never changes and could maybe link to the Membergroup as a profile search for that type of user. So generally I want:


--- Quote ---ADMIN | MODERATOR | GLOBAL MOD | SPECIAL

--- End quote ---

Where each of them are a link to the memberlist where it only pulls up users of that group.
http://modernelf.enchantinge.com/index.php?action=mlist;sa=search;search=ADMIN

Arbalot:
you open your boardindex.template.php and
find

--- Code: ---}
?>
--- End code ---
add before

--- Code: ---echo '
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
<tr>
<td class="windowbg2" width="100%" valign="middle" align="center">
<font color=#000000> | </font>
<font color=red><b>Admin</b></font>
<font color=#000000> | </font>
<font color=blue><b>Super Moderator</b></font>
<font color=#000000> | </font>
<font color=green><b>Moderator</b></font>
<font color=#000000> | </font>
<font color=orange><b>VIP Member</b></font>
<font color=#000000> | </font>
</td>
</tr>
</table>';
--- End code ---

Captain_Morrigan:
Well I can do that but what about making them links to only show the particular membergroups. I can't quite get a string to work with it.

Arbalot:
are you want a link to membergroup?

Captain_Morrigan:
I want it to link to the Memberlist page where it only shows that membergroup. So I click on Admin and it brings me to the Memberlist and I see ONLY admins.

Navigation

[0] Message Index

[#] Next page

Go to full version