PDA

View Full Version : TS2Live - TeamSpeak 2.x Online Status


Phalynx
10-21-2005, 10:00 PM
This is the vb3.5-version of the TeamSpeak Online Hack. The version for vB3.0.x you can find here (https://vborg.vbsupport.ru/showthread.php?t=80684).


What does this hack do?
It shows you the currently Users on FORUMHOME, just under the Who Is Online Block. As this Script queries the Server every time a user enters the Forumhome, it is not recommended to apply it on sites with high traffic. Use instead of my hack the hack "Show who is online in Teamspeak on forumhome", it works with cronjobs.
This Hack works on vBulletin on Windows (tested) and *nix (untested). It can query *nix and Windows-based TeamSpeak Servers.


Contains: 7 AdminCP settings, 11 phrases, 1 additional template, optional icon.
Installtime: <1 minutes
Difficulty: easy (1 product and 1 icon uploads)


The icon is optional. If you don't want to upload the icon, you can change it in the AdminCP to a different name.

Demo: http://www.e2160.com (scroll down)

Please click INSTALL! :)

Update for 2.0:
- No more file modifications needed, you can configure it through the AdminCP

How to Update?
- Import product, overwrite existing
- Revert the template named "forumhome_tslive"
- Check if the phrases are up to date (espacially phrase "ts_active_users")

Snake
10-23-2005, 12:21 PM
Thank you!

