TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 448
  • Total: 448

Teamspeak block!

Started by -Prismatic-, October 14, 2005, 11:20:45 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Jaz

Hi,
Being new to this, I finally got the TS block to work. Good stuff  :)

I'm using this in the Helios Theme and the users names being in a dark shade do not show up to well.

Could someone explain to me how and where I can change this colour, I thought Lime Green or Yellow would stand out.

Thanks in advance

IchBin

Its in the TS files. Open up the ts_veiwer.php file and look for this part and you can change the colors I believe.

<style type="text/css">
<!--
        .smaller {
                color: #424274;
                font-size: 8pt;
                font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
        }

                .smaller1 {
                color: #424274;
                font-size: 5pt;
                font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular;
        }

-->
</style>

Jaz

Yep, that worked, thank you  :)  :)

stigmartyr


core

question:

Great TS block for TP.. very nice works like a charm...

the only thing I am wondering is... is there a way to get either a

1) username field in the user profile of smf wich represents TS name and Password and maybe even server password wich will be then added into the teamspeak:// connect link when you click a channel

or

2) a way to maybe hardcode the connect string to add current username to the string / serverpassword?

connect link is now displayed as:
teamspeak://62.212.xx.xx:8767/?channel=Main Channel?password=

My ts server has a serverpassword (and some registerd members)

I would do it myselve if I knew how to code the username variable in there  :-\

scope

I am having problems getting this to work.  Maybe someone else can help me.

My TS server is:
ts2.digitalserialkillers.com:9908

ts_viewer has the following code:
/* ---------- Teamspeak-Viewer - Anfang ---------------*/

   $ts_viewer->set_Viewer("Digital Serial Killers", "http://www.digitalserialkillers.com/smf");
   $ts_viewer->set_Channels();
   $ts_viewer->show_ts_viewer("ts2.digitalserialkillers.com",51234,9908, "");
   
/* ---------- Teamspeak-Viewer - Ende ---------------*/

I changed the 8767 port to 9908 since that is the port users have to use to connect.  I assume this is correct. 
Note: Leaving the default setup didn't work either, using the original changes as mentioned.

I then changed the port in the ts_config_inc as shown below:
function show_ts_viewer($_16, $_17=9908, $_18=51234, $_19="")
      {
         $this->g_serverAddress=$_16;
         $this->g_serverQueryPort=$_18;
         $this->g_serverUDPPort=$_17;
         $this->g_serverPasswort=$_19;
         $this->_8();
         $this->g_userName="Guest";

Still not working.  Please try and connect to my server and let me know what you think is wrong or if you connect, let me know the changes you made to get it working.

Help is very much appreciated.

Jaz

#56
Im very new to this, but I think you need to put spaces in between you server/ip name, ports. I also put my TS port number first, try the following

$ts_viewer->show_ts_viewer("ts2.digitalserialkillers.com", 9908, 51234, "");

I hope this is right, but if it's wrong sorry, Im sure someone else will help you get it right

I didnt have to change anything in ts_config_inc file

insanemustang

I took need to know about how to define a server password for teamspeak into the config files somehow.

scope

From what I gather, at the end of the ts_viewer.php script, where it has the ports, there are two quotes at the end of that line.  Put the password in there and you should be good to go.

Should look like this
$ts_viewer->show_ts_viewer("warrency.com", 8767, 51234, "PASSWORD_HERE");

core

nice1 scope!

now next step anybody know how to pickup the SMF username and code it into the "click on channel name" link?

This website is proudly hosted on Crocweb Cloud Website Hosting.