Quote:
Originally Posted by Dismounted
You will need to add a hook at global_start and use the ob_ functions. Searching on the vB.com forums would give you a few results. I'm also pretty sure it's in the manual somewhere as well.
|
Partially wrong. global_start is already wrapped in an object buffer to allow backward compatibility with other PHP_INCLUDE scripts from vb 3.0.x days. All that is needed for a dynamic header is to replace the content of the header template with the var $phpinclude_output and then put the include file in the global start hook to set it up.
He can put an object buffer in an object buffer, though there's little need to do so.