MyBB Community Forums

Full Version: Integrate my own site with MyBB.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just saw this thread: http://community.mybb.com/thread-60422.html

But it does not tell how to make it if this is what I have.

MyBB located at: public_html/
Site located at: public_html/site/

Does anyone knows how to do this.
You just have to change the paths to the files in order to match your site's structure.
(2011-08-07, 11:46 AM)faviouz Wrote: [ -> ]You just have to change the paths to the files in order to match your site's structure.

Just like this or how?
<?php
chdir("../"); // path to MyBB
define("IN_MYBB", 1);
require("./global.php");
chdir("../");
?>

Cause when I use that code, it just shows up with a white page.