TinyPortal

Development => Support => Topic started by: Nightstalker on November 18, 2005, 07:40:27 PM

Title: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 18, 2005, 07:40:27 PM
I would like to add a game server and teamspeakblock and will be using the html code from serverspy.net.How would I go about this?

Thanks.
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: IchBin on November 18, 2005, 09:34:34 PM
I see you found the TeamSpeak block. What you need to do is configure the script to work first of all. :) Point your browser right to the file called tsviewer.php ( I think) to see if everything displays right. Then create a phpbox block. Then just add this line:
include('path/to/tsviewer.php');

You can do that with just about any file. I haven't seen the gamespy block, but I'm pretty sure it will work the same way. Any troubles feel free to post back.
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 18, 2005, 09:50:46 PM
Actually Im looking for a teamspeak script and how to so I can install a teamspeak block.Same with a game server block,cant get that to run in TP at all,maybe serverspys code is wrong for TP

Thanks.
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: IchBin on November 18, 2005, 10:44:03 PM
Everything you need for the TeamSpeak block is in that thread you posted in (including the script). I'm not sure about the game server block, I'd have to take a look. Have a link?
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 18, 2005, 10:59:37 PM
I went thru that post and I couldnt find the script,thats why I posted here.I will have another look though,I have had a long night.

Thanks.
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 19, 2005, 01:59:28 AM
Found it
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Amay_Zing on November 23, 2005, 08:44:39 AM
I am having the same prob.  Have you sorted it Stalker?  Plz let me know how to do it

Thanks
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 23, 2005, 09:56:29 AM
Yep I have it working,piece of piss to do.What are you having trouble with?
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Amay_Zing on November 23, 2005, 10:00:38 AM
It seems that the graphics are on top of one another and they are too wide for the block
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 23, 2005, 10:04:11 AM
I had similar problem.You will have to adjust the size of your blocks in TP,also be careful of adjusting the font as this can cause the text to bunch up.Do you have a url so I can have a look.
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Amay_Zing on November 23, 2005, 10:06:56 AM
http://www.shownomercyclan.co.uk/forum/index.php
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Amay_Zing on November 23, 2005, 10:52:34 AM
this is the code:

<TABLE align="center" cellpadding="10">
<TR><TD valign="top">

<!-- Server Monitor (The main monitor) | START ------------------------------->
<!-- NOTE:
This first segment of code is only for the server monitor itself.
If you want to include the server usage graphs, then scroll down to
the marked code.
-->

<SCRIPT LANGUAGE="JavaScript"
SRC="http://share1.serverspy.net/cgi-bin/monitor.js?mid=114437">
</SCRIPT>
<!-- SERVERSPY GAME CODE END -->



<!-- Server Rank Image | START ------------------------------->
</TD><TD align="center" valign="top">
<!-- NOTE:
Use the image URL's below. You can arrange them anywhere on your site.
Most users like to present these along side their main server monitor.
-->

<img src="http://www.serverspy.net/bin/srank.mpl?a=85.236.101.30:17067" width="120" height="100" border="0"> (http://www.serverspy.net/site/serverranks/)


<!-- Server Rank Image | END ------------------------------->

<!-- Server Usage Stats (The Four Graphs) | START ------------------------------->

<!-- NOTE:
Use these image URL's below. You can arrange them anywhere on your site.
Most users like to present these along side their main server monitor.
-->


I'm sorry, only Exclusive Subscribers (http://www.serverspy.net/site/subscribe/) have access to the Usage Stats.


<!-- Server Usage Stats | END -->
</TD></TR></TABLE>

I dont have access to user stats so I dont need that bit but what about the rest of it?
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 23, 2005, 11:09:20 AM
Ahhhh serverspy,I tried installing that but had alot of problems so I went with gamemonitor instead.Sorry cant help you.
With the game ranking and graphs you can just cut it out of the code.
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Amay_Zing on November 23, 2005, 11:23:47 AM
lol just my luck.  Did u pay for gamemonitor?
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Nightstalker on November 23, 2005, 11:32:05 AM
Its free for the basic monitor but you dont get a players list for it,just the server details.Have a look here.

http://www.game-monitor.com/ (http://www.game-monitor.com/)
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Amay_Zing on November 23, 2005, 11:44:06 AM
cool so easy with that done thx
Title: Re: Adding a game server block and teamspeak block to TP.
Post by: Amay_Zing on December 25, 2005, 11:29:42 PM
sorry m8 its sorted now thanks