PVTRoger
10-25-2005, 10:19 AM
I love the idea of this hack, but am not clear (because I'm a newb at this) what I'm suppose to be changing what/where the instructions say...

################################################## ########################
Please make sure that you modify also the templates and phrases with the right data to connect to your TS2 Server!
template: forumhome_tslive
phrase: ts_active_users
################################################## ########################

I do have the visual part on my board now, just need to see if I can make it all work to actually show the users on Teamspeak. Here's the LINK (http://www.funingaming.com/forums/) to my board if that will help.

Phalynx
10-25-2005, 10:43 AM
It seems that the phrases are not working. I changed the product.xml to make the phrases GLOBAL, so now the import should work correctly.

Please download the ZIP again and make sure that you import the updated product with overwrite on.

Also I have modified the instruction you mentioned, it should be now clearer.

twitch
10-25-2005, 06:56 PM
I don't show the option to connect to the server like you have on your website, I just show who is online http://www.s2tg.com/forum/index.php

PVTRoger
10-25-2005, 10:17 PM
Phalynx

I really want this to work, as it's a great idea. I have downloaded the new zip, and installed as per your instructions. I entered in the values into the template, but dang if this wil show anyone on Teamspeak. I'm beside myself trying to figure out what I could be doing wrong.

Any help, or typical problems that you can think of will be appreciated.

Thanks in advance.

PR

PVTRoger
10-27-2005, 03:38 PM
Well, I guess I'm going to be forced to uninstall this. Pity as it's a great concept, and I know that many hagve made it work on their boards. If only I could get some help to work through my issues.

:ermm:

Phalynx
10-27-2005, 07:00 PM
Did you check if the phrases are correctly entered? Just search for them:

ts_active_users
ts_nobody_online
ts_offline

If you cannot find them, create them with this content in GLOBAL:
ts_active_users=Active chatting users @ YOURSERVER
ts_nobody_online=There is currently nobody online
ts_offline=The Server is currently offline

PVTRoger
10-27-2005, 07:41 PM
Phalynx

Here's what my stuff looks like (minus the xx I used to replace the actual IP)

<!-- start teamspeak live -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_ts_loggedin')"><img id="collapseimg_forumhome_ts_loggedin" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
$vbphrase[ts_active_users] $teamspeak[player] $vbphrase[user]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_ts_loggedin" style="$vbcollapse[collapseobj_forumhome_ts_loggedin]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/teamspeak.gif" border="0" /></td>
<td class="alt1" width="100%">
<div style="padding-top: 7px" class="smallfont">
<a href="teamspeak://xx.xx.xx.xx:xxxx/?channel=XXXX?password=xxxx">$teamspeak[playerlist]</a></div>
<div style="padding-top: 7px" class="smallfont">
$vbphrase[ts_join]
$vbphrase[ts_help]
</div>
</td>
</tr>
</tbody>
<!-- end teamspeak live -->

If you see anything in there that needs changing, I'd be grateful if you could tell me what it is.

Thanks

PR

PVTRoger
10-28-2005, 08:35 PM
What..is this to tough a nut to crack?

:surprised:

twitch
10-28-2005, 08:49 PM
strange it doesn't work for you, should work with no problems.

PVTRoger
10-29-2005, 09:59 AM
Dang, I think I would have been happier if someone said "Oh, change the "X" to a "Z" or something, anything so that I could make this work.

:disappointed:

bspiller82
10-29-2005, 10:30 AM
How you fix the display? Mine looks nothing like the included example image you included. It's not showing the IP address in the bar..

PVTRoger
10-29-2005, 02:08 PM
Phalynx...no ideas buddy?

:disappointed:

PVTRoger
10-29-2005, 05:04 PM
I have Teamspeak2. Would that possibly make a difference?

twitch
10-30-2005, 12:56 AM
No, that makes no difference. Maybe your TS server has a different port than the default?

PVTRoger
10-30-2005, 08:38 AM
Twitch

I checked, it's the same as entered. :ermm:

I figure there is some simple thing that I'm missing, but as I'm not a guy who messes with code, and hacks much, I don't know what it is, and if I did see it, I'm not sure I who recognise what it was.

:disappointed:

P.Jackson
10-30-2005, 09:56 AM
hmm it shows all the data for me but just wont show whos online :( everything setup ok any ideas?

PVTRoger
10-30-2005, 01:01 PM
When you figure it out let me know, that's my problem as well.

:disappointed:

twitch
10-30-2005, 04:18 PM
What are your teamspeak ip's? I will test for you

PVTRoger
10-30-2005, 05:25 PM
Twitch

Here's mine...

70.86.15.34:9034

bspiller82
10-31-2005, 12:29 AM
Twitch

Here's mine...

70.86.15.34:9034

Whats ur site I'll take a look at it for ya too

twitch
10-31-2005, 05:17 AM
Twitch

Here's mine...

70.86.15.34:9034


I got it to pull the information and show who is online without any problems. I wonder if maybe it has somethin gto do with your webhost but I don't know much about that.

PVTRoger
10-31-2005, 09:03 AM
Twitch

Well thanks for checking. I have no idea what my web host would have to do with this, but I'm about done looking for help, although I appreciate yours. Looks like it's just one of those things that won't work for me.

:disappointed:

bspiller82
11-02-2005, 04:15 AM
Twitch

Well thanks for checking. I have no idea what my web host would have to do with this, but I'm about done looking for help, although I appreciate yours. Looks like it's just one of those things that won't work for me.

:disappointed:

If you want to contact me on messanger or here I'll take a look at it for ya as well. It should work out of the box though.

Virtuosofriend
11-07-2005, 11:00 PM
are you sure that all phrases work?
$vbphrase[ts_nobody_online]
$vbphrase[ts_join]
$vbphrase[ts_help]
these dont seem to work for meh.

EasyTarget
11-09-2005, 06:02 AM
I searched and it had 1 of those phrases (ts_nobody) and I get the blank box as well.

StarBuG
11-09-2005, 03:04 PM
Thx for this hack but there is need for some improvement:

Ok first you forgot to define two phrases: ts_join & ts_help
Then why do you use the channel command if the hack shows all users on the server anyway?
The phrase "ts_active_users" is not set as GLOBAL and therefor does not show up!
You set it to "Forum Display"
I would suggest to not make the Usernames Array one link on forumhome. Looks bad with underscore and you have a join link below it (if you add the phrase) anyway.
the other phrases like "ts_offline" seem to be also not on global and therefor are not beeing displayed.

Is it possible (from the look of the php file it is) to have channels displayed differently?
I tried copieng the $teamspeak[playerlist] line and change the channel but it displayed all users on every channel on each line.

Another very important option:

PLEASE make it optional to add the ts2 block via template change or the attachemethode.
I realy dont want it directly below the who is online.

Anyone an Idea how I can display it via template change?

/me clicks install

Virtuosofriend
11-09-2005, 08:32 PM
ts_active_users do show up.

StarBuG
11-10-2005, 04:18 AM
ts_active_users do show up.

No it does not because it is set to "Froum Display" phrase.
<phrasetype name="global" fieldname="forumdisplay">

$teamspeak[player] $vbphrase[user] these two show up displaying ( X User )

$vbphrase[ts_active_users] would be something like: Active Users in TeamSpeak @ Server:Port

Virtuosofriend
11-10-2005, 08:59 PM
hmm yes you are right.even if you move it to Global group it still doesnt show up ;x

bspiller82
11-10-2005, 11:36 PM
Is there some type of server requiments to run this? I switched hosts and it stopped working!?

StarBuG
11-11-2005, 09:12 AM
If the ports are blocked on your server (eg firewall) then you can´t use this hack

bspiller82
11-12-2005, 11:35 AM
How do I get it to show the name of the server like your example? All my says is # user. I want it to say

Active Users in TeamSpeak @ myip:port: # Users

StarBuG
11-12-2005, 12:19 PM
How do I get it to show the name of the server like your example? All my says is # user. I want it to say

Active Users in TeamSpeak @ myip:port: # Users

create a global phrase ts_active_users and put in the text you want

markantonie
11-16-2005, 01:58 AM
Will I need to have any special services through my web host?

dark dragun
12-04-2005, 10:13 AM
when no one is logged in to teamspeak nothing shows on mine, is there a way for it to say "no one online"?

http://www.almightyassassins.com/socom3/index.php

In$ane
12-11-2005, 02:42 PM
will this hack work with 3.5.2 as i got a teamspeak server i would like people to see who on line ...

i did install it and had to uninstall it as the forum would not show just a blank white screen with no errors just blank ...like me :)

Kru
12-20-2005, 04:54 PM
will this hack work with 3.5.2 as i got a teamspeak server i would like people to see who on line ...

i did install it and had to uninstall it as the forum would not show just a blank white screen with no errors just blank ...like me :)

