UpTime Mod

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

User avatar
nesman
Miracle Worker
Miracle Worker
Posts: 1453
Joined: Thu Jan 15, 2004 8:17 am
Contact:

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.
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

nesman wrote:He said he got it from phphacks.com I think.
That would be mine.
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)
User avatar
nesman
Miracle Worker
Miracle Worker
Posts: 1453
Joined: Thu Jan 15, 2004 8:17 am
Contact:

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. :)
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

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 :lol: :)
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)
User avatar
Rat
Drain Brain
Drain Brain
Posts: 4476
Joined: Mon Jun 14, 2004 9:38 am
Location: in the dark

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 :lol: :)
Smaller and smaller Nes, smaller and smaller.
DragonMaster
Greenhorn
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
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

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'] . ''; 
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)
DragonMaster
Greenhorn
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!!!
User avatar
battye
Site Admin
Site Admin
Posts: 14391
Joined: Sun Jan 11, 2004 8:26 am
Location: Australia
Contact:

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)
Post Reply