MyBB Community Forums

Full Version: IPB board statistic style
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
(2012-02-11, 12:43 PM)fachrils Wrote: [ -> ]
(2012-01-28, 09:35 AM)Jordan L. Wrote: [ -> ]@OP:
http://community.mybb.com/thread-95775-p...#pid700476

Thanks! +1

How to " new member " just a name ?

couse i use {$lang->stats_newestuser} = Please welcome our newest member, .......... ?

It's a great tut, but yeah it's missing a few things. If you want to add the newest user too, do the following:

Step 1

Open your index.lang.php and add the following code:

// Added for custom index stat
$l['stats_newestuser_custom'] = "<b>{1}</b>";
// End custom index stat

Step 2

Open your index.php file and look for the following code:

$lang->stats_newestuser = $lang->sprintf($lang->stats_newestuser, $newestmember);

Under this code add:

$lang->stats_newestuser_custom = $lang->sprintf($lang->stats_newestuser_custom, $newestmember);

Step 3

Go to the index_boardstats template and add the following code below the previous three:

<span class="stats">{$lang->stats_newestuser_custom}</span> <span class="statstext">Newest member</span>

That's it!
How can I make it to where they're all on one bar like this:

[Image: 2DFYwEN.png]

I've gave it a few tries but I can't get it right. I want the text to be centered still of course, and for it to stretch to the edge like the boardlist and whose online etc. Help please!
Pages: 1 2 3