MyBB Community Forums

Full Version: How to insert Usergroup Legend under this
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I installed Usergroup Legend plugin - http://community.mybb.com/mods.php?action=view&pid=642

Now I want to add it to my forum, but on specific place.

I need it to be here( like that Who's Online part, but with different icon and name of course):
http://prntscr.com/bwu32e

Problem is, when I try to put it anywhere, I got this:
http://prntscr.com/bwu7r1

There is a code of my
index_stats
<tr><td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>
<tr>
<td class="trow1 statsrow"><div class="staticon"><i class="fa fa-bar-chart-o"></i></div></td>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>
And
index_boardstats
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$collapsedthead['boardstats']}" colspan="2">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.png" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$grouplegend}
{$birthdays}
{$forumstats}
<tr>
	<td class="tfoot" style="text-align: right" colspan="2">
		<span class="smalltext">
			{$logoutlink}
			<a href="misc.php?action=markread{$post_code_string}">{$lang->markread}</a> |
			<a href="showteam.php">{$lang->forumteam}</a>
			{$statspage}
		</span>
	</td>
</tr>
</tbody>
</table>

If you need any more information, just say.
I'll appreciate your help!
Just insert the {usergroup} tag in your templates where you want it. Smile
@katos
Take a better look. It's already there... That is not what I ask for.
looks like colspan needs to be adjusted. what is your forum url & which theme you are using ?
(2016-07-24, 01:16 PM).m. Wrote: [ -> ]looks like colspan needs to be adjusted. what is your forum url & which theme you are using ?

Where should I edit that?

Forum is hosted offline, because it's still under construction. I'm using theme which one friend gave it to me. What for you need that information?
^ well, apart from checking what is wrong with the code where you inserted plugin's variable,
we might also check support eligibility for your forum.
This is what you wanted to see, or you need something more? Btw. it's a forum about one game (Counter Strike 1.6)
http://prntscr.com/bwv6ak

Also, you can tell me which part of code do you need? I posted index_boardstats where you can see '{$grouplegend}' which bellows to plugin Usergroup Legend.