FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Output Buffer user friendly
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Output Buffer user friendly [message #31674] Thu, 11 May 2006 18:46 Go to previous message
damien is currently offline  damien   Canada
Messages: 3
Registered: May 2006
Karma:
Junior Member
Hi

We are currently integrating fudforum into Mambo/Joomla, and we encountered some conflict with the templating.

Within the templating system, the produced script include those lines :

while (ob_get_level() > 0) {
ob_end_flush();
}

which make fudforum empty all its output buffers.

Now, we are also using the output buffers to captures the forum before sending it to the user and with the above line, we only get an error. If we move the condition to
while (ob_get_level() > 2) {
ob_end_flush();
}
it's working again, but it is not a good solution to modify the produced PHP scripts.

Unless there is another solution I missed, I think that if Fud Forum could collect the OB level first, then use it to limit it's buffer cleaning, it could solve this problem. Or may be make it a configuration directive?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Grand moderator?
Next Topic: encrypted messagefiles
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 06:46:07 GMT 2024

Total time taken to generate the page: 0.04886 seconds