MyBB Hacks

Full Version: Multiple portals
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is this possible without a mod. or do you need one?

For example I'd like one portal file with a different name such as let's say downloads.php to post things from the downloads forum section, and the news.php to get posts from the news forum section.

At the moment I can only modify the portal.php and can't create another one with different settings.

Thanks,
This is actually quite simple to do.

Make a second copy of portal.php - call it dlportal.php, for example.

Then in dlportal.php,
Find:

PHP Code:
$parser = new postParser;


Add below:

PHP Code:
$mybb->settings['portal_announcementsfid'] = '<FID LIST>';

(where <FID LIST> is the list of FIDs you want the new portal page to show, in the same format as the list you enter in the AdminCP)

Ah I see.

I'll give this a try. Thanks.
Reference URL's