I have added the following lines to my phpinclude template in VB3.0.0:
PHP Code:
ob_start();
require("sidepoll.php");
$sidepoll = ob_get_contents();
ob_end_clean();
I have also got a php file called sidepoll.php in the same dir, which is a modified showthread.php.
If I try and place $sidepoll in the footer template, as I want this to appear on every page, I get a very strange problem... the page appears as if it is only sidepoll.php. None of the rest of the page is displayed, ONLY sidepoll.php.
Any ideas why it might be doing this? It is driving me crazy!