Quote:
Originally Posted by philwareham
Yep, this works thanks...
Code:
// Textpattern External Output: body-social
ob_start();
echo file_get_contents('http://mydomain/?rah_external_output=body-social');
$php_include = ob_get_contents();
ob_end_clean();
vB_Template::preRegister('footer',array('txp_body_social' => $php_include));
Cool, this will make vBulletin really easy to integrate with my CMS templates. Great stuff.
|
You don't need the output buffer!
$php_include = file_get_contents('...'); would also work