Quote from: OpenGeek at Feb 22, 2006, 06:44 PM
If you are including files from the forum inside a snippet, this will not work, unless the system sends it’s output to a variable you can capture and return in your snippet. Snippets do not allow direct output via methods such as echo. The output buffer on snippets is localized and discarded, and the actual output of the snippet is returned. I bet you can simply start a new buffer inside your snippet to capture the output buffer from the script you are including, and then assign it to your return variable. e.g.
Jason, I think echo does work inside the snippet. I use echo on some of my snippets and it works just fine. I think snippet will do just fine using either return or echo. I have phorum integration, and it works without having to capture the output into output buffer and return it inside snippet.
From what I can understand, I believe UNB doesn’t play really nice to be run inside MODx. That’s one of the thing though, when integrating phorum, I can see that the code is built with flexibility in mind, which refer to having phorum to be integrated inside another major CMS system or other major Open Source system, while I haven’t really look inside UNB, but I believe they are not really thinking about that.
Marc, your best bet will be to ask this question in their forum, let see whether they are willing to explain it to you in detail on things that need to be done for running their phorum inside other system.
Feel free to report back to here, when you’ve heard a reply from them

Sorry for being laxy in looking at UNB forum code