TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 448
  • Total: 448

Teamspeak block!

Started by -Prismatic-, October 14, 2005, 11:20:45 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Zetan

Contact the host and ask them. There really isn't much we can realistically do.

skeletor


-Prismatic-

Actually you can modify php ini values at runtime by using ini_set (http://us.php.net/ini_set)

In the script that's throwing the error place the following at the top directly under the opening tag (<?php)

ini_set('allow_call_time_pass_reference', true);

I'm not sure if that will work if your host is running php in safe mode, however. Give it a try though.

Final60

The download link to the block code files doesnt appear on the first post anymore (unless im blind), anyone mind sharing!
thanks

IchBin

Pay attention to the URL when that stuff happens. :) As it was an old URL, I've now corrected it.

snowripper1106

Hi guys, my host recently switched from PHP4 to PHP5, in doing so my block no longer displays. There's no error or anything just the header with no channels. Can anyone help? What do I need to do?

IchBin

The script is only made to work on TP. If you're version of PHP doesn't work with the script I would consult with the author of the script. You may also want to read through this entire topic to see if someone else has had the same problem.

mianosm

Excellent script. It's sad to see some of the responses in this thread though.

I ran into quite a few problems as I have only just recently started adding my own blocks (first a links block, and now the teamspeak one). Most of my problems were issues with correct syntaxes, and I would have to say that a readme would do a world of good for this block.

My personal advice:
1 - Download the zip folder
2 - Extract the contents into a folder called teamspeak
3 - Upload the entire teamspeak to your smf base directory (the directory that hosts your index.php your Sources Folder, and your Themes Folder
4 - Edit the ts_viewer.php file so that your server information is correct.
5 - Now on your website (via your web-browser), go to the Admin Section, and on the left hand side go to your TinyPortal Admin Block, and select Block Manager
6 - On the headers where it says Left Blocks/Right Blocks/ Center Blocks, you will want to choose where you are going to place your teamspeak block, and use the add feature on the same line as the Left/Right/Center/FrontPage Block headlines
7 - Choose phpblock, and then click on save
8 - Next you will be given a box to input your php. In this box only put in: include ("teamspeak/ts_viewer.php");. This is case sensitive and does not need to be preceded or succeeded with the normal
<?php /*---*/ ?>.
9 - Choose who will be able to see this block on the right hand side of your input box, and finally choose to save the block now.
10 - Go to your home page/front page and view your new working TeamSpeak block. = )

massyboy

Ok, I've got this script to work however on the frontpage, everything is fine but on the forum the images don't appear so you just see text. 

Take a look here if you like: http://www.cowclan.co.uk

Any help would be great

Cheers

Hairy

It doesn't like the way TP 1.0.5 works, when in the forum it's trying to find the images in the folder:
www.yoursite.com/index.php/teamspeak/
instead of
www.yoursite.com/teamspeak/

But on the homepage it looks for the images in:
www.yoursite.com/teamspeak/

Someone here might be able to help off that information, good luck.

This website is proudly hosted on Crocweb Cloud Website Hosting.