PDA

View Full Version : TeamSpeak Online Hack 1.0.2


Phalynx
04-27-2005, 10:00 PM
TeamSpeak Online Hack 1.0.2

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 (https://vborg.vbsupport.ru/showthread.php?t=67969), it works with cronjobs.
This Hack works on vBulletin on Windows (tested) and *nix (untested). It can query *nix and Windows-based TeamSpeak Servers.

Installtime: 5 minutes
Difficulty: easy (4 new phrases, 1 new template, 1 template edit, 2 file edit)
Demo: http://www.e2160.com (scroll down)

Please click INSTALL! :)

vulture
04-28-2005, 09:41 AM
um, i'll click install for in preperation

ChaoticMageDDC
04-28-2005, 12:34 PM
Working perfect thanks for the new release, it appears to have fixed some minor issues i was having before.

mfowler70
04-28-2005, 04:14 PM
Installed and working nicely.

Linky (http://forums.clan-tlb.com/forum.php?)

ChaoticMageDDC
04-28-2005, 07:23 PM
I have one question. For some reason it's picking up a diffrent location for the gif icon.

it's using http://www.goaguild.com/forum/images/statusicon/announcement_new.gif

Instead of http://www.goaguild.com/forum/images/misc/teamspeak.gif

I can't find where to change it. Can you please tell me how to make that link change :)

Thanks!

DeviousDEA
05-01-2005, 10:34 PM
Doesn't work for me so far on a Linux server.
It says it's offline but it's up and ts2info.php is filled in good.
I had 1.0b working but it messed up the whole server when TS2 was down so I had to remove it but now this one doesn't work :ermm:

P.Jackson
05-01-2005, 11:43 PM
what do you name the phrase in global?

P.Jackson
05-01-2005, 11:50 PM
doh nevermind

DeviousDEA
05-04-2005, 09:34 AM
Gues it's cause of the Linux server then, I'll search for an other script then...

Phalynx
05-04-2005, 09:38 AM
Doesn't work for me so far on a Linux server.
It says it's offline but it's up and ts2info.php is filled in good.
I had 1.0b working but it messed up the whole server when TS2 was down so I had to remove it but now this one doesn't work :ermm:
I have this running on Linux - without errors.

what do you name the phrase in global?
Read the included install manual "ts2online_hack_install_102.txt" at point 4.

P.Jackson
05-04-2005, 10:21 AM
yea relised so i replid #8 ;)

SlipNslide281
05-27-2005, 03:01 PM
noob question. I followed everything to a "T" and am stuck on step 5.

it says "Modify the Template FORUMHOME:" Where do I find this?

Marco van Herwaarden
05-28-2005, 08:04 AM
AdminCP->Styles & Templates->Click on "<<>>" behind the style you want to edit.

SuperserverUK
06-08-2005, 10:19 AM
I have installed this hack along with a few others. All of them work fine except for this one. I double checked it then asked someone to check it again.

All has been done according to the readme but nothing.

1 bit i thought might be it was the..

<!-- start TeamSpeak Online Hack by Phalynx -->
$ts_online
<!-- end TeamSpeak Online Hack by Phalynx -->

$ts_online (is not mentioned and where else)

Phalynx
06-08-2005, 10:35 AM
$ts_online is defined in the ts2home.php.

ts2home.php is beeing called in the index.php/forum.php:

require("ts2home.php");

Maybe you missed the entry?

SuperserverUK
06-08-2005, 10:42 AM
yer found ts_online after..

didnt miss it:

3. Still in index.php
------------------------------------------------
find:
else
{
$show['upcomingevents'] = false;
}

add under:

// ############################### start TeamSpeak Online Hack by Phalynx
require("ts2home.php");
// ############################### end TeamSpeak Online Hack by Phalynx

is there, any other ideas m8?

SuperserverUK
06-08-2005, 10:44 AM
Double checked again and all is there as per instrctions but nothing shows at all.

Phalynx
06-08-2005, 10:44 AM
Does it not show up? Errors? You've changed the right template/design?

SuperserverUK
06-08-2005, 10:49 AM
Nothing at all shows up, no errors. The template is a color / image change from the default style. Only one style there.

Phalynx
06-08-2005, 10:53 AM
Change

<!-- start TeamSpeak Online Hack by Phalynx -->
$ts_online
<!-- end TeamSpeak Online Hack by Phalynx -->

into

<!-- start TeamSpeak Online Hack by Phalynx -->
$ts_online
--CHANGES HAS BEEN DONE--
<!-- end TeamSpeak Online Hack by Phalynx -->

With this, you can see if the Text "--CHANGES HAS BEEN DONE--" is appearing. If it's not, then something is wrong with it.

Check also if the new template "ts_loggedin" has been created.

SuperserverUK
06-08-2005, 10:57 AM
The "--CHANGES HAS BEEN DONE-- " shows up in the correct place.

ts_loggedin has been created, its listed and previews ok in style manager.

The TS server is ok as it queries from a script on the main website (not fourms)

Phalynx
06-08-2005, 10:59 AM
Then I have no idea, sorry.

SuperserverUK
06-08-2005, 11:02 AM
fair enough.. ill remove and not click install :(

Thanks for trying though.

SuperserverUK
06-08-2005, 11:32 AM
acutally no ill click install for the help.. I will get this working :)

Thanks again.

jugo
06-08-2005, 12:21 PM
Not sure, but check this for me:

Is your forum in a subforum?

Have you checked you paths to make sure the includes and everything are calling the files from the right locations?

SlipNslide281
06-08-2005, 02:46 PM
Thank you MarcoH64. I got it pretty much working but the only thing I have wrong is when it says:Create the following phrases in GLOBAL:

Where do I make the phrases? Global.php? or what?

Here is a link to my forums where you can see it working but one thing is missing.
www.sonaf.com/forums

sambacb
06-13-2005, 11:35 PM
4.
------------------------------------------------
Create the following phrases in GLOBAL:
ts_active_users=Active Users in TeamSpeak
ts_join=You will need the <a href="ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_client_rc2_2032.exe">TeamSpeak Client</a> to join the Server. Click <a href="teamspeak://[SERVER]:[PORT]/?channel=[CHANNEL]?password=[PASSWORD]">here to join the Server now</a>.
ts_nobody_online=Nobody is online
ts_offline=Server is offline



hi,
We think this step isn't clean for our GLOBAL phrases couse we have a string "varname" and the "text".
I can't understand what I have to insert in this textarea.
I hope you understand my problem

regards

http://www.counterstrike.it/public/community/index.php?

dark dragun
06-14-2005, 05:47 AM
In admin control panel click prase manager, then create the following phrases in GLOBAL:

varname: ts_active_users
text: Active Users in TeamSpeak

varname: ts_join
text: You will need the <a href="ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_client_rc2_2032.exe">TeamSpeak Client</a> to join the Server. Click <a href="teamspeak://[SERVER]:[PORT]/?channel=[CHANNEL]?password=[PASSWORD]">here to join the Server now</a>.

varname: ts_nobody_online
text: Nobody is online

varname: ts_offline
text: Server is offline

Mith
06-17-2005, 11:50 AM
Will this be able to be converted to an plug-in for Vb 3.5 ?

Thankyou please

ApatheticallyMe
06-21-2005, 07:06 PM
OK, 2 noob questions

1. Does the TS server need to reside on the same server as vb?

2. How do I find the tcp & query port number information to enter in the config?

Thanks!

sambacb
06-21-2005, 10:27 PM
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in XXXXXXXX\ts2info.php on line 74

74= @$connection = fsockopen ("$server_ip", $server_query, &$errno, &$errstr, 1);

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of fsockopen(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in XXXXXXXX\ts2info.php on line 144

174= @$connection = fsockopen ("$server_ip", $server_query, &$errno, &$errstr, 1);

my config example
// START OF CONFIG -------------------------------

var $serverAddress = "62.149.195.204"; // Server IP
var $serverQueryPort = 51234; // TCP Port
var $serverUDPPort = 8700; // UDP Port
var $serverPasswort = ""; // Serverpasswort - not required

// END OF CONFIG ---------------------------------

jbell
06-28-2005, 04:39 PM
Im sorry I feel dumb for asking but where in GLOBAL do I add

ts_active_users=Active Users in TeamSpeak
ts_join=You will need the <a href="<A href="ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_client_rc2_2032.exe">TeamSpeak">ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_client_rc2_2032.exe">TeamSpeak Client</a> to join the Server. Click <a href="teamspeak://[SERVER]:[PORT]/?channel=[CHANNEL]?password=[PASSWORD]">here to join the Server now</a>.
ts_nobody_online=Nobody is online
ts_offline=Server is offline

jbell
06-28-2005, 06:18 PM
yes I am dumb but not completely, I found the phrase manager and got it all sorted... never had to use that service before.

and now I know, and knowign is half the battle...

FusionHosting
07-04-2005, 12:39 PM
I've tried adding the mod and it almost works.

The hyperlinks on the title, user list, and the join the server now don't appear to be populated with the server IP, pass, channel.

It just shows up as: teamspeak://[SERVER]:[PORT]/?channel=[CHANNEL]?password=[PASSWORD]

Any know how to fix this, or if it's possible i missed a change?

Phalynx
07-04-2005, 12:43 PM
Replace the content in brackets with the appropriate content, it doesn't replace it automatically.

FusionHosting
07-04-2005, 12:49 PM
Ah ok, thanks.

Any reason why those weren't made into php constants or was that not possible with the way vB3 handles the mod or for performance reasons?

shadowknight
07-04-2005, 11:39 PM
Quote:
Originally Posted by P.Jackson
what do you name the phrase in global?

Read the included install manual "ts2online_hack_install_102.txt" at point 4.

Does that mean global.php if so where do u add the following:
ts_active_users=Active Users in TeamSpeak
ts_join=You will need the <a href="ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/ts2_client_rc2_2032.exe">TeamSpeak Client</a> to join the Server. Click <a href="teamspeak://[SERVER]:[PORT]/?channel=[CHANNEL]?password=[PASSWORD]">here to join the Server now</a>.
ts_nobody_online=Nobody is online
ts_offline=Server is offline

shadowknight
07-05-2005, 12:12 AM
sorted now. sorry.

AuronTSR
07-25-2005, 06:39 AM
Quick question. When replacing the data with in the brackets, you do leave the brackets in place? Or replace the brackets as well? Thx in advance :)

Creed
08-30-2005, 09:10 PM
Any plans to port this to 3.5? I would really like this installed on my guild forum!

Phalynx
08-30-2005, 09:58 PM
Any plans to port this to 3.5? I would really like this installed on my guild forum!

Sure. As soon as 3.5 is out, I'll migrate my forum and do also the hack. I'm no friend of 3.5 Beta/RC, so I'm waiting for the final version.

markantonie
08-31-2005, 05:26 AM
Still saying teamspeak server is offline, but I followed all instructions carefully.

Virtuosofriend
09-15-2005, 02:51 PM
same problem here,sorry but i unistalled it.

Darkmeteor
10-02-2005, 06:35 PM
works like a charm on my vb 3.5.0, thanks !

FusionHosting
10-22-2005, 02:41 PM
Any ideas on 3.5? I recently upgraded my forum from 3.09 which had this hack to 3.5 final, but had cleared out most of the custom changes.

I can't see any option to add the ts_loggedin template back in.

Phalynx
10-22-2005, 05:05 PM
The version for vB3.5.x ist out: https://vborg.vbsupport.ru/showthread.php?t=99032

FusionHosting
10-23-2005, 08:55 AM
I had to re-add my old 3.0.9 phrases for this hack, but after tweaking it, it did work again.

Elfo King
11-01-2005, 08:58 AM
Hi all....i have 3 server of TS and i want to display all user on all 3 server for single server;
example:
server 1 : 17 user -"nameofusers"
server 2: 20 user -"nameofusers"
server 3: 35 user -"nameofusers"


Are possible that ?

Bungie
12-31-2005, 06:31 PM
2. How do I find the tcp & query port number information to enter in the config?

Thanks!
I'd also like to know where to find this info. I've left TCP the as default and changed UDP to the actual server port but it's not working yet.

Bungie
01-06-2006, 04:36 PM
Anyone willing to help me get this working?

Karsh
01-11-2006, 07:42 PM
I cannot get it to show whos online. sure im putting the ip in right :( HELP

PurPulHaZe
01-15-2006, 02:32 PM
will this hack work with version 3.5.x??

EDIT: nm i found it sorry...

Bungie
01-23-2006, 10:38 PM
Bump...

I can't believe that NOONE is able to help? :tired:

Bungie
01-31-2006, 12:00 AM
Bump!

:banana: :banana: :banana: :banana: :banana:

Phalynx
03-22-2006, 02:40 PM
Did you solved your problem?

inteller2k7
02-18-2008, 04:53 PM
look am lost what does this hack do ?