How to show date&clock on teamspeak 3

h1web

TeamSpeak Badge Seller
VIP
Joined
Sep 2, 2015
Messages
159
Points
76
Location
Germany
Source? The Link does not provide source files, with the code, just the running pages.
 

adalwolflord

Member
Joined
Aug 22, 2015
Messages
12
Points
50
Age
25
TS3 PHP Framework: https://www.planetteamspeak.com/downloads

PHP:
<?php
require_once("libraries/TeamSpeak3/TeamSpeak3.php");
$ts3_VirtualServer = TeamSpeak3::factory("serverquery://username:[email protected]:10011/?server_port=9987&nickname=BOT");
$time = date("H:i");
while(1) {
$mychannel = $ts3_VirtualServer->channelGetById('555');
$mychannel["channel_name"] = "Clock: $time";
sleep(60);
}
?>
 

Mehmet GÜn

Member
Joined
Sep 18, 2015
Messages
9
Points
33

SysJo

Member
Joined
Oct 24, 2015
Messages
7
Points
36
Age
29
can someone help my about this ts3 php or give my link with more info how to install?
 

rafał Godwin

Member
Joined
Dec 17, 2015
Messages
2
Points
33
Age
23
Fatal error: Uncaught exception 'TeamSpeak3_Transport_Exception' with message 'Connection refused' in /virtual/rafalohaki.cba.pl/tsc/libraries/TeamSpeak3/Transport/TCP.php:54 Stack trace: #0 /virtual/rafalohaki.cba.pl/tsc/libraries/TeamSpeak3/Transport/TCP.php(108): TeamSpeak3_Transport_TCP->connect() #1 /virtual/rafalohaki.cba.pl/tsc/libraries/TeamSpeak3/Adapter/ServerQuery.php(76): TeamSpeak3_Transport_TCP->readLine() #2 /virtual/rafalohaki.cba.pl/tsc/libraries/TeamSpeak3/Adapter/Abstract.php(60): TeamSpeak3_Adapter_ServerQuery->syn() #3 /virtual/rafalohaki.cba.pl/tsc/libraries/TeamSpeak3/TeamSpeak3.php(320): TeamSpeak3_Adapter_Abstract->__construct(Array) #4 /virtual/rafalohaki.cba.pl/tsc/index.php(3): TeamSpeak3::factory('serverquery://s...') #5 {main} thrown in/virtual/rafalohaki.cba.pl/tsc/libraries/TeamSpeak3/Transport/TCP.php on line 54



i have that problem
 
Last edited by a moderator:

Ibo

Member
Joined
Oct 20, 2015
Messages
94
Points
53
Age
25
Hi
Plz some one do tutorial for that because its difficult for me to make this file digital clock.js work in my server.

Plz just I want simple tutorial I am really need it
 

ixFarisx

Member
Joined
Dec 26, 2015
Messages
26
Points
35
Age
29

Top