Works with 3.5.2 as you can see here: http://www.rpg-centre.com/forum/index.php

Have this hack installed since it is out and never had any problems with it.

Bungie
01-12-2006, 03:03 AM
Works with 3.5.2 as you can see here: http://www.rpg-centre.com/forum/index.php

Have this hack installed since it is out and never had any problems with it.

I have the version for 3.0x but I'm having trouble getting it working. I've left TCP as default and changed UDP to the actual server port but it's not working yet. Can ANYONE offer me some assistance?

Necrite
03-01-2006, 07:57 PM
great hack! but i updated my php to 5.1.1 and mysql to 5.0.18 from version 4 an now a warning displayed on forum on the indexpage.

Warning: strftime() expects parameter 2 to be long, string given in /ts2info.php (Line 322)

anyone can help me?!


p.s. sorry for my bad english :classic:

SwissPegasus
03-20-2006, 06:45 PM
Just great, perfekt work.

Phalynx
03-22-2006, 09:49 AM
Update for 2.0:
- No more file modifications needed, you can configure it through the AdminCP

How to update? Simply import the product XML and overwrite existing product.

GoNz00
03-22-2006, 12:47 PM
thanks for the update :)

GoNz00
03-22-2006, 12:52 PM
i updated the product, lost the text that says "users chatting in teamspeak", it now says "2" ???

and i cant find anywere in adminCP to change anything ??

help plz

Phalynx
03-22-2006, 01:04 PM
i updated the product, lost the text that says "users chatting in teamspeak", it now says "2" ???

and i cant find anywere in adminCP to change anything ??

help plz

Go the the Templates, Forumhome, forumhome_tslive and revert this template.

The Settings you can find at the end of all vBulletin Settings.

GoNz00
03-22-2006, 01:11 PM
ok i reverted the template, now it says 0 users :) getting there.

still no options... scrolled to the bottom, looked all the way up and down, nothing, expanded all options, still no sign of it, rebuilt bitfields as well for luck, still nothing.

GoNz00
03-22-2006, 01:17 PM
had to uninstall/reinstall, all is good now thanks :)

Phalynx
03-22-2006, 01:18 PM
Great.

P.Jackson
03-22-2006, 02:10 PM
hmm currently have 22 users online and the users lists dont break so we have to scroll left and right anyway to stop that make it break to a new line after 10 users?

Phalynx
03-22-2006, 02:19 PM
Simply change the template forumhome_tslive:

Change

<div style="white-space: nowrap">

to

<div>

The product.xml has been also updated.

P.Jackson
03-22-2006, 02:32 PM
awsome worked! thanks

GoNz00
03-22-2006, 02:40 PM
updated :)
will be needed on my forums as well..

Tyegurl
03-23-2006, 02:56 PM
okay can i just say this is great???

secondly ummmm i don't see a zip to download so i don't have the image. i stole the one from the screenshot but it doesn't work...am i doing something wrong lmao

Phalynx
03-23-2006, 05:10 PM
This is the attached icon:
https://vborg.vbsupport.ru/attachment.php?attachmentid=44658&stc=1&d=1143024537

Just save it to your /images/misc folder and name it teamspeak.gif

BENSTER
03-23-2006, 06:21 PM
How would I display 2 different TS servers?

Phalynx
03-23-2006, 06:25 PM
Thats not so easy. You could install the hack twice with different product id's.

BENSTER
03-23-2006, 11:22 PM
Thats not so easy. You could install the hack twice with different product id's.
Thanks, I was thinking that, but not sure if it was as easy as it sounds. :)

If I install it under different ID, will it simply appear above/below the other one?

**Edit - ok, now the fun begins. :) I'll see if I can figure this out:

MySQL Error : Duplicate entry 'ts2live_server_address' for key 1

BENSTER
03-24-2006, 12:02 AM
well, I tried to change everything from tslive and ts2live to tslive_2 and ts2live_2

Crashes the page. :) quick uninstall fixed it. :) well, I'm up for suggestions, I'm not a coder, but I'm willing to work at it.

shadowknight
03-26-2006, 08:25 PM
everytime I try and install this hack it's always showing "Server is Offline"

XFSImperial
03-26-2006, 11:29 PM
Installed, mod works perfectly. Just took me awhile of screwing with the settings to get it to work properly. Thanks!

