MyBB Community Forums
[How To?] Integrate my own site with MyBB. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] Integrate my own site with MyBB. (/thread-101027.html)



Integrate my own site with MyBB. - Dead Soulâ„¢ - 08-07-2011

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.


RE: Integrate my own site with MyBB. - faviouz - 08-07-2011

You just have to change the paths to the files in order to match your site's structure.


RE: Integrate my own site with MyBB. - Dead Soulâ„¢ - 08-07-2011

(08-07-2011, 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.