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 ;)
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 ;)