Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Multiple portals
MyBB Us3r Offline
Junior Member
**
Posts: 19
Joined: Jan 2008
Post: #1
Multiple portals
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,
01-28-2008 06:28 AM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Multiple portals
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)


My Blog
01-28-2008 06:37 PM
Find all posts by this user
MyBB Us3r Offline
Junior Member
**
Posts: 19
Joined: Jan 2008
Post: #3
RE: Multiple portals
Ah I see.

I'll give this a try. Thanks.
01-28-2008 09:51 PM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: