MyBB Community Forums

Full Version: Show Version Numbers (no)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Edit cpfooter() in admin/adminfunctions.php to the following:
function cpfooter()
{
	global $mybboard, $db, $maintimer, $mybbadmin;
	global $lang;
	echo "<center><br><br>\n";
	$totaltime = $maintimer->stop();
	$lang->footer_stats = sprintf($lang->footer_stats, $totaltime, $db->query_count);
	echo "<font size=\"1\" face=\"Verdana,Arial,Helvetica\">".$lang->footer_powered_by." <b>MyBB";
	if ( $mybbadmin[uid] )
	{// need to hide the version if admin's not logged in
		echo " $mybboard[internalver]";
	}
	echo "</b><br>".$lang->footer_copyright." &copy; 2005 MyBB Group<br />".$lang->footer_stats."</font></center>\n";
	echo "</body>\n";
	echo "</html>";
}

On the next version, the version number is only hidden on the Admin login, but it's still shown on the other pages (ie. when you're logged in)./
About the release date... we are doing our best to get 1.2 out of the door ASAP, as it fixes many bugs I think the community wants fixed. That doesn't mean it will be a crappy release, though!
Pages: 1 2