2014-04-18, 08:56 AM
(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!