MyBB Community Forums

Full Version: how create this style of boardstats
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can any of you kindly tell me how I can get this result on the index page with regard to statistics?




<tr><td class="tcat"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>
<tr>
<td class="trow1">
	
<div class="row" style="text-align: center">
         <div class="column" style="text-align: center">
            <h2>{$stats['numusers']}</h2>
            <p>Num Users</p>
         </div>
         <div class="column" style="text-align: center">
            <h2>{$mostonline['numusers']}</h2>
            <p>Max Online</p>
         </div>
         <div class="column" style="text-align: center">
            <h2>{$newestmember}</h2>
            <p>New User</p>
         </div>
      </div>

</td>
</tr>


Mostly I cannot reproduce the last column in the bottom right-hand corner of the photo I shared
All of your columns are the same width. You need to put a fixed-width on the last column so it doesn't equalize the width of all 3.
But I need to put the avatar of the last registered user and the registration date next to it. Do you happen to know the variables?
It's because the {$newestmember} info is located in the language file (index.php). To edit it completely, you'll need to add HTML to the language file for that particular phrase.