MyBB Community Forums

Full Version: How to use portal page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Im not able to use this portal page.

Hows does this function.
Only on the left side search,login.latest posts are displaying. what else should I do to display on the right side remaining space.

help me out
Hi,

Please see the wiki about the MyBB portal for more information: http://wiki.mybboard.net/index.php/Portal .

Further resources and information can be found by searching these forums and looking in the "User Submitted Tutorials" forum.
samsunghere Wrote:Hello,

Im not able to use this portal page.

Hows does this function.
Only on the left side search,login.latest posts are displaying. what else should I do to display on the right side remaining space.

help me out

I found wiki went into too much detial when all I wanted was the script to use in the index.html so I had to look elsewhere and I think you'll find this does the job samsunghere Smile

<html>
<head>
<title>site name here</title>
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://www.your-site-url-here.com/forum/portal.php">
</HEAD>
Chris Boulton Wrote:Hi,

Please see the wiki about the MyBB portal for more information: http://wiki.mybboard.net/index.php/Portal.
Heh, that isn't much help at present Smile
Quote:There is currently no text in this page, you can search for this page title in other pages or edit this page.
samsunghere, in your portal settings, the first one, set a forum ID to get content from.
Quote:Forum ID to pull announcements from
Please enter the forum ids (fid) of the forum(s) you wish to pull the announcements from. Separate them with a comma (,).
That will give you content on the right of the default section Smile
Link above fixed.

Should have been http://wiki.mybboard.net/index.php/Portal


Chris.
samsunghere Wrote:Hello,

Im not able to use this portal page.

Hows does this function.
Only on the left side search,login.latest posts are displaying. what else should I do to display on the right side remaining space.

help me out

You will want to edit the portal template. The things with the dollar signs are the various components that you want to move around. I don't know what the technical name for them is. Make sure that you leave them enclosed by those brackets.

{$welcome}
{$whosonline}
{$pms}
{$stats}
{$search}
{$announcements}
{$pollbox}
{$latestthreads}


Admin CP > Templates > Modify/Delete > Expand (Template Manager) > Portal Templates (Exand) > portal >

Here's one example of a portal template, below. Adjust it to suit your particular preference. I hope that it helps.


<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
{$welcome}
{$whosonline}
{$pms}
{$stats}
{$search}
</td>
<td valign="top">
{$announcements}
</td>
<td valign="top" width="200">
{$pollbox}
{$latestthreads}
</td>
</tr>
</table>
{$footer}
</body>
</html>

Does the Portal only works with the Default theme ? When I tried the direct link to my just installed MyBB Forum, i saw the menus on the left but not the forum on the right. It was just empty. Maybe i just dont know enough yet about MyBB. Any help ?

WarBirD
WarBirD Wrote:Does the Portal only works with the Default theme ? When I tried the direct link to my just installed MyBB Forum, i saw the menus on the left but not the forum on the right. It was just empty. Maybe i just dont know enough yet about MyBB. Any help ?

WarBirD

You need to set an "announcement" forum in Admin CP --> Board Settings --> Change --> Portal Settings