Phalynx
03-27-2006, 04:48 AM
everytime I try and install this hack it's always showing "Server is Offline"

Are you sure that you have entered the correct settings for the TS server? Espacially the Ports are important.

@BENSTER
You will need to change settings also.

shadowknight
03-27-2006, 04:01 PM
Yes, I can click it where it says "Server is offline" and connect to the server, but why show offline?

Phalynx
03-27-2006, 05:43 PM
Your QueryPort seems to be wrong, it is not required to connect to the server, but to query infos from it.

PsiNyde
03-27-2006, 10:57 PM
beautiful! works like a charm from the jump...

*clicks install*

BENSTER
04-01-2006, 01:49 AM
everytime I try and install this hack it's always showing "Server is Offline"
Make sure your Host allows UDP packets...some web servers are strict.

KurtBMX
04-05-2006, 10:55 AM
hi guys, ok i got a slight problem

- Active Users does not show anything besides '0 Active users'
- The actuall showing of users always shows server offline message (although you click this link and the channel conects and opens as it should)

things i have tried:
- setting everything on teamspeak to the defaults in the forum hack (Lobby / guest / default ports)
- Opened both UDP ports on the host machine.

still no luck any help would be appreciated

http://www.xtreme-server.co.uk/vbulletin/


thanks for taking the time to read this query.

/KurtBMX

Scan Cape Cod
04-08-2006, 08:10 PM
Hello,

Thanks very much for creating this. Very nice. I've installed the latest version with 3.5.4. One question, and my apologies if this has been asked, I couldn't find it specifically.

I would like to change the text from "Active Chatting" to something else. Can you direct me to where I can do that? Thanks very much in advance.

Scott
Scan Cape Cod/Scan Massachusetts
http://www.scancapecod.us

Phalynx
04-09-2006, 07:28 AM
Search for the Phrase in your Phrases...

Scan Cape Cod
04-09-2006, 12:29 PM
That did the trick. Thanks for the quick reply. I'm still learning VBulletin; your answer will be most helpful in many aspects.

Thanks!

Scan Cape Cod
04-09-2006, 02:52 PM
To go further with the above...I use a neat Teamspeak status and login script at my site, which I have attached. I further tweaked your plug-in to add links to the ts_active_users vbphrase and the teamspeak.gif icon. Both links point to the login script. This script might be of help to someone that wants Teamspeak access from their site, outside of VBulletin.

