vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   TS2Live - TeamSpeak 2.x Online Status (https://vborg.vbsupport.ru/showthread.php?t=99032)

Phalynx 10-21-2005 10:00 PM

TS2Live - TeamSpeak 2.x Online Status
 
This is the vb3.5-version of the TeamSpeak Online Hack. The version for vB3.0.x you can find here.


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

Quote:

Originally Posted by PVTRoger
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

Quote:

Originally Posted by PVTRoger
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

Quote:

Originally Posted by PVTRoger
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

Quote:

Originally Posted by Virtuosofriend
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

Quote:

Originally Posted by bspiller82
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

Quote:

Originally Posted by In$ane
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

Quote:

Originally Posted by Kru
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?


All times are GMT. The time now is 04:54 AM.

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.01253 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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