PDA

View Full Version : Connect from the web!


juliusbk
16-03-2003, 23:21
Okay, I need a script there can connect to my TeamSpeak server from my website!
It shall NOT be the Webpost/script because I only have one server...

So you when you come in to my homepage, you Shall write you name, Chanal you wanna join and Password for the chanal!
Like this:

Nickname:
Chanal:
Chanal password:

Then it connect to my server!
Can someone help me with that?

Maybe if you make a link like this:

teamspeak://MyIP -nick +nick+ -chanal +chanal+ -pass +chanalpass+

(I dont know the right parameter, can someone also tell me those?)

korn
16-03-2003, 23:27
I would also like to know the parameters ... if it is a option .... let's hope so :D

Dark-mixer
18-03-2003, 14:42
Should the script be written in ASP or PHP????
Or do you want it written in a Java Applet?

juliusbk
18-03-2003, 17:04
Just forget it...

I find the parameters my self,
and maid a script self...

A very simple Javascript!!!
But it works..., and that is what I need!

Stebs
21-03-2003, 13:03
The Parameters can be found here:
http://www.teamspeak.org/forums/showthread.php?s=&threadid=1135
Its in the sticky FAQ of the German Windows Server Forum.
Here the most important line:
teamspeak://xxx.xxx.xxx.xxx/?channel=Channelname&loginname=CHEFTEST&password=test&nickname=TESTER

Hybrid
20-06-2003, 04:07
Great, that is just what I was looking for. But I have a question about that. Is it possible to have them enter their information into some empty fields and then when they click ok, that they will join the desired channelwith their desired username?

Any information on this would be greatly appreciated.

Thank You In Advance,

Hybrid

in2secs
25-01-2007, 12:04
Use the following code in your webpage, replace www.yourtsserver.com with the URL of your TS Server.Change Appearance using the .style sections

Paste this into the HEAD section:

<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: x-small;
}
.style3 {font-family: Arial, Helvetica, sans-serif; font-size: xx-small; }
body {
background-color: #000000;
}
.style4 {
color: #FFFFFF;
font-weight: bold;
}
.style5 {color: #FFFFFF}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


Paste this into the BODY section:

<FORM>
<p><br>
</p>
<table width="497" border="0" align="center" bgcolor="#000000">
<tr>
<td colspan="3"><div align="center">
<p class="style1"><span class="style4">Input your Name and Password and press the Button to connect<br>
</span><span class="style5">The connection to the Team Speak server will be automatic <br>
</span><br>
</div></td>
</tr>
<tr bordercolor="#FFFFFF" bgcolor="#FF9900">
<td width="144" height="17"><div align="center" class="style3">Name </div></td>
<td width="144"><div align="center" class="style3">Password</div></td>
<td width="215"><div align="center" class="style3">Connect</div></td>
</tr>
<tr bgcolor="#FF9900">
<td><div align="center">
<input name="text1" type=Text>
</div></td>
<td><div align="center">
<input name="pw" type=Text>
</div></td>
<td><div align="center">
<input name="submit" type=Button value="Connect to TS" onClick="window.location='teamspeak://www.yourtsserver.com:31105/nickname='+form.text1.value+'?password='+form.pw.v alue">
</div></td>
</tr>
</table>
<p><br>
</p>
</FORM>

Reedy Boy
25-01-2007, 22:13
<html>
<body>

<script type="text/JavaScript">
<!--
function func_ts(){
var nickname = document.TS_Form.nickname.value;
var login = document.TS_Form.login.value;
var password = document.TS_Form.password.value;
var gotothispagenow=window.setTimeout(location.href="teamspeak://scserver.no-ip.org:8767/nickname="+nickname+"?loginname="+login+"?password="+password, 1);
document.write('<script type="text/JavaScript"> this_window = window.open("teamspeak://scserver.no-ip.org:8767/nickname='+nickname+'?loginname='+login+'?password ='+password+'"); this_window.close(); </script>');
//teamspeak://Address: Port/nickname=?loginname=?password=
}
-->
</script>

<form onSubmit="func_ts()" name="TS_Form" action="ts.html" method="post">
Nickname: <input type="text" name="nickname"><br>
Login: <input type="text" name="login"><br>
Password: <input type="password" name="password"><br>
<input type="submit" value="Submit">
</form>

</body>
</html>



Someone made the above up for me before for a similar function