The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
TS3 Viewer
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 |
#2
|
|||
|
|||
Nobody has an idea?
|
#3
|
||||
|
||||
What do you mean by forum block? You can't put PHP in templates...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|