PDA


View Full Version : Server Status (Using Game-Monitor)


Tristan
07-11-2005, 08:30 PM
I was noticing the lack of a nice, clean module for server status. I noticed that www.game-monitor has a good sized block for displaying your server status. Unfortunately, it doesn't support EVERY game out there, but most of the popular ones.

Just to let you know, i kinda coded this by mistake (i didn't know it would turn out this way), but i think it looks perfect, fits in the site very nicely.

Here is the template code.

<style type="text/css">
<!--
td.row1 {background:#C6C6C6;border:1px solid; border-color:#ffffff #1b1b1b #1b1b1b #ffffff}
.style1 {color: #CCCCCC}
-->
</style>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">

<iframe src="http://www.game-monitor.com/server-stat.php?ip=64.34.39.150:27015&text=000000&link=0000ff&back=f0f0f0&border=d0d0d0&body=" width="170" height="210" frameborder="0" scrolling="no"></iframe>

</td>
</tr>
</table>
<br>


Replace the IP with the ip of your game server (i have bolded it). I named my tempate adv_portal_server.

Now create a new module, and input the following information:

Module Title: Server
Template to Include: server

The rest is whatever you want.

Here is what it looks like on my site: http://raw-cs.com - located on the top right hand corner. If you have any questions, post away. It is quite simple tho ;)

clandcsb
07-21-2005, 05:22 AM
Nice idea. Liking this, only trouble I having is the white box around it!

Http://www.dcsb.co.uk

mfowler70
08-05-2005, 11:21 PM
I added mine to my custom navbar template, so they won't take up real estate on the screen when not being viewd, and they're also accessible from any page on the website. To see what I mean, hit the link and then use the Game Servers link at the top. :)

http://forums.clan-tlb.com

BTW clandcsb, nice looking style! ;)

Wojjie
08-23-2005, 09:09 PM
You can get rid of the white box around it by setting the body parameter in the url that is usually found blank and at the end.

enigma27
09-16-2005, 10:06 AM
mine donesnt show up? the modul looks like its there but its invisible

www.kia-corp.co.uk/bf2

look on the right wheres it gone?

enigma27
09-16-2005, 10:29 AM
ok got it working but it doesnt line up with the other modules and i woulk like it enclosed in the format the modules on the right are, with border round title and body

can this be done?

enigma27
09-16-2005, 12:12 PM
mfowler how did you get it to sit in the module box like that?

SQuery
01-31-2006, 07:20 PM
Go here for a new look for your site.

http://www.squery.com

New games added almost everyday.