MyBB Community Forums

Full Version: Forum ID different on portal1.php and portal2.php?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I have "two portal" pages, but there are the same posts/announcements in both portals page.

I would like to know how can I setting Forum ID in each portal page.

For example:

In portal1.php only portal_announcements from Forum ID 1 and 2;
In portal2.php only portal_announcements from Forum ID 3 and 4.

Thank you very much in advance for help!
hi deb (waves) - you need to hard code it in the php page (it's easiest) . Put the code below under the code where you are setting the breadcrumb. The numbers in the ' ' are the forum ids, and the number of announcements.

$mybb->settings['portal_announcementsfid'] = '1,12,19,24';
$mybb->settings['portal_numannouncements'] = '14';
Nice one @Leefish