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: 562
  • Total: 562

Teamspeak block!

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

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

LeeD

for the teampskeak viewer

use ts2 updated version

go here

http://www.tsviewer.com/

fill out the info , they give you proper html here

just upload it to a java/script html box and there ya go

spookdude

Quote from: IchBinâââ,¬Å¾Ã,¢ on August 08, 2006, 05:29:13 PM
Does your server have the proper ports open?

What ports need to be open? And how exactly do I open them? My TS service is hosted.

IchBin

It tells you in the first post what ports need to be opened. Ask your provider to do it for you.

chaotix

#193
Using the block in 0.95/RC3 i just get nothing, tried adding in a simple

echo "helloo";

to see if its doing any of it but doesnt show that either

initially got this error

Quote
Parse error: parse error, unexpected '<' in /home/content/e/z/y/ezymoney/html/Sources/Load.php(1708) : eval()'d code(35) : eval()'d code on line 1

using this in the block:


<?php include("ts_viewer.php"); ?>


changed it to


include("ts_viewer.php");


No error but doesnt seem to do anything just shows the block title and nothing in the block

used the full path to the file still the same.  Im not too good at php so i didnt want to mess about with the Load.php file yet. Line 1708 of Sources\Load.php is part of a function (template_include) ive pasted that section of the function:


// Are we going to use eval?
if (empty($modSettings['disableTemplateEval']))
{
[size=18pt][i][b]$file_found = file_exists($filename) && eval('?' . '>' . rtrim(file_get_contents($filename))) !== false;[/b][/i][/size]
$settings['current_include_filename'] = $filename;
}
else
{
$file_found = file_exists($filename);

if ($once && $file_found)
require_once($filename);
elseif ($file_found)
require($filename);
}

if ($file_found !== true)
{
ob_end_clean();
if (!empty($modSettings['enableCompressedOutput']))
@ob_start('ob_gzhandler');
else
ob_start();

if (isset($_GET['debug']) && !WIRELESS)
header('Content-Type: application/xhtml+xml; charset=' . (empty($context['character_set']) ? 'ISO-8859-1' : $context['character_set']));

(Lines 1705 to 1730)

Any help would be greatly appreciated.

PS, as our TS server has no password i removed the word SERVERPASSWORD and just left the "" in ts_viewer.php

PPS Website address is http://thexclan.org

IchBin

This shouldn't affect your load.php file at all. Only reason would be because your using some code with an error in the block or in the files. You need to check the file you edited (in the TS files) and make sure you have the right code and that you didn't accidentally erase or add something.

LeeD

#195
heres my recent story

i didnt have control of my team speak it is hosted by my raceserver we use
it is a ts 2 but it isnt up to date so viewer wouldnt work cause it couldnt be queeried

i went and purchased a second ts ... hosted by somebody
long story short i was able to queery the server and get above ts viewer to work
http://www.tsviewer.com/
the host stunk though after 2 months i had been down over 9 times , the viewer site also was sluggish at best .. i axed it back to square one

i found this code , using it in html block

Quote<div align=center></div><TABLE align=center target=_blank CELLPADDING=0 CELLSPACING=0><form name="ts_login"><TR><TD align="center"><font face="Verdana" size="1">Nick Name
<input type="text" size="15" maxlength="20" name="NICKNAME">
Login <font color=orange>(If Member)</font>
<input type="text" size="15" maxlength="20" name="LOGINNAME">
Password <font color=orange>(If Member)</font>
<input type="password" size="15" maxlength="20" name="PASSWORD">

<input type="button" value="Connect" onClick="location.href='teamspeak://000.000.00.000:0000/nickname=' + ts_login.NICKNAME.value + '?loginname=' + ts_login.LOGINNAME.value + '?password=' + ts_login.PASSWORD.value;"></font></TD></TR></form></TABLE></center></div>

it works well using ie and firefox looks good also
but again i dont have control over the team speak server now im back to square 1 with sort of an out dated ts
is there a way to utilize this code but add something in there to show the channels
and whos on there etc

ty

feral

buy its not up to date how out of date is it. ts2 v 2.0.32.60   is the current version.

team speak php blocks have been around for some time now. what you need to do is find what version you have. then you can find a viewer for it.

or just ask you host to update to the newest version.

apo

Hi,
i take the Files from this Package,
Quote from: core on March 01, 2006, 09:36:53 PM

add my TS-Server. Now i get this Error:

Parse error: syntax error, unexpected $end in /www/htdocs/v164574/ft/Sources/Load.php(1733) : eval()'d code(35) : eval()'d code on line 1

on SMF 1.1
TP 097

Can anybody help me ?

zuma13

Hello.

I've read most of the 2 pages of posts here and followed all the steps. I'm still getting an offline message.

My TS server is also hosted. The ports are opened I think, since TS is running on them?

Any help would be appreciated, thanks.

IchBin

The only port for TS that has to be open for it to work is 8767 (default). The other ports are for admin and status. You'll need to ask your host if they are allowing these ports.

This website is proudly hosted on Crocweb Cloud Website Hosting.