Forum

Page 1 of 7 123 ... LastLast
Results 1 to 15 of 92
  1. #1
    Join Date
    December 2009
    Location
    Germany
    Posts
    42

    Teamspeak 3 Viewer V2

    ### Englisch ###
    Server Beta25 compatible
    Here is my new TeamSpeak 3 viewer for PHP version > 5.2.1.
    Based on the TeamSpeak 3 PHP Framework from http://www.planetteamspeak.com

    Features:
    - Show or hide the nickname Box
    - correct display of channel and subchannel
    - Connect to password protected server(Settings)
    - Fully automatic Download and display the client avatar
    - Fully automatic download, display and store (on the Webspcae) the group of icons of the server.
    - Full client, channel and server information, as in the TS3 client
    - Support multiple languages through language files
    - Easy replacement of the styles
    - BBCode to html Converter für Client/Channel/Server Beschreibung

    Installation:

    Open the file "config.php" and accept the settings.
    German as the default language is set. But you can change the language at any time. By creating their own languagefile.
    Put "$loginbox" to false or true. If false is not possible to connect to the server via the viewer.
    Copy all files and directories in your webspace directory.
    Change the permissions of the directorie "icons" in the subdirectory "images" to "777".

    Have fun with it and possibly write in the Comments your URL where you use the viewer



    *** german part deleted ***
    DOWNLOAD V3
    Last edited by Resistant-X; June 23rd, 2010 at 05:09 PM.

  2. #2
    Join Date
    January 2010
    Location
    Germany
    Posts
    2

    Connection Timedout [110]

    Hi evrybody.

    I search till 4h but nothing helped me, so i registered me.

    I use your code but always the is the error:
    Code:
    Socket error: Connection timed out [110]
    I think it is because my Server has different Settings.

    My Host is 84.201.16.121
    My Queryport is 18001
    My HostPORT is 8004


    I think because of the hostport there is no possibility to connect.

    Anybody have an Idea?

  3. #3
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    Quote Originally Posted by Wrigleys View Post
    Hi evrybody.

    I search till 4h but nothing helped me, so i registered me.

    I use your code but always the is the error:
    Code:
    Socket error: Connection timed out [110]
    I think it is because my Server has different Settings.

    My Host is 84.201.16.121
    My Queryport is 18001
    My HostPORT is 8004


    I think because of the hostport there is no possibility to connect.

    Anybody have an Idea?

    Your Server ID ?
    Your Server have the ID 7.
    Your config Block:

    $tsstatus = new TSStatus("84.201.16.121", 18001, 7);
    $tsstatus->imagePath = "img/";
    $tsstatus->decodeUTF8 = true;
    Last edited by Resistant-X; January 7th, 2010 at 10:41 AM.

  4. #4
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    Quote Originally Posted by Insaneety View Post
    http://www.exr-liga.de/index.php?site=serverview4

    leider habe ich unten einen fehler :



    wie kann ich diesen beheben ?

    Danke schonmal.

    Probably a problem with your time zone on the server. Question, the best times of your support provider.

    MfG

  5. #5
    Join Date
    February 2005
    Location
    Netherlands
    Posts
    30
    Last edited by Dennisbier; July 4th, 2011 at 01:08 PM.

  6. #6
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    Thx ;-)

    you change the url variable to http://www.tsm8.com

  7. #7
    Join Date
    May 2003
    Location
    Germany
    Posts
    38
    Hello together,

    i have found a bug, when ServerID is bigger as 1, it doesn't show ServerAdmin, ChannelAdmin and Operator Icon. The Servergroup and Channelgroup IDs are than other as ServerID 1.

    And here is the bugfix, sorry for the bad implantation:

    all in the file: tsstatus.php

    1. add under the comment line
    Code:
     **/
    this:
    Code:
    	function arr_search ( $array, $expression ) {
    		$result = array();
    		$expression = preg_replace ( "/([^\s]+?)(=|<|>|!)/", "\$a['$1']$2", $expression );
    		foreach ( $array as $a ) if ( eval ( "return $expression;" ) ) $result[] = $a;
    		return $result;
    	}
    ########## ##########
    2. remove this lines:
    Code:
    		$this->setServerGroupFlag(6, 'servergroup_300.png');
    		$this->setServerGroupFlag(10, 'wappen.png');
    		$this->setChannelGroupFlag(5, 'changroup_100.png');
    		$this->setChannelGroupFlag(6, 'changroup_200.png');
    ########## ##########
    3. search:
    Code:
    			if(count($lines) == 5)
    replace with:
    Code:
    			if(count($lines) == 7)
    ########## ##########
    4. search:
    Code:
    				$this->_serverDatas = $this->_serverDatas[0];
    add down under
    Code:
    				$this->_ServerGroups = $this->parseLine($lines[4]);
    				$this->_ChannelGroups = $this->parseLine($lines[5]);
    ########## ##########
    5. search:
    Code:
    				print_r($this->_channelDatas);
    				*/
    add down under:
    Code:
    				$serveradmin = arr_search ( $this->_ServerGroups, "name=='Server Admin'" ); 
    				for($count1 = 0; $count1 < count($serveradmin); $count1++)
    				{
    					$this->setServerGroupFlag($serveradmin[$count1][sgid], 'servergroup_300.png');
    				}
    
    				$channeladmin = arr_search ( $this->_ChannelGroups, "name=='Channel Admin'" ); 
    				for($count2 = 0; $count2 < count($channeladmin); $count2++)
    				{
    					$this->setChannelGroupFlag($channeladmin[$count2][cgid], 'changroup_100.png');
    				}
    
    				$operator = arr_search ( $this->_ChannelGroups, "name=='Operator'" ); 
    				for($count3 = 0; $count3 < count($operator); $count3++)
    				{
    					$this->setChannelGroupFlag($operator[$count3][cgid], 'changroup_200.png');
    				}
    ########## ##########
    6. search
    Code:
    			$response .= $this->sendCommand($fp, "clientlist -uid -away -voice -groups");
    add down under:
    Code:
    			$response .= $this->sendCommand($fp, "servergrouplist");
    			$response .= $this->sendCommand($fp, "channelgrouplist");
    ########## ##########

  8. #8
    Join Date
    January 2010
    Location
    Secret Base in Arctic Region
    Posts
    1,671
    Thanks, its working.
    (But only if the groups have the default name and icons )

    Another question to Resistant-X: Is it meant to be, that everytime someone uses this viewer you get this message in TS3?
    <19:06:38> "Unknown from 217.172.184.90:44018" betrat den Server
    <19:06:39> Die Verbindung von "Unknown from 217.172.184.90:44018" wurde unterbrochen (connection lost)

  9. #9
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    Each script is like calling connect a client to fetch the data.

  10. #10
    Join Date
    January 2010
    Location
    Secret Base in Arctic Region
    Posts
    1,671
    Yeah, same is if you use serverquery via putty (or such).
    Maybe it can be removed with the upcoming chat-filter.

  11. #11
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    Quote Originally Posted by Alcazar View Post
    Yeah, same is if you use serverquery via putty (or such).
    Maybe it can be removed with the upcoming chat-filter.
    So on my Teamspeak, I do not get the message.

    Perhaps one needs to adjust the settings.

  12. #12
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    You add the IP of your Webspace to file query_ip_white.txt on your Ts3 Server.
    Last edited by Resistant-X; January 21st, 2010 at 05:59 PM.

  13. #13
    Join Date
    December 2009
    Location
    Germany
    Posts
    42
    Does anyone know the syntax of the ts3server links to join server with password ?

  14. #14
    Join Date
    January 2010
    Location
    Secret Base in Arctic Region
    Posts
    1,671
    Can someone update this viewer, so to display the new server-icons?
    (resistant-x or maybe even coolover )

    Thanks in advance.

  15. #15
    Join Date
    May 2003
    Location
    Germany
    Posts
    38
    At weekend i install the new TS3 Version, than i can look what's new.

    At moment i didn't know. Else you can upload for me the new Icons?
    I think there are here: C:\Program Files\TeamSpeak 3 Client\gfx\default

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. teamspeak viewer
    By iceman_087 in forum General Questions
    Replies: 1
    Last Post: April 20th, 2012, 04:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •