MyBB Community Forums

Full Version: portal.php in a different directory?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have my forums installed at www.mydomain.com/forums
I would like if possible to have portal.php installed at www.mydomain.com/index.php (so that its my homepage, obviously that means i need to rename it index.php andalso make some changes to the file.

Can anyone help me with the changes i would need to make so that when i click on the buttons and links they all work correctly and that the log in system also works correctly last time i tried this i had lots of log in problems.

I know i can have re-directs etc but i dont really want to do that if possible i want it to be as proffesional as i acan get it.

Thanks
Open the portal.php, and find this line:
$forumdir = "./";
It should be replaced with:
$forumdir = "./forums/";

Try that out.
thanks dennis it worked perfectly