If anyone wants to have a look at my tweaks, here is the link (http://www.scancapecod.us/messageboard) to my message forums. In my case, I use Teamspeak to provide realtime radio scanner audio feeds to listeners.

Again my thanks for a great plugin!

Phalynx
04-11-2006, 08:09 AM
Thanks for sharing. I'm planing to do a more detailed hack, but for this I will wait for TeamSpeak 3, which will arrive in the next months.

Stoebi
04-11-2006, 10:35 AM
Hi,

great work @Phalynx and @Scan Cape Cod

My questions are:
It is possible to make the TS FORUMHOME output visible for special groups only? How?

How it is possible to login to the ts server with the forum login?

@Scan Cape Cod
Which changes i need to TS2Live to correspond with your ts2stats, please?
Can i login to my password protected (for guests) TS server with your script?

Sorry for my terrible english.

Kind Regards,

Stoebi

twitch
04-11-2006, 01:31 PM
Thanks for sharing. I'm planing to do a more detailed hack, but for this I will wait for TeamSpeak 3, which will arrive in the next months.

Awesome!

Stoebi
04-11-2006, 11:20 PM
Hi,

with every load or reload of the forum ts2live will connect to the ts-server?
hm.. why not you implemented an auto refresh or a cron job?

Kind Regards, Stoebi

Phalynx
04-12-2006, 05:58 AM
Please READ the description of the Hack:
As this Script queries the Server every time a user enters the Forumhome, it is not recommended to apply it on sites with high traffic. Use instead of my hack the hack "Show who is online in Teamspeak on forumhome", it works with cronjobs.

Stoebi
04-12-2006, 10:49 AM
Hi,

yes, sorry. You are right. Unfortunately I flew over the text and/or was too overeagerly.


I've deinstalled the hack.


Regards,

Stoebi

Please READ the description of the Hack:

drdeathuk69
04-24-2006, 03:40 PM
right ive been at this for 2 weks now and still no joy can someone please take a look at my site at www.muppets-clan.com and see whats wrong lol

my ts2 ip is 217.146.92.89:9125

all setting are righ but still no worky :(

punisherx75
04-25-2006, 06:39 AM
I cant get this to work I have set up the plug in fine

I can click on the link and it hooks up to TS no problem but I can not see any users online and i have checked and my post is open

Do I need to download the old zip file for the older version first does this user the tsonline.php file or something?

got3n
04-25-2006, 02:55 PM
is there by chance a module for the vbadvanced?

Lover1
05-18-2006, 04:05 PM
i have installed that product, but NOTHING is displayed in the footer. Do i have to make the changes as seen on the previous version ?

Phalynx
05-18-2006, 06:09 PM
all setting are righ but still no worky

Looks like it is now running. What was the error?
Please click INSTALL.

Do I need to download the old zip file for the older version first does this user the tsonline.php file or something?
This file is all you need, you don't need tsonline.php

is there by chance a module for the vbadvanced?
There is, if I had more time...

i have installed that product, but NOTHING is displayed in the footer. Do i have to make the changes as seen on the previous version ?
No changes are required. Did you modified your FORUMHOME-Template?

SkyCatcher
05-18-2006, 06:34 PM
Bah, ok I give up.

The $replace variable in the plugin isn't replacing anything.

I checked my forumhome and there was nothing new added.... so I went ahead and fiddled around with the ts_live template, and copied bits and pieces over to the forumhome myself (at the top) to test it and apparently I'm not getting anything from the ts_active_users {1} which leads me to believe that it's because there is no code going on in the actual forumhome template.... instead the code is being injected from the ts_live template.

Only on my forum there's nothing being injected or replaced as it should be :/

http://www.probetreffen.de/forum



I've decided to add my forumhome template

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1="$vboptions">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar


<br>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td colspan="6" class="tcat" $catbgcode><b><a href="online.php?$session[sessionurl]">Wer ist Online</a></b> - $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)</td>
</tr>
<tr>
<td class="thead" colspan="6" class="smalltxt">Key: <u><b><i><font color=#4097ff>Super Administrator</font></u></i></b> - <u><b><font color=#CC0000>Administrator</font></u></b> - <b><i><font color=#f5b834>Super Moderator</font></i></b> - <b><font color=#009900>Moderator</font></b> - Members</font></td>
</tr>
<tr>
<td class="alt2" align="center" class="thead" width="4%"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></td>
<td class="alt1" colspan="5">$activeusers</td>
</tr>
</table>
</td></tr>
</table></table>

<br />

<!-- start ts2live -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td colspan="6" class="tcat" $catbgcode>

<phrase 1="$ts2live_output[player]">$vbphrase[ts_active_users]</phrase>
</td>
</tr>

<tr>

<td class="alt2" align="center" class="thead" width="4%"><img src="$stylevar[imgdir_misc]/$vboptions[ts2live_icon]" alt="<phrase 1="$ts2live_output[player]">$vbphrase[ts_active_users]</phrase>" border="0" /></td>

<td class="alt1" colspan="5">
<div class="smallfont">
<div>
<if condition="$vboptions[ts2live_join_link]==1">
<a href="teamspeak://$vboptions[ts2live_server_address]:$vboptions[ts2live_server_port]/?channel=$vboptions[ts2live_join_channel]?password=$vboptions[ts2live_join_password]">$ts2live_output[playerlist]</a>
<else />
$ts2live_output[playerlist]
</if>
</div>
</div>
</td>
</tr>

</table>
</td></tr>
</table></table>
<!-- end ts2live -->
<br />


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>

<td colspan="6" class="tcat" $catbgcode><b><a href="./chat/flashchat.php">Wer Chattet</a></b></td>
</tr>
<tr>
<td class="alt2" align="center" class="thead" width="4%"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></td>
<td class="alt1" colspan="5">$chatters</td>
</tr>
</table>
</td></tr>
</table></table>

<br />





<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<if condition="$show['guest']">
<!-- guest welcome message -->
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
</tr>
<tr>
<td class="alt1" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
</td>
</tr>
<!-- / guest welcome message -->
</if>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>
$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
<if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
<a href="showgroups.php$session[sessionurl_q]" rel="nofollow">$vbphrase[view_forum_leaders]</a></if>
</strong></div></td>
</tr>
</tbody>
</table>
<!-- /main -->

<br />
<br />

<!-- what's going on box -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
</tr>
</thead>
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
<tr>
<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
<div>$activeusers</div>
</div>
</td>
</tr>
</tbody>
[b]<!-- end logged-in users -->
</if>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%">
<div class="smallfont">
<div>
$vbphrase[threads]: $totalthreads,
$vbphrase[posts]: $totalposts,
$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
</if>
</div>
<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
</div>
</td>
</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
$vbphrase[todays_birthdays]
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
<tr>
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->

<!-- icons and login code -->
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
<td>
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
<td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
</tr>
</table>
</td>
<if condition="!$show['guest']">
<!-- member logout -->
<td align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></td>
<!-- end member logout -->
</if>
</tr>
</table>
<!-- / icons and login code -->

$footer
</body>
</html>


As you can see, the end users line is there ( I just added the <b> tags to show you that it's there but it's not in my forumhome template.

Phalynx
05-19-2006, 08:39 AM
Your URL cannot be reached from here, tested with different browsers. Seems to be a DNS Problem.

SkyCatcher
05-19-2006, 06:02 PM
Your URL cannot be reached from here, tested with different browsers. Seems to be a DNS Problem.

>< so sorry, I changed servers and my old domain still hasen't resolved.

http://www.probetreffen.de/forum is the current one :surprised:

CoolHand_79
05-24-2006, 03:00 PM
I have my website being hosted by Godaddy and for some reason they won't let me query the teamspeak. Any ideas on how to get around that?

Currently I set up gll2ts and have it being hosted elsewhere.. so when people want to see who is on ts is opens a new window. I would love to intergrate this into the VB site.

If anyone has any ideas on how to get past godaddy's querie block please let me know.,

Thanks,
:Luke

SkyCatcher
05-27-2006, 10:26 AM
ok got it to work. Also had to add ?nickname=$bbuserinfo[username] to the template to login to TS as the current user.

istvan
06-04-2006, 12:46 PM
is it possible somehow to let people login with their current name they are logged into the forums? think its the think SkyCatcher is talkin about but where to add it :)

SkyCatcher
06-05-2006, 05:02 PM
is it possible somehow to let people login with their current name they are logged into the forums? think its the think SkyCatcher is talkin about but where to add it :)


