Forum ID different on portal1.php and portal2.php?
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #1
Forum ID different on portal1.php and portal2.php?
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!
09-10-2012 05:25 PM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #2
RE: Forum ID different on portal1.php and portal2.php?
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.

Code:
$mybb->settings['portal_announcementsfid'] = '1,12,19,24';
$mybb->settings['portal_numannouncements'] = '14';



[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 09-10-2012 06:36 PM by leefish.)
09-10-2012 06:35 PM
Visit this user's website Find all posts by this user Quote this message in a reply
nier3 Offline
Member
***
Posts: 125
Joined: Jul 2012
Post: #3
RE: Forum ID different on portal1.php and portal2.php?
Thank you lee!! You are great Smile
09-10-2012 08:25 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: