1

Topic: Buffering punBB

The next techie question :-) I am trying to buffer punBB and stick it into my XML output, but apparently, independent of what buffer settings I set, punBB flushes it all out before my footer does his job (auto_append_file).

What are my options?

Re: Buffering punBB

Well, PunBB doesn't spit anything out until exit($tpl_main); at the end of footer.php. You should be able to remove that call and do that from your own script.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Buffering punBB

Thanks, got it working (albeit a little slow). The reason was exactly this - exit was called before my footer was wrapping up the node tree.