The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to Capture Output from print_output()
I'd very much like to do some post-processing of the output of print_output(), however, it is flushing its output to the connection.
I've attempted to turn on output buffering before my call to print_output, an then catch the output via ob_get_contents(), but the explicit flush() call inside of print_output() is making that method fail. So, is there any other way to capture the output from print_output() into a variable before sending it to the browser? Thanks! Aaron |
#2
|
||||
|
||||
Instead of:
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
Thanks Lynne,
Unfortunately I need to do processing on the final HTML, and print_output replaces variables that fetch_template does not. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|