The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
||||
|
||||
![]()
There's a small hack out that gives the server uptime according to the db. Here is the code I have in my phpinclude:
Code:
//Server Uptime Code $result = mysql_query("show status"); while ($row = mysql_fetch_array($result)){ if ($row['Variable_name'] == "Uptime") { $uptime = $row['Value']; } } $days = ((($uptime/60)/60)/24); $wholeday = (int) $days; $hours = (($days - $wholeday)*24); $wholehour = (int) $hours; $minutes = (($hours - $wholehour)*60); $wholeminute = (int) $minutes; Code:
makelabelcode('Server Uptime', 'whatever I need to put here'); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|