MyBB Community Forums

Full Version: Usergroup Legend
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
How can I add these links to it, like if I click on the word Administrator, all the admins show up that are on the forum, and so on and so on. I don't have a Plugin, and I made it myself by the similar code like the one provided above.
(2010-08-04, 02:57 PM)Neko_Neji Wrote: [ -> ]How can I add these links to it, like if I click on the word Administrator, all the admins show up that are on the forum, and so on and so on. I don't have a Plugin, and I made it myself by the similar code like the one provided above.

I don't think there's a way to do this currently with how mybb memberlist works.

if there is..can someone explain how to accomplish this?
(2009-02-23, 07:19 AM)Joshua Mayer Wrote: [ -> ]I know Faint Brushfire already made a tutorial on how to add a usergroup legend but his method doesn't work on all themes. So i am going to show you a way to do it on those themes that didn't work with his tutorial.

Go into the Admin Control Panel and go to:
ACP > Templates & Styles > Templates > yourtheme Template > Index Page Templates > index_whosonline

At the bottom of the code already there add this code:
<th class="tcat"><span class="smalltext">Usergroup Legend</th>
</tr>
<tr>
<td class="trow1" valign="top" align="left"><span class="smalltext">
PLACE GROUPS HERE!
</tr>

Full Example Code:
<th class="tcat"><span class="smalltext">Usergroup Legend</th>
</tr>
<tr>
<td class="trow1" valign="top" align="left"><span class="smalltext">
<span style="color: #FF0000;"><strong>Administrators</strong></span> |
<span style="color: #FF8A00;"><strong>Super Moderators</strong></span> |
<span style="color: #FF8A00;"><strong>Moderator</strong></span> |
<span style="color: #4A4D4A;">Member</span> |
<em>Validating</em> |
<s>Banned</s> |
<span style="color: #FFFFFF;"><s>Permanently Banned</s></span>
</tr>

Picture below of finished legend.


Hope this helped you!

How do you link each group to see a list of members in that group..
I know there will be gid= in the link somewhere..?
Woohoo!
I achieved make a usergroup legend.
Had to change the code abit to fit my theme, but in the end got it to work.

http://musicentral.net

See my legend.
(2010-08-21, 06:28 PM)proXace™ Wrote: [ -> ]Woohoo!
I achieved make a usergroup legend.
Had to change the code abit to fit my theme, but in the end got it to work.

http://musicentral.net

See my legend.

I don't see a legend at all...
(2010-08-22, 07:33 PM)Shemo Wrote: [ -> ]I don't see a legend at all...

Ahh I just realised I had the board hidden to guests.
I been using something similar some HTML edits.
But i couldn't find a way to add them automatically. Every new usergroup i add, i need the HTML manually Sad
Thanks for this Smile
Nice .. Thanks for this
Thank you for this, much better than using the usergroup plugin.
Pages: 1 2 3