Simple Viewer with PHP Framework

Hi,

we would like to create some simple TS3 control center (view who is online, start/stop the server and edit a few things i.e. servername …) for a server panel. While browsing the net I came across the PHP framework (TeamSpeak 3 PHP Framework: API Documentation) which already had a long thread on the old forum.

Example 9 is showing a simple viewer (which is enough for our little project) but I would like to hide the serveradmin (it’s the serverquery name) and underneath the “serveradmin” there should be a channel ([spacer]—) but its not displaying correctly.

TS Picture

Can anyone help me?

Thank you in advance!

You can just hide it with css

.ts3_viewer.query {
  display: none;
}
2 Likes

well, you should take a break once in a while :sweat_smile:

Thank you!

1 Like

Another thing you can do is adding the no_query_clients option to your factory URI. Please refer to the documentation for details:

https://docs.planetteamspeak.com/ts3/php/framework/class_team_speak3.html#aa0f699eba7225b3a95a99f80b14e73b3

3 Likes