Open FORUMHOME > forumhome_tslive template

find:

<a href="teamspeak://$vboptions[ts2live_server_address]:$vboptions[ts2live_server_port]/?channel=$vboptions[ts2live_join_channel]?password=$vboptions[ts2live_join_password]">$ts2live_output[playerlist]</a>


Replace with:

<a href="teamspeak://$vboptions[ts2live_server_address]:$vboptions[ts2live_server_port]/?channel=$vboptions[ts2live_join_channel]?password=$vboptions[ts2live_join_password]?nickname=$bbuserinfo[username]">$ts2live_output[playerlist]</a>

iv812
06-06-2006, 10:49 AM
Might want to also add download client links.

edit forumhome_tslive

find
</if>

after add

<br><br>Download TeamSpeak Client: <a href="http://www.goteamspeak.com/index.php?page=downloads&id=1a" target="_blank">windows</a> - <a href="http://www.goteamspeak.com/index.php?page=downloads&id=5a" target="_blank">mac</a> - <a href="http://www.goteamspeak.com/index.php?page=downloads&id=2a" target="_blank">linux</a>

Hope this helps :)

KHALIK
06-11-2006, 12:52 AM
everytime I try and install this hack it's always showing "Server is Offline"


I get this too,

Please can you fix this

IP ADDRESS : 195.20.109.78

TCP/IP = 8907

QUERY = XXXXX

KHALIK
06-11-2006, 01:09 PM
btw - i use a Linux system

L9IAnime
06-11-2006, 08:12 PM
Phalynx

I really want this to work, as it's a great idea. I have downloaded the new zip, and installed as per your instructions. I entered in the values into the template, but dang if this wil show anyone on Teamspeak. I'm beside myself trying to figure out what I could be doing wrong.

Any help, or typical problems that you can think of will be appreciated.

Thanks in advance.

PR


i can almost guarantee that the ports you are trying to access your ts server with are locked by your host... ask them if they can unlock them for you...

Draygonia
06-13-2006, 03:27 PM
One question, it displays, but I dont know how to configure it, is there a place where I can go to configure the ip adress, the port and all the needed information? Thanks

Oreo
06-13-2006, 11:08 PM
Well I'm new at this as well but if you look in your vBulletin Options and scroll to the very bottom you will find TS2 Live 2.0. This should be what you are looking for.

Draygonia
06-14-2006, 01:42 AM
I will try it when I get the time, thank you very much!

WoD
06-30-2006, 09:33 AM
Hey!

I'd like to use this hack in combination with "Members who have visited the forum today" ( https://vborg.vbsupport.ru/showthread.php?t=82769&highlight=users+today ) but with both hacks activated there is only the "Members today" hack visible on the position of the "TS Online Status" hack.
What have I to do, to make both hacks visible? Without the "Members today" hack, "TS Online Status" works fine, but I'd like to use both hacks.


WoD

GoNz00
06-30-2006, 01:13 PM
works fine for me, try uninstalling both mods and starting again ?
start with the one that dont work.

pewp
07-28-2006, 02:27 AM
i am also getting the server is offline message and my 51234 port is wide open. i'm not sure what is going on... can connect by clicking the link (so port 8767 is working), but the queryport doesn't seem to work? i don't know...

http://www.decimators.net/forums/

if anyone can help that would be great...

Oreo
07-28-2006, 11:16 AM
pewp,

From what I see my guess is that you have used your domain name www.decimators.net instead of your server ip for the first config option for this add-on. Looks to be a DNS resolution hick-up. As you can see I entered your data and even logged in to your TS server and everything is working fine when the IP address is used. To prove this I entered your domain in the config and poof "Server Offline".

