The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Non-SQL Query TeamSpeak Module
Using the attached scripts (TSInfo.php and block-TeamSpeak.php), I have a TeamSpeak Block for PHP-Nuke that lists the Channels and any players within them (see picture below). You can click on the Channel name and it will automatically launch TeamSpeak and put you in that specific Channel. You can click on the Player Name and it will show you their Profile.
I would like to have a similar Left-Side Module for vBadvanced CMPS but not require any SQL Queries by eliminating the User Profile feature. All I want is the Channel Name with the ability to click and login directly as described above and list the Player Names in each Channel only. This is what I have so far: Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%"> <tr> <td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] TeamSpeak</b></span></td> </tr> <tr> <td class="$getbgrow"><span class="smallfont"> <if condition="!$bbuserinfo['userid']"> <span class="smallfont">Registered Members can see who's on TeamSpeak here.<br /><br /><phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></span> <else /> <if condition="$bbuserinfo[field6] !=''"> <img src="/forums/images/misc/ts/ts_channel.gif" alt="" align="absmiddle"> <a href="teamspeak://0.0.0.0:8767/nickname=$bbuserinfo[username]?loginname=$bbuserinfo[username]?password=$bbuserinfo[field6]?channel=Chat Room">Channel Name</a> <br />   <img src="/forums/images/misc/ts/ts_player.gif" alt="" align="absmiddle"> Player Name <br /><br /><br /> <center><a href="/forums/faq.php?faq=ts_faq"><img src="/forums/images/misc/ts/ts_setup.gif" border="0" alt="Click for Setup Instructions"></a></center> <else /> <A HREF="$vboptions[bburl]/profile.php?do=editprofile">Add Password</A> to view status and Login to TeamSpeak directly from here. </if> </if> </span> </td> </tr> </table> <br/> Any help would be greatly appreciated. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|