Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
TS2Live - TeamSpeak 2.x Online Status Details »»
TS2Live - TeamSpeak 2.x Online Status
Version: 2.0, by Phalynx Phalynx is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 10-21-2005 Last Update: 03-21-2006 Installs: 177
Uses Plugins Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 05-18-2006, 04:05 PM
Lover1 Lover1 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #83  
Old 05-18-2006, 06:09 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
all setting are righ but still no worky
Looks like it is now running. What was the error?
Please click INSTALL.

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

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

Quote:
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?
Reply With Quote
  #84  
Old 05-18-2006, 06:34 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Code:
$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[bbtitle]">$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>
<!-- 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.
Reply With Quote
  #85  
Old 05-19-2006, 08:39 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your URL cannot be reached from here, tested with different browsers. Seems to be a DNS Problem.
Reply With Quote
  #86  
Old 05-19-2006, 06:02 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx
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:
Reply With Quote
  #87  
Old 05-24-2006, 03:00 PM
CoolHand_79 CoolHand_79 is offline
 
Join Date: May 2006
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #88  
Old 05-27-2006, 10:26 AM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok got it to work. Also had to add ?nickname=$bbuserinfo[username] to the template to login to TS as the current user.
Reply With Quote
  #89  
Old 06-04-2006, 12:46 PM
istvan istvan is offline
 
Join Date: May 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #90  
Old 06-05-2006, 05:02 PM
SkyCatcher's Avatar
SkyCatcher SkyCatcher is offline
 
Join Date: Feb 2003
Location: Germany
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by istvan
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:
Code:
<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:
Code:
<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>
Reply With Quote
  #91  
Old 06-06-2006, 10:49 AM
iv812 iv812 is offline
 
Join Date: Nov 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Might want to also add download client links.

edit forumhome_tslive

find
Code:
</if>
after add
Code:
<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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:12 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.05872 seconds
  • Memory Usage 2,344KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete