MyBB Community Forums

Full Version: Homepage using portal.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've seen a lot of tutorials and I've came up with doing this...

Open your portal.php and find this.

// set the path to your forums directory here (without trailing slash)
$forumdir = "./";

change it to this...

// set the path to your forums directory here (without trailing slash)
$forumdir = "./forum";

or change it to whatever you want it to be...

Move everything but the portal.php to a subfolder of your choosing. After doing that, make sure the settings in your MyBB adminCP is correct before saving everything there. Should look like this.

[Image: 3af28849b09943acb999c31021f052fd.png]

and

[Image: ab99e76466b249d2839088e41e7721b4.png]

After saving it.

You should be able to use your portal.php as the homepage now with it being on the root directory, then you can change it to index.php
Weird. Now after I try to do this again with a fresh copy of MyBB and/or upgrading it...it messes up and can't access the admin control panel at all.