pewp
07-28-2006, 11:52 AM
pewp,

From what I see my guess is that you have used your domain name www.decimators.net instead of your server ip for the first config option for this add-on. Looks to be a DNS resolution hick-up. As you can see I entered your data and even logged in to your TS server and everything is working fine when the IP address is used. To prove this I entered your domain in the config and poof "Server Offline".

i have it setup properly from what i can tell here is an image of the config...

do you think it might be an issue with my webserver not allowing communication over that port?


EDIT:
i emailed my webhost and got this response:

This port is blocked by your shared IP address. To open this port you would need to purchase a dedicated IP address.

so it looks like i'm purchasing a dedicated IP address...

and now it works...

xlegends
07-29-2006, 02:09 PM
so it looks like i'm purchasing a dedicated IP address...

and now it works...


hahaha way to go bud. it works.

Desiderius
08-05-2006, 12:19 PM
i have nearly the same problem. Sometimes the status show me "No active user" and sometimes he show me "Server offline". I dont understand this, because i made no changes?

can you help me please?

Bourneauau
08-19-2006, 03:00 AM
How can you get it to show the users from your channel only?

We are one channel on a shared TS server, and currently it shows everyone online in that server, despite me defining the channel and password!

blind-eddie
08-19-2006, 12:32 PM
Look at My site, My TS is in plain view on my front page,Most ppl visiting a site seldom scroll to the bottom of any page.And it is joinable via my site.This hack would be great if it displayed like mine does.

RidinHighSpeeds
08-27-2006, 05:15 PM
I assume that the reason mine says the server is currently offline is because of the UDP packets. I have contacted my host and I am just awaiting a response. Hopefully a good one.

I changed the phrase *currently offline* to *currently online* so users know it's online. I sure do hope the UDP packets would be the cause that it's not working properly.

RidinHighSpeeds
08-27-2006, 06:00 PM
The told me that UDP ports are open..

They asked which ports am I using?? Should I tell them 8767??

blind-eddie
08-27-2006, 06:16 PM
Go to my site (http://outerzone.us/index.php) and check out the awesome Team Speak Display hack made by Bigjohnny (http://www.vbhackers.com/forum/showthread.php?t=4884) of vbhackers.com

RidinHighSpeeds
08-27-2006, 08:55 PM
All set! Got it working!

Opening up the UDP and TCP ports made it work.

Luke Brown256
09-07-2006, 08:05 PM
just to confirm will this work on version 3.6?

Phalynx
09-08-2006, 06:22 AM
Yes, this works on 3.6 like a charm :)

SmileMan
09-30-2006, 10:19 PM
Thank you very much

BigJohnny
10-06-2006, 01:17 PM
hey eddie thanks for the link dude :)

i might release that here as well.

EgoProwler
01-25-2007, 09:47 PM
Is it possible to have multiple TS Servers configured with this plugin so that each configured servers shows at the bottom of your forum?

LeatherNeck
03-08-2007, 05:05 PM
Many thanks - works like a dream :)

joergh
05-02-2007, 12:01 AM
Maybe this can help other users. It is only a small addition to add the user nickname to the link to the ts-server. So now the user will have the same name in the channel he will be logged in using the ts2live link. Before this i always got the name "Guest1" f.e.

After this the URL will look like this:

teamspeak://11.111.111.111:8767/?channel=channelname?password=passwordforchannel?n ickname=usernameinvb

Just add the variable

?nickname=$bbuserinfo[username]

in template "forumhome_tslive" to the link to the TS-Server. The line is near the bottom.



href="teamspeak://$vboptions[ts2live_server_address]:$vboptions[ts2live_server_port]/?channel=$vboptions[ts2live_join_channel]?password=$vboptions[ts2live_join_password]?nickname=$bbuserinfo[username]

It seems that you will have problems if the users have special characters in their names (f.e. german characters: J?rg in VB will be changed to Jörg in TS-Server) but i don?t know to prevent this but Jörg is better than Guest1. ;) If anyone has a hint. Tell me. :)

Thanks

Joergh

Taragon
10-11-2007, 06:40 PM
Hi,

First I've installed this on a 3.6.8 board, and it's working like a charm!

