UpTime Mod
Moderator: CricketMX Forum Moderators
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.
That would be mine.nesman wrote:He said he got it from phphacks.com I think.
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
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.
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
Chances are I've either helped him, talked to him, or he's on my MSN
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
-
- Greenhorn
- Posts: 4
- Joined: Thu Jun 30, 2005 4:37 pm
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
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
Just a wild guess, maybe try:
Replace with
Code: Select all
$days = '' . $days_raw[4] . ' ' . $lang['Uptime_days'] . '';
Code: Select all
$days = '' . $days_raw[3] . ' ' . $lang['Uptime_days'] . '';
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
-
- Greenhorn
- Posts: 4
- Joined: Thu Jun 30, 2005 4:37 pm
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!!!
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!!!
Cool, glad it worked
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)