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.

nevermore

#150
Thanks !! I downloaded the latest TS viewer. That took care of the errors I was getting. Remind me again on the ports ... 51234 is the query port. Yes? Is that a UDP or TCP? I had this working a few weeks ago but lost that forum. Nothing changed in the firewall that I know of but I still show the TS offline.  >:(

I did recently switch hosts. Think that has anything to with it?

IchBin

They could be blockiing the port themeselves... so that would be yes!

MentalMuscle

I know the default port 8767 is UDP.  Re-transmits of VoIP traffic is a bad thing.

nevermore

I just found out it is the host: www.bluehost.com. The do shared IPs for thier domains. That is normally not an issue and is very transparent to the end user. However, anytime something like this needs to be done it becomes an issue. I had to purchase a dedicated IP address so that I could have port control. The cost is acceptable and the static IP address works for up to 6 domains on that account.

Hopefully this info will anyone who might run into this problem inthe future.

feral

for those interested in an easyer auto refresh script this is the easyest thing to add to your teamspeak block.

open ts_viewer.php in your favorite editor and look for ?> at the botom of the page and right above it paste in this code


if (isset($_GET['autorefresh'])) {
$autorefresh = $_GET['autorefresh'];
} else {
$autorefresh = 0;
}
if ($autorefresh == 1) {
echo(" <meta http-equiv=\"refresh\" content=\"60; URL=" . $_SERVER["PHP_SELF"] . "?autorefresh=1\">\n");
}


echo("<br>\n");
if ($autorefresh == 0) {
echo("Autorefresh: Off (<a href=\"" . $_SERVER["PHP_SELF"] . "?autorefresh=1\">Turn on</a>)<br>\n");
} else if ($autorefresh == 1) {
echo("Autorefresh: On (<a href=\"" . $_SERVER["PHP_SELF"] . "?autorefresh=0\">Turn off</a>)<br>\n");
}


you can also set the time it takes between each refresh by finding this part of the code

content=\"60;

and change the 60 to what ever you want it.

nevermore

That's great! What would I need to do to make the font that shows up for the 'autorefresh' toggle a bit smaller?

rjackson

can some one make a walkthrough for adding TS to my site? seems i cant get it right :(

thanks

nevermore

What do you mean by 'not getting it right'?

feral

#158
nevermore, that is a good question, the only thing i can think of is add a class to it that way you can set the size. i didn't write it, it just a generic controlable refresh script that can be use for anything.

the problem i'm having is that when i turn it on it automaticly takes me back to the my home page. if someone more experienced with php could look at it and see if they can firure it out i would be much ablijed.

nvm, for now i just put it into an html block and put it into an iframe.

core

above refresh solution is not a wise thing to use, It will refresh the whole forum, or page....

idea: link to popup or use iframe


This website is proudly hosted on Crocweb Cloud Website Hosting.