![]() |
Include file in footer template
Hi,
I would like to include a php file in the footer template and I followed this guide http://www.vbulletin.com/forum/showt...P-or-HTML-File but that doesn't seem to work. Has this changed in VB4? Or am I doing something incorrectly? On the template I have '<div>$includedphp</div>' and on my plugin that is active I have Code: ob_start(); include('sitestats.php'); $includedphp = ob_get_contents(); ob_end_clean(); If anyone can help it would be much appreciated Thanks, Al |
Did you ever resolve this?
I am having the same issue and it doesn't appear to work in version 4.0. Can anyone shed some light on this? I created a global_start plugin with this: ob_start(); include('rscHeader.php'); $includedphp = ob_get_contents(); ob_end_clean(); I then added this to the style manager/header: <div>$includedphp</div> When I view source I get <div></div> |
<?php include("yourfile.php");?>
Then create a php file called yourfile.php job done |
I dunno
Everything I try to add to the footer template comes up with nasty errors! VB4.0.2 is not like previous verions were this was easy to add stuff to a footer! Can someone shed some light please? Google analytics, custom php scripts etc do not work in footer template! |
Chuck i have responded to your thread.
|
All times are GMT. The time now is 07:52 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:
|