Simply edit mods/serverstatus/class.serverstatus.php and delete the two "$statusBox->addOption("caption", "EVE Time: <span class=\"kl-kill\"><strong><font color=orange>" . gmdate("H:i") . "</font></strong></span>");" lines.SPEC1AL1ST wrote:How i can remove EVE time from script?
I have another mod for eve clock...
[EDK4] Server Status 1.4
Re: [EDK4] Server Status 1.2
-
- Apprentice
- Posts: 63
- Joined: Tue Dec 21, 2010 15:52
Re: [EDK4] Server Status 1.2
Parse error: syntax error, unexpected ';' in /sata1/home/users/evetimecard/www/sd.top-rating.net/mods/serverstatus/class.serverstatus.php on line 28
You can give me normal TESTED script without eve-time?
You can give me normal TESTED script without eve-time?
Re: [EDK4] Server Status 1.2
edit /mods/serverstatus/class.serverstatus.php line 28 to read
He missed the closing ) before the semi colon.
Also if you want the option to hide the clock on this mod replace the settings.php and class.serverstatus.php in the mods/serverstatus folder with the files in the attachment.
Code: Select all
$statusBox->addOption("caption", "Players Online: Unknown");
Also if you want the option to hide the clock on this mod replace the settings.php and class.serverstatus.php in the mods/serverstatus folder with the files in the attachment.
- Attachments
-
- serverstatus.zip
- (1.72 KiB) Downloaded 603 times
You backed up your database, right ???
-
- Apprentice
- Posts: 63
- Joined: Tue Dec 21, 2010 15:52
Re: [EDK4] Server Status 1.2
Thank you Andy!
Re: [EDK4] Server Status 1.2
Thx Andy, first post updated.
Re: [EDK4] Server Status 1.2
am i doing sth wrong or is it the mod?Fatal error: Call to a member function isServerOpen() on a non-object in /blabla/mods/server_status/init.php on line 36
worked fine until downtime.
Re: [EDK4] Server Status 1.2
It's the mod and by the look of it probably due to the response from the API. Saying that isn't there an extended downtime today which may have taken off the API completely? If that's the case then I suspect a "no response" from the API server may be the cause.
You backed up your database, right ???
Re: [EDK4] Server Status 1.2
Something i must have a look 

Re: [EDK4] Server Status 1.2
renrum wrote:am i doing sth wrong or is it the mod?Fatal error: Call to a member function isServerOpen() on a non-object in /blabla/mods/server_status/init.php on line 36
worked fine until downtime.
That's not this mod but another server status mod. In my mod, there is no function called isServerOpen().
Now that 4.0.2 is released, i'll update my mod with some changes and an option to display (or not) the clock very soon (probably today). This is in testing.
Re: [EDK4] Server Status 1.3
1.3 is out, 4.0.2+ only compatible. See first post.