MyBB Community Forums

Full Version: Forum Stats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there a way to make these stats.

http://puu.sh/9wPxA/22b6f6c5f1.png

Show monthly stats? Not lifetime?

Current code is.

<div style="text-align: center;">
<span class="statround">{$stats['numposts']}</span> Total Posts
<span class="statround">{$stats['numthreads']}</span> Total Threads
<span class="statround">{$stats['numusers']}</span> Total Members
<span class="statround">$newestmember</span> Newest Member
</div>
<br />

If you need any more information let me know.
<td class="boardstat"><span class="smalltext">
<span class="ipb_stat">
<span class="ipbfaint">{$stats['numthreads']}</span> Total Threads
<span class="ipbfaint">{$stats['numposts']}</span> Total Posts
<span class="ipbfaint">{$stats['numusers']}</span> Total Members
<span class="ipbfaint">{$newestmember}</span> Newest Member
<span class="ipbfaint">{$mostonline['numusers']}</span> Most Online
</span>
</span>
</td>
Enjoy.
Thank you for the quick reply, it changed it to this.
http://puu.sh/9wR1J/2a62e8d464.png
Keep in mind diffrent id's/classes.

.boardstat {
    font-size: 11px;
    text-align: center; 
    margin-top: 10px;
    margin-bottom: 10px; 
    padding-bottom: 20px; 
    clear: both;
}
.ipbfaint {
background:url('add your image here') repeat-x scroll 0 0 #333;
border:1px solid #444;
border-radius:2px;
color:#FFF;
margin-left:20px;
padding:4px 10px
}


Is my css.