Im trying to place the Most Users Online right above the Currently Active Users and I get this:
Quote:The most users online at one time was %1$s on %2$s at %3$s
Open the file index.php and search for:
// Most users online
$mostonline = $cache->read("mostonline");
if($onlinecount > $mostonline['numusers'])
{
$time = time();
$mostonline['numusers'] = $onlinecount;
$mostonline['time'] = $time;
$cache->update("mostonline", $mostonline);
}
$recordcount = $mostonline['numusers'];
$recorddate = mydate($mybb->settings['dateformat'], $mostonline['time']);
$recordtime = mydate($mybb->settings['timeformat'], $mostonline['time']);
$lang->stats_mostonline = sprintf($lang->stats_mostonline, mynumberformat($recordcount), $recorddate, $recordtime);
You have to move this part to above the following line:
eval("\$whosonline = \"".$templates->get("index_whosonline")."\";");
After that you can insert the following code into the template index_whosonline:
$lang->stats_mostonline