Not Solved layout question
Not Solved
Well you obviously didn't use my latest code. You need to add the include above all other things in your file. You need to put it at the very top.
Not Solved
hey krakter,
I'm trying to do the exact same thing with my site. Here's the code that I placed at the top of my page:

$cwd = getcwd();
$output = ob_get_contents();
$output = str_replace('"'.$theme['imgdir'].'/', '"forum/'.$theme['imgdir'].'/', $output);


and then:

<div id="mybb"><?php
echo $output;

but nothing appears in the div box when I preview in a browser. It's just blank. Any ideas?
Not Solved
exitglacierguides Wrote:chdir('MyBB');
Is your forum actually installed to a directory called "MyBB"? Also take into account that on a Linux server, capitalisation in directory names is important as "mybb" and "MyBB" are not the same.
[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Not Solved
hey mr. doom,
Thanks for the reply. Yep, the forum is in a "MyBB" directory. And the case is correct, too. I thought maybe I'd have to include the full path to the directory too (scripts/MyBB), but that didn't seem to help either. Maybe there is a different way I need to enter the full path?

Forum Jump:

Users browsing this thread: 1 Guest(s)