Quote:
Originally posted by tubedogg
Eva: Sorry I missed that the first time around. In last10.php add
Code:
$boarddown1 = mysql_query("SELECT value FROM setting WHERE varname='bbactive'");
$boarddown = mysql_result($boarddown1,0,0);
if ($boarddown == "0") { echo("Sorry the forums are down for maintenance"); exit; }
Put that right after
Code:
mysql_select_db($dbname) or die("Can't select database");
heynurse: um...you aren't by any chance on a Windows server are you?
|
thanks kevin that worked, can i borrow you over in this thread too
http://vbulletin.com/forum/showthrea...threadid=20407 
i tried doing the same in that online.php code but it didn't work