MyBB Community Forums

Full Version: Need help with several things!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,

I'm new to MyBB, and I've got a couple of questions. I'd like to make the portal.php my home page, instead of the forums. I'd also like to restrict 3 pages I've made including the forums, and Marketplaces so that a guest cannot access them, they must be registed. And lastly, I'd like to know how to add basic information to the Portal.php saying "Welcome to blah blah blah"

If you could help me it would be much appreciated!

Thanks
For 1: Add the following code in your htaccess file;
DirectoryIndex portal.php index.php index.html 

For 2: Add the following code in your pages;
if ($mybb->user['uid'] == "0")
{
   error_no_permission();
}

For 3: You've to edit portal template.: AdminCP >Templates > Your theme's templates > Portal Templates > portal.