2016-11-26, 01:54 AM
I've seen a lot of tutorials and I've came up with doing this...
Open your portal.php and find this.
change it to this...
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.
and
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
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.
and
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