![]() |
TS3 Viewer Coding Issues PHP
I'm trying to add this viewer to the forum block
http://tsstatus.sebastien.me/ <?php require_once("/var/www/tsstatus/tsstatus.php"); $tsstatus = new TSStatus("xxxxxx.com", 10011, 1); $tsstatus->imagePath = "/tsstatus/img/"; $tsstatus->showNicknameBox = true; $tsstatus->showPasswordBox = false; $tsstatus->decodeUTF8 = false; $tsstatus->timeout = 2; echo $tsstatus->render(); ?> So I take out the <?php and the ?> but I end up getting this error: Fatal error: Cannot redeclare class TSStatus in /var/www/includes/ts3status.php on line 11 however, I'm not sure what classes it's redeclaring since it shouldn't be? Thanks |
Nothing?
|
All times are GMT. The time now is 01:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|