I did have to remove the alt="" at line 22 to make sure links will work in <phrase name="ts_active_users"><![CDATA[ at line 155

Line 22:
<td class="alt2"><img src="$stylevar[imgdir_misc]/$vboptions[ts2live_icon]" alt="" border="0" /></td>


Line 155:
<phrase name="ts_active_users"><![CDATA[People on Teamspeak: {1}&nbsp;&nbsp;&nbsp;Both <a href="profile.php?do=editusergroups">members</a> and guests may use <a href="showthread.php?t=3279">DIE16 TS</a>]]></phrase>


Now I've got 2 questions, and hoping it's ok to ask, being my first time here at these forums.

Would it be possible to remove the get_player_flags for everyone, and make all registered (R) bold?

Would it be possible to stop the linking from a person on teamspeak to the channel (cause I've already informed people at line 155, like mentioned above)

I really hope you can assist me with this.

All the best,
Cor a.k.a. Taragon

Stryker412
11-09-2007, 01:45 PM
Mine says offline too and I contacted the provider we get our TS from. They said both 8798 and 51234 are not blocked. Anyone have ideas?

If I click on the "Server is currently offline" link, I can join the server with no problems. It just won't show who's on.

Stryker412
11-11-2007, 01:02 AM
Just wondering could it not be working because I don't have a Server WebPost PostUrl & Server WebPost LinkUrl setup? Just curious because I have tsviewer running on my front page and that works fine and everyone on TS shows up. However, for some reason this script does not.

Stryker412
11-12-2007, 06:31 PM
Do we have to install any of the 1.x version first or can we just install this 2.0?

GoNz00
11-26-2007, 09:16 PM
i just tracked down 2 weeks of my website having a 500 server error to this old mod ???

strage thing is our GSP has not updated to the new release yet..

MDK-Indy
03-13-2008, 11:52 AM
Salü,

how i can display 2 diffrent TS-Server on the same Forum-index?

greeting Indy

Phalynx
03-13-2008, 12:01 PM
Not supported with this version.

blind-eddie
03-30-2008, 05:52 PM
<a href="http://www.tswebviewer.com/" target="_blank">http://www.tswebviewer.com/</a>

I will get you a ad free code...Trying to find it on my pc....many files..

Wobbly Goblin
05-20-2008, 04:45 PM
I've had some problems with people giving our team speak password to non-members. That being the case, how involved would it be to have this mod highlight names that aren't members of my forum?

Thanks,
Nick

Phalynx
05-20-2008, 07:07 PM
Should be not a big thing at all, but this product is not supported anymore. I'm waiting for Teamspeak 3 and will do a new version.

Wobbly Goblin
05-21-2008, 01:16 AM
Ok, maybe you can add a usergroup check in the next version. Might be nice if it sent the admin a PM when someone outside the group logs in too. ;)

Thanks,
Nick

Stryker412
06-18-2008, 05:51 PM
Phalynx, are you making a Ventrilo version?

Phalynx
06-18-2008, 07:35 PM
I assume no.

Antek
08-11-2008, 11:29 PM
Hello,

somebody can tell me how move ts module to another place (like on screenshot)?

http://img239.imageshack.us/img239/70/tsdz8.jpg (http://imageshack.us)

Antek

Phalynx
08-12-2008, 07:29 AM
Hello,

somebody can tell me how move ts module to another place (like on screenshot)?
Antek

You would need to modify the code to do that. Take a look at the very end of the hook forumhome_start named "TSLive 2.0 (get users)".

Nantrox
01-26-2009, 08:32 AM
does this thing work with the new vB 3.8 too?

Taragon
01-26-2009, 12:04 PM
does this thing work with the new vB 3.8 too?
Yes, it works like a charm :)
Your web server does need a dedicated ip.

We've got it running here if you'd like to take a quick peek http://die16-clan.com/forum

HaS?R
01-28-2009, 05:40 PM
Thanks.

sub_ubi
02-03-2009, 12:00 PM
Maybe this can help other users. It is only a small addition to add the user nickname to the link to the ts-server. So now the user will have the same name in the channel he will be logged in using the ts2live link. Before this i always got the name "Guest1" f.e.

After this the URL will look like this:

teamspeak://11.111.111.111:8767/?channel=channelname?password=passwordforchannel?n ickname=usernameinvb

Just add the variable



in template "forumhome_tslive" to the link to the TS-Server. The line is near the bottom.



href="teamspeak://$vboptions[ts2live_server_address]:$vboptions[ts2live_server_port]/?channel=$vboptions[ts2live_join_channel]?password=$vboptions[ts2live_join_password]?nickname=$bbuserinfo[username]

It seems that you will have problems if the users have special characters in their names (f.e. german characters: J?rg in VB will be changed to Jörg in TS-Server) but i don?t know to prevent this but Jörg is better than Guest1. ;) If anyone has a hint. Tell me. :)

Thanks

Joergh

Thank you, both the original dev and you :)

zoomervb
09-30-2009, 10:10 AM
just installed ts2live - works well.

now i wonder if there is a way to prevent unregistered users to see the password for the ts-server mentioned in the url. is it possible to deny the delivery of any hack-code to unregistered, so that they will not see active ts-users also? that would help me a lot.

thanks for any hint in advance

Phalynx
09-30-2009, 05:02 PM
You can create a template condition for this. For example:
<if condition="is_member_of($vbulletin->userinfo, 1)">
...URL...
</if>