Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

Homepage using portal.php

$
0
0
I've seen a lot of tutorials and I've came up with doing this...

Open your portal.php and find this.

PHP Code:
// set the path to your forums directory here (without trailing slash)
$forumdir "./"

change it to this...

PHP Code:
// 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

Viewing all articles
Browse latest Browse all 690

Trending Articles