MyBB Community Forums

Full Version: Board Stats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would i get my board stats on the left hand side of my forum with different colors and to look like this


[Image: mMC5pZn.png]
Oooow, that's my forum!
(2015-10-29, 11:06 AM)Nath Wrote: [ -> ]Oooow, that's my forum!

ik nath how did u do it

Anyone no any plugins or how to do it?
on a theme that im developing it stays like this on index template

	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder1">
<tr>
<td class="thead1"><strong  style="background-color: #C69A32;padding: 4px 11px 4px 14px;margin: -0.5%;color: #262626;">
<i class="fa fa-bar-chart"></i>&nbsp;Statistics 
</strong></td>
</tr>
<tr>
<td class="sidestat">
<i class="fa fa-th-large" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Total Threads:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">{$stats['numthreads']}</span><br />
<hr>
<i class="fa fa-comments" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Total Posts:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">{$stats['numposts']}</span><br />
<hr>
<i class="fa fa-users" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Total Members:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">{$stats['numusers']}</span><br />
<hr>
<i class="fa fa-user-plus" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Most Online:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">$recordcount</span>
	<hr>
</td>
</tr>
</table>
along with the styl looks like this:
[Image: Q4WujvH.png]
(2015-10-29, 11:52 AM)subzr1 Wrote: [ -> ]on a theme that im developing it stays like this on index template

	<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder1">
<tr>
<td class="thead1"><strong  style="background-color: #C69A32;padding: 4px 11px 4px 14px;margin: -0.5%;color: #262626;">
<i class="fa fa-bar-chart"></i>&nbsp;Statistics 
</strong></td>
</tr>
<tr>
<td class="sidestat">
<i class="fa fa-th-large" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Total Threads:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">{$stats['numthreads']}</span><br />
<hr>
<i class="fa fa-comments" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Total Posts:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">{$stats['numposts']}</span><br />
<hr>
<i class="fa fa-users" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Total Members:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">{$stats['numusers']}</span><br />
<hr>
<i class="fa fa-user-plus" style="background: #C69A32;padding: 5px;color: #262626;"></i>&nbsp;Most Online:<span style="float: right;padding: 3px 30px;background: #262626;width: 4%;">$recordcount</span>
	<hr>
</td>
</tr>
</table>
along with the styl looks like this:
[Image: Q4WujvH.png]

is there any way to get this on my theme with different colors?

Anyone
just add the colors you want
(2015-10-30, 03:45 PM)subzr1 Wrote: [ -> ]just add the colors you want

I used your template code for the index page, it's very clean and looks good!
(2015-11-23, 09:40 AM)Swifter Wrote: [ -> ]
(2015-10-30, 03:45 PM)subzr1 Wrote: [ -> ]just add the colors you want

I used your template code for the index page, it's very clean and looks good!

thanks for the feedback Wink
Cheers
SubzR