iceman77 19 Posted July 29, 2008 Hi all iam done making our GWL webpage all axept for one thing..our TS viewer...I need someone to go into my ACP and install ts viewer and get it to work..i dont have any money to give but would be much obliged to have someone help us with this..if you think you can help please give me a PM and ill get you access to the Admin Control Panel.. Regards, Iceman Share this post Link to post Share on other sites
kmossco 9 Posted July 29, 2008 I don't really know much of the PHPBB3.0 stuff as I use SMF forums. But in order to put TSViewer I believe you have to install it in a folder in your root folder of the forum, then, somewhere in the page, maybe in a block or module call the script as said in the readme. Maybe someone more competent can help you out Share this post Link to post Share on other sites
iceman77 19 Posted July 30, 2008 heres all the code iam having some trouble with this..Ive followed all the steps above. here's my main_menu.html <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><!-- $Id: main_menu.html,v 1.1 2008/02/09 08:18:16 angelside Exp $ //--> <div class="panel"> <div class="inner"> <span class="corners-top"><span></span></span> <h3>{L_M_MENU}</h3> <div id="navigation"> <strong>{L_M_CONTENT}</strong> <ul>                     <li><a href="{U_INDEX}">{L_FORUMS}</a></li> <li><a href="{U_SEARCH}">{L_SEARCH}</a></li> <!-- IF not S_USER_LOGGED_IN --> <li><a href="{U_REGISTER}">{L_REGISTER}</a></li> <!-- ENDIF --> <li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li> <li><a href="{U_TEAM}">{L_THE_TEAM}</a></li> <!-- IF U_MCP --> <li><a href="{U_MCP}">{L_MCP}</a></li> <!-- ENDIF --> <!-- IF U_ACP --> <li><a href="{U_ACP}">{L_M_ACP}</a></li> <!-- ENDIF --> </ul> <br /> <strong>{L_M_HELP}</strong> <ul> <li><a href="{U_FAQ}">{L_FAQ}</a></li> <li><a href="faq.php?mode=bbcode">{L_M_BBCODE}</a></li> <li><a href="ucp.php?mode=terms">{L_M_TERMS}</a></li> <li><a href="ucp.php?mode=privacy">{L_M_PRV}</a></li> </ul> </div> <span class="corners-bottom"><span></span></span> </div> </div> <div class="panel">  <div class="inner">    <span class="corners-top"><span></span></span>     <h3>TeamSpeak</h3>     <div id="navigation">     pw=your PW<br />     If off line, click refresh on       <ul> <iframe src="http://www.globalwarleague.org/ts/demo.php" allowtransparency="true" background-color="transparent" width="175" height="350" frameborder="0" scrolling="no"></iframe> </ul>     </div>    <span class="corners-bottom"><span></span></span>  </div> </div> <br style="clear:both" /> Heres my demo.php: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Teamspeak Display Demo</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="demo.css" rel="stylesheet" type="text/css"> <link href="teamspeakdisplay/teamspeakdisplay.css" rel="stylesheet" type="text/css"> <?php if (isset($_GET['autorefresh'])) { $autorefresh = $_GET['autorefresh']; } else { $autorefresh = 0; } if ($autorefresh == 1) { echo(" <meta http-equiv=\"refresh\" content=\"10; URL=" . $_SERVER["PHP_SELF"] . "?autorefresh=1\">\n"); } ?> </head> <body> <?php // The code between the 2 lines below turns on PHPs error handlers. // Uncomment it for debugging purposes, but leave commented in live // environments. Having your script running in a live environment with the // error handlers turned on, decreases your sites security as a warning may // reveal information used to exploit security holes in your site. //================== BEGIN OF ERROR REPORTING CODE ==================== //echo("<span style=\"color: #dd0000; font-weight: bold\">Error reporting "); //echo("is currently on. Turn it off in live environments !</span><br><br>\n"); //error_reporting(E_ALL); //ini_set("display_errors", "1"); //ini_set("display_startup_errors", "1"); //ini_set("ignore_repeated_errors", "0"); //ini_set("ignore_repeated_source", "0"); //ini_set("report_memleaks", "1"); //ini_set("track_errors", "1"); //ini_set("html_errors", "1"); //ini_set("warn_plus_overloading", "1"); //================== END OF ERROR REPORTING CODE ====================== // Load the Teamspeak Display: require("teamspeakdisplay/teamspeakdisplay.php"); // Get the default settings $settings = $teamspeakDisplay->getDefaultSettings(); //================== BEGIN OF CONFIGURATION CODE ====================== // Set the teamspeak server IP or Hostname below (DO NOT INCLUDE THE // PORT NUMBER): $settings["serveraddress"] = "speak2.sealz.com"; // If your you use another port than 8767 to connect to your teamspeak // server using a teamspeak client, then uncomment the line below and // set the correct teamspeak port: //$settings["serverudpport"] = 8767; // If your teamspeak server uses another query port than 51234, then // uncomment the line below and set the teamspeak query port of your // server (look in the server.ini of your teamspeak server for this // portnumber): $settings["serverqueryport"] = 51234; // If you want to limit the display to only one channel including it's // players and subchannels, uncomment the following line and set the // exact name of the channel. This feature is case-sensitive! //$settings["limitchannel"] = ""; // If your teamspeak server uses another set of forbidden nickname // characters than "()[]{}" (look in your server.ini for this setting), // then uncomment the following line and set the correct set of // forbidden nickname characters: //$settings["forbiddennicknamechars"] = "()[]{}"; //================== END OF CONFIGURATION CODE ======================== // Is the script improperly configured? if ($settings["serveraddress"] == "") { die("You need to configure this script as described inside the CONFIGURATION CODE block in " . $_SERVER["PHP_SELF"] . "<br>\n"); } // Display the Teamspeak server $teamspeakDisplay->displayTeamspeakEx($settings); // Display autorefresh status and control link: 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"); } ?> </body> </html> this is what it displays on my homepage: Iam not sure whats going on...the demo.php iam sure all the information is correct...the port for our TS is 8767 so the udp port line is commented...the queory port is correct...any help here would be appreciated.. Regards,  GWL Share this post Link to post Share on other sites