MyBB Hacks

Full Version: Second portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello.
I need second portal for my site.
It should be like normal but load news from another ForumID

Thanks,
KacperOo
You can do this by making a second copy of portal.php (name it differently).
Then open the new file up, find:

PHP Code:
add_breadcrumb($lang->nav_portal, "portal.php");

Add under:

PHP Code:
$mybb->settings['portal_announcementsfid'] = '1,2,3';

(replace 1,2,3 with your forum IDs)

Cool!
But i want to have other templates (portal, portal2) how to do it?
Find

PHP Code:
$templates->get("portal")

and change to your liking.

Cool ;3
anyway to make it so each page has its own theme?
Reference URL's