View Full Version : A New phpNUKE TS Display Block - Download Here
FIST-Skyjon
07-03-2006, 21:50
EDIT: Sorry all - my teamspeak has been under constant attack since releasing this software so I've edited many of my posts.
The software is still available in this post though.
Hello
I've just finished coding my own TS Display Block for phpNuke - the reasons for doing my own were:
1. I found it incredibly hard to find one that was easy to install (many need SQL databases or webpost etc which I found hard to work out).
2. The blocks I did install did not have many of the features my squad needs.
As this is the first piece of software I've released I would appreciate it if anyone with the copyright know-how could inform me if I've broken any copyright rules so I can remove the software link.
The software is released under the GNU General Public licence and was ported to phpNuke by me with the bulk of the code coming from a webpage based TS Displayer licenced under the same GNU licence - the very impressive Teamspeak Display Preview Release 3 - Copyright (C) 2005 Guido van Biemen (aka MrGuide@NL).
I couldn't find anywhere where he had adapted it for phpNuke and it was by far the best and also the easiest display I'd come across so I decided to give it a try.
Features:
1. No sql database required - easy to install
2. You can have spaces in names
3. Shows channels in correct order
4. Shows player status - channel commander, away, mute
5. Shows player admin status - R, SA, U,
6. sub channels
7. You can join TS from the block.
The TS Block can be downloaded from: Here - The Teamspeak Block (http://www.fistsquad.com/downloads/phpNuke%20-%20Teamspeak%20Block.zip)
I hope it is useful to some of you and again if I have misinterpreted the GNU Public Licence please let me know!
FIST-Skyjon
Server offline
Same here, but it was working a little bit ago.
FIST-Skyjon
08-03-2006, 09:19
Sorry about the offline folks - it is a server hosted in Scotland so they do their maintenance at early hours GMT... Just in time for US Prime Time...
bradgyton
09-03-2006, 07:44
ok problem, when i upload it my phpnuke site goes down and wont come backup till i delete the files
FIST-Skyjon
09-03-2006, 14:00
Edited Due To My Teamspeak Being Attacked
Hi Fist,
I'm wondering if you have any plans on creating a block for Postnuke.
I saw your block at your website, and it looks fabulous. I use Postnuke however, and wondering if your block is compatible with Postnuke.
Thanks.
Danzian
Sorry for the trouble, I did a quick search and I found one for Postnuke.
Here is the link if anybody is interested:
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=22775&highlight=teamspeak
Thanks.
Danzian
FIST-Skyjon
09-03-2006, 20:43
Hey Danzian
I haven't used post-nuke for a while now so I'm not sure but it may be compatible.
It is basically the webpage displayer with a single PHP file telling phpNuke to display it in a block.
If you can find out how to build a basic block for post-Nuke then just get it to display the contents of teamspeak.php.
puremusik
13-03-2006, 20:15
Just wanted to thank you for putting this up here...it appears to be compatible with PHP-Nuke 7.5 as well....in case anyone wanted to use it on that version. Great script!
I have my php-nuke site installed in a folder called "mcr1" I think this is my problem. my site was not installed into the root directory. Can anyone help me out?
Sorry, this isn't a PHP-Nuke forum.
I was just wonding if anyone could help me out. I would be willing to donate for a Team Speak Block for my site. www.motorcityracin.net
FIST-Skyjon
14-03-2006, 00:18
@puremusik - thanks for posting - you're most welcome - glad it was of use!
@mwerth - My squad site is not installed in the root directory either - it won't affect the installation of the TS displayer.
Follow the instructions in the package so for example where it says install to:
YourphpNukeWebsite\blocks\block-Teamspeak.php
You would also add your extra folders where your site is installed to - in your case: motorcityracin.net\mcr1\blocks\block-Teamspeak.php
I hope that was what you were asking for and I'll monitor this Thread if you need any more help.
EDIT - I've taken another look at your website and the TS block you are testing shows that you don't have the correct query port set in the script. Are you able to obtain the correct port from the provider and add that to your Teamspeak.php file: $settings["serverqueryport"] = "???????";
If you're not sure use my TS settings to test your block first - then you'll know if the block is working in the first place (the block is defaulted to display my TS if you download/unzip the software again)
I deleted the team speak block file, and the TSdisplay folder. Then i redownloaded it, and put them in the correct spots in my site. I left all your files alone. And i still get the same thing. Thanks for you time on this issue.
I deleted the team speak block file, and the TSdisplay folder. Then i redownloaded it, and put them in the correct spots in my site. I left all your files alone. And i still get the same thing. Thanks for you time on this issue.Have you tried uploading it in ASCII mode?
I went here to find the query port. http://tsviewer.com/index.php?page=webpost and i got this "The server did not announce itself so far yet. Click the button at the right side to check the status again." And my team speak is up and running right now. You can try if you like. Our server IP is 67.19.53.229 port 8784 .
I havent tried it in ASCII mode? But i will asap.
Ok, i did a server scan, with the query port at 51234 the default. And it came right up.
http://tsviewer.com/index.php?page=ts_viewer_demand , not sure why my website still wont let it come up.
FIST-Skyjon
14-03-2006, 13:00
Edited due to my teamspeak being attacked
Remember that your webhost must haev fsockopen enabled.
sorry guys, i was in the hospital for acouple of days. I went to download that latest link, but it dont come up right. I sent an email in to my web host provider for fsockopen enabled.
FIST-Skyjon
18-03-2006, 23:15
Edited due to my teamspeak being attacked
Just a stab in the dark, but have you checked the permissions of the files after unzipping them on your webserver?
I ftp'ed the zip to my webserver and unzipped them there and the permissions required altering from rw------- to rw-r--r-- before the block would display content.
BTW - The displayer works fine on php-nuke 7.9 patch 3.2 too :)
Can I view only 1 (one needed) channel on TS server (many channels).
Need block for phpNuke to see . All blocks viewed all channels on server, but need one.
FIST-Skyjon
21-03-2006, 20:44
You want a block that displays just one channel from your TS instead of the whole server?
Which channel are you after - is it the lobby channel or a different channel?
It might be possible to hack the block code but I'm afraid I won't have time to look at that for a few weeks now. Someone else might be able to help.
At the moment I'm thinking of the block calling the entire server as usual but having a routine that only displays the channel with a certain name.
There may be a better way to do it though.
THX FIST !
Yes i want a block that displays just one channel. Or other channel "on select".
I'm find script on http://tsdisplay.sourceforge.net/ , but this script non module\block for phpnuke.
FIST-Skyjon
23-03-2006, 19:18
THX FIST !
Yes i want a block that displays just one channel. Or other channel "on select".
I'm find script on http://tsdisplay.sourceforge.net/ , but this script non module\block for phpnuke.
This looks like a release of the script that I based most of my block around - does this one display only one channel?
ebnewyork
28-03-2006, 20:39
is it just me or does this block say that everyone's server is offline ?
Any fixes ? I have not gotten this to work for PHPNUKE or a regular site with either download and I have tried several different TS addresses.
Any help is appreciated of course. ;)
EDITED
-----------------------
Re-checked things and still no luck....I continually receive OFFLINE status with all options and this is with the default server I.P. for FIST.
Is there Java script missing or ????????
Tsuchida
28-03-2006, 22:32
TS Block:
http://www.UberTekgfx.com
FIST-Skyjon
29-03-2006, 01:20
As all servers are displaying offline it's unlikely to be a problem at the Teamspeak end.
My only suggestion is that your webserver has permissions set incorrectly for the files uploaded.
Sorry I can't offer any more than that - it is working fine on my nuke site so I can't mess with it to see what the problem could be.
Loominal
30-03-2006, 23:42
i get server offline also with your and my TS settings in there.. i even went back into the FTP and changed the restrictions to rw-r-r
still no worky.. anyone get a fix yet?
Tells me on both your TS and my TS that i cannot connect to Query Port
ebnewyork
31-03-2006, 02:00
I've changed the permissions and I tried uploading in ascii, binary and auto. I have fsock open and I have check the query port of my TS server several times. I have tried this at 2 different hosting companies and I have tried all of this with the default I.P. for FIST.
Is there some mundaine detail being left out ? Please review your setup details.
FIST-Skyjon
14-04-2006, 16:13
Ever since putting this software up my TS server has been under almost constant attack.
It's got to the stage where my TS company are involving the FBI.
I've therefore removed all reference to my own TS (a shame as I know it's been used by some to locate problems with your own installs).
If anyone requires help please post here and I will try to suggest any fixes. A further step taken by myself and my squad commanders is to remove from our website anyone who joined seeking help with this - apologies for that too - please reply here if you require help - I will continue to monitor this topic
Thanks for your time.
Skyjon
FIST-Skyjon
20-05-2006, 05:22
From a request I've added an autorefresh option.
Download the teamspeak.php file from http://www.fistsquad.com/downloads/Teamspeak.zip and overwrite the current fiile on your server.
I'm waiting for confirmation that it's working ok so if anyone else could test it and let me know! I'm not using phpnuke anymore and although I loath the idea of releasing code without even testing it fully it is easily fixable should it not work - just overwrite it with your original Teamspeak.php :D
Works great and thank you..
I was wondering if there is a simple way to load this info into an iframe..
I put this code in the Teamspeak.php and it loads but not as smooth as i would like
OpenTable();
echo "<iframe SRC=\"".$teamspeakDisplay->displayTeamspeakEx($settings)."\" width='$BlockWidth' height='$BlockHeight' framespacing=0 frameborder=no border=0 scrolling=no></iframe>";
CloseTable();
noobicide
31-07-2006, 15:30
THANKGOD! There is a Howtoinstall file!
i use this block for a phpnuke website and host in my pc the server of teamspeak, the block work fine bud now not work and say all times the server is offline, could not connect to query port.
I use the 51234 and whit the TSviewer all times conect to server and see online, anyone know how to fix this problem?
test from http://ts2test.planetteamspeak.com
The connection test finished without errors!
UDP test details
The UDP connection test could establish a connection to your TeamSpeak 2 server.
TCP test details
The TCP connection test could establish a connection to your TeamSpeak 2 server.
HTTP test details
The HTTP connection test could establish a connection to your TeamSpeak 2 server.
Well, somebody asked me for my TSDisplay file and I couldn't find it so I came here. Unfortunately, the link up there doesn't work anymore.
I've found the file, if anybody wants the TSDisplay block, you can get it in my downloads section under the PHPNuke mods. I have it running as a left-side block if anybody wants to check it out.
www.borgclan.com
I've updated the permissions, the TSDisplay download is working.
Did anyone find a nice sollution to wrap long (sub)channel names or usernames ? On my site the Block grows more and more in width and shrinks the top middle block.
Thanks
Hagie
GyroTwister
04-11-2006, 14:34
I did not have a problem with long (sub)channel names, however I found long player names to be annoying. So I made a few changes to the TSDisplay.php file:
<-----[Find]---------------------->
$playerInfo["displayname"] = $playerInfo["displayname"] . " (" . $playerstatus . ")" . $playerattributes;
<-----[REPLACE WITH]-------------->
$playerDisp = $playerInfo["playername"];
if (strlen($playerDisp) > 14) {
$playerDisp = substr($playerDisp, 0,14)."...";
}
$playerInfo["displayname"] = $playerDisp . " (" . $playerstatus . ")" . $playerattributes;
In this case I trim a player name to be max. 14 characters long and replace anything else by ...
For the long (sub) channel names change the following in the TSDisplay.php file:
<-----[Find]---------------------->
$channelInfo["displayname"] = $channelInfo["displayname"] . " (" . $channelstatus . ")";
<-----[REPLACE WITH]-------------->
$channelDisp = $channelInfo["channelname"];
if (strlen($channelDisp) > 14) {
$playerDisp = substr($playerDisp, 0,14)."...";
}
$channelInfo["displayname"] = $channelDisp . " (" . $channelstatus . ")";
Does this work with PHPnuke platinum?:confused:
GyroTwister
14-11-2006, 17:43
I don't know wether the block works with PHP Nuke platinum. I am using PHP Nuke 7.9 and it works fine for me. Also the modifications I have set-up are working fine with my version of PHP Nuke.
Hi All Just One Thing Can Any One Send The Files To Me Or Fix The Link I Would Like To Tyre The Block Out But Can Not Beacuse It Whont Let You Download It Thax My Email Is
sub016*********** :confused: :confused:
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.