SMF version 1.1.6
Theme Grunge
SimplePortal version 2.0.4
Forum link:
http://veselaekipa.netIssue:
I'm trying to set a block that will display team speak server status with channels and players, so I decided to go with PHP block as it is most convenient way since it is a PHP script
. Anyway I've first tried to input whole PHP script in the block contents, but when done like that it is just producing parse errors since there are html parts at the begining of the mentioned PHP script.
So than I tried just to include the script tsdisplay.php which is the one that I need parsed, it worked, but with an confusing issue, it does not include any of the images or .css files that are called by that script even though when tsdisplay.php is directly opened it works like a charm:
direct link to working thing:
http://veselaekipa.net/tsdisplay/tsdisplay.phpYou can check the not working properly block at:
http://veselaekipa.net its the left block after who's online
Here are the contents of that PHP block:
include("/home/vekipa/public_html/tsdisplay/tsdisplay.php");
So I'm really confused why it doesn't pull images and .css files at all.
Any ideas?
If anything else is needed like for example tsdisplay code I'll be happy to pack it and attach it.