vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   TeamSpeak Online Hack 1.0.2 (https://vborg.vbsupport.ru/showthread.php?t=80684)

Phalynx 04-27-2005 10:00 PM

TeamSpeak Online Hack 1.0.2
 
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 , 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

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...cement_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

Quote:

Originally Posted by DeviousDEA
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.

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.

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:

Quote:

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

PHP Code:

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

into

PHP Code:

<!-- 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

Quote:

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

Quote:

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
Quote:

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!


All times are GMT. The time now is 04:37 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01278 seconds
  • Memory Usage 1,820KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete