TinyPortal

Development => Support => Topic started by: -Prismatic- on May 02, 2005, 06:33:31 AM

Title: Can any one of you make a TeamSpeak2 block?
Post by: -Prismatic- on May 02, 2005, 06:33:31 AM
So that it displays the teamspeak server's stats? Like the users in it and whatnot?

PLEASE! :( Ive tried others, but none work well (or at all) with TP as they were designed for other portal systems
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: Bjørn on May 02, 2005, 08:36:17 AM
Is there a file or a function to show that when "outside" teamspeak?
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: -Prismatic- on May 02, 2005, 09:24:07 AM
As far as I know, there is no real function to do that, but there are numerous scripts out there that connect to the server and get all the info needed, but none of them are formatted for TinyPortal! Here is a block for TS that i cant get to work with TinyPortal (I really suck at php) but hopefully it will give you a foundation on which to build upon :)

http://www.teamspeaktalk.com/showthread.php?t=24
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: -Prismatic- on May 02, 2005, 10:59:49 AM
I managed to make one!

http://lifeisshort.warrency.com//index.php

:D
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: JustClem on May 02, 2005, 02:44:15 PM
Those TeamSPeak scripts should work if you put them inside a PHP box.  Also, note that your TS provider has to have the correct query ports open or else the script won't work.

You might also want to look at your TS host's website and see if they have any scripts or info.  In my case, my TS provider has its own PHP script that I can execute to get a nice output that shows who is on, but they do not open any of the query ports to allow other scripts to get the same info.
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: IchBin on May 02, 2005, 05:48:25 PM
I have one on my site.
www.tmrules.com
If you want it let me know and I'll send it to you.
Email me at ichbin at tmrules.com
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: -Prismatic- on May 02, 2005, 09:59:29 PM
lol Ichb, were using the same one :)

Im guessing you had to modify yours also to get it to work correctly?
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: -Prismatic- on May 02, 2005, 11:39:57 PM
Actually, Ichb, How did you get the names to left-align? look at mine here >> http://lifeisshort.warrency.com//index.php

Notice the names appear centerd or even right aligned? I cant, for the life of me, get the names to left align so they are right next to the images to the left of them.

Any ideas?
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: -Prismatic- on May 03, 2005, 12:40:46 AM
ah HA! Figured it out :) There was a stray 100% lurking in there :)
Title: Re: Can any one of you make a TeamSpeak2 block?
Post by: IchBin on May 03, 2005, 12:42:10 AM
hehe, nice job dood.