Page 2 of 2
Posted: Sun Aug 07, 2005 7:26 am
by nesman
Do you know if there is another uptime mod out there? I ran accross a forum that used one, and remembered seeing this. I wasn't sure if it was the same mod or not. He said he got it from phphacks.com I think.
Posted: Sun Aug 07, 2005 7:45 am
by battye
nesman wrote:He said he got it from phphacks.com I think.
That would be mine.
Posted: Mon Aug 08, 2005 6:25 am
by nesman
Well, then, I was talking to someone on the phone that uses a mod written by someone in AU that I know online. Small world.

Posted: Mon Aug 08, 2005 8:29 am
by battye
You didn't happen to get his username did you?
Chances are I've either helped him, talked to him, or he's on my MSN

Posted: Sun Aug 14, 2005 7:39 pm
by Rat
battye wrote:You didn't happen to get his username did you?
Chances are I've either helped him, talked to him, or he's on my MSN

Smaller and smaller Nes, smaller and smaller.
Posted: Wed Aug 17, 2005 7:02 pm
by DragonMaster
I still can't get this mod to display any days.
I've been up over a week but all it shows is:
[ Server Uptime: days Days | 2 Hours | 28 Minutes ]
Any idea how to fix this?
I tried that page tail fix on phpbbhacks and it only killed it completely with a parse error
#
#-----[ OPEN ]------------------------------------------
#
includes/page_tail.php
#
#-----[ FIND ]------------------------------------------
#
  if($days_raw[4])
  {
    if($days_raw[4] == '1')
    {
    $days = $lang['Uptime_day'];
    }
   ÂÂ
    else
    {
    $days = '' . $days_raw[4] . ' ' . $lang['Uptime_days'] . '';
    }
  }
#
#-----[ REPLACE WITH ]------------------------------------------
#
  if($days_raw[3])
  {
    if($days_raw[3] == '1')
    {
    $days = $lang['Uptime_day'];
    }
   ÂÂ
    else
    {
    $days = '' . $days_raw[3] . ' ' . $lang['Uptime_days'] . '';
    }
  }
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Posted: Thu Aug 18, 2005 8:30 am
by battye
Just a wild guess, maybe try:
Code: Select all
$days = '' . $days_raw[4] . ' ' . $lang['Uptime_days'] . '';
Replace with
Code: Select all
$days = '' . $days_raw[3] . ' ' . $lang['Uptime_days'] . '';
Posted: Thu Aug 18, 2005 9:42 am
by DragonMaster
HOORAY!!!!
That seems to work so far
Now I get:
[ Server Uptime: 9 Days | 17 Hours | 11 Minutes ]
I will keep an eye on it and advise if it changes
THANX!!!
Posted: Thu Aug 18, 2005 10:28 am
by battye
Cool, glad it worked
