The online racing simulator
Display Server Status on a Website?
Hello, I am wondering How can i get my servers Status on my teams Website.

I can do it but i want to customize it all Like This:

Server Name:
License: (Demo,S1,S2)
Track:
Connections: 5/32 etc.
Player1
Player2
Player3
Player4
Player5
etc. again

Could anyone help me - ALSO if it possible to Link the Players Name under the connections to their LFSW Profile?

And is it possible to have the text in white and back black?

I KNOW THIS IS ALL POSSIBLE BUT I HAVEN'T GOT A CLUE HOW TO DO IT!!!!!

Thanks,
[STUNT]stuntguy
What I do is show this URL in php on my site:

http://www.lfsworld.net/hoststatus/?h=[iD]+iDrift+Practise

?h=servername+here
Behind ?h= goes your server name, use a '+' for a space in your name.
Quote from Bose321 :What I do is show this URL in php on my site:

http://www.lfsworld.net/hoststatus/?h=[iD]+iDrift+Practise

?h=servername+here
Behind ?h= goes your server name, use a '+' for a space in your name.

I know how to do that but how would i show it like the way http://www.livetocruise.net/ shows it?
#5 - PoVo
Ok... Would it be Simpler to just re-format the data?

EDIT: I have sent Victor a PM so i will tell you how it goes!
well Bunder gave you the link to all the information there is on the subject.

If you don't like the layout, you can change it with CSS. You can make a css file that suits your needs, then send it to me and I'll make it so that you can use that css file when you load the host status.

Or you can gather the host information yourself via pubstats and then you can show it in any way you like.
Quote from Victor :well Bunder gave you the link to all the information there is on the subject.

If you don't like the layout, you can change it with CSS. You can make a css file that suits your needs, then send it to me and I'll make it so that you can use that css file when you load the host status.

Or you can gather the host information yourself via pubstats and then you can show it in any way you like.

Since i have NO idea how to code CSS & Don't know how to do the pubstats (is their a link?) it is possible to fetch the data in PHP?
Quote from stuntguy3000 :Since i have NO idea how to code CSS & Don't know how to do the pubstats (is their a link?) it is possible to fetch the data in PHP?

You don't know how to do CSS, but you can do PHP?

And to answer the question yes, you can find it in the LFSWorldSDK.
#10 - PoVo
Quote from Dygear :You don't know how to do CSS, but you can do PHP?

And to answer the question yes, you can find it in the LFSWorldSDK.

There is also a pre made hosts status script, that shows many info (configurable)
Quote from Dygear :You don't know how to do CSS, but you can do PHP?

And to answer the question yes, you can find it in the LFSWorldSDK.

yes i can do php and i will look at the sdk
Quote from PoVo :There is also a pre made hosts status script, that shows many info (configurable)

And that's what this thread is about, but he can't / won't do CSS scripting.
Quote from Dygear :And that's what this thread is about, but he can't / won't do CSS scripting.

i'm not interested. btw it doesn't even matter now!
&amp problem
I've seen a few people struggling to find a good PHP script to show the stats for 1 or more servers on their website, so I've built a basic PHP class you can include into your website and its fully customizable, the demo and download can be found here

What is in this script?
Host Status: Online or Offline?
Host Name: Gets the current host name for the server (coloured)
Track Mode: Gets the Track Mode (demo, s1, s2 | Cruise | Laps)
Track Name: Track name
Host Cars: Which cars are allowed
Number Connected: x out of x connections
Users Connected: User names that are connected, linked to lfsworld

Updated:
It now uses ajax to run, same download link, enjoy

http://scottishbordersdesign.co.uk/demo/lfs/

FGED GREDG RDFGDR GSFDG