MyBB Community Forums

Full Version: portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Find this:
{$welcome}
And above it add your links
<a href="search.php">Search</a><br />
Do that for each of the links you want
is there a way i can get the whole design to show up

this is wat it looks like:
[Image: siteqt2.jpg]

what i want to do is make a table that says Navigation just like it says Welcome, Goran
like in that same format, can u help me out
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="thead"><strong>Navigation</strong></td></tr>
<tr><td class="trow1">



</td></tr>
</table><br />

Put your links in the middle of that big white space above.
I'm moving this to the Customization forums as this is thread does not qualify as "General Support"
My main question would be adding a new block. Suck as $links

I tried it but it din't work, so I had to enter the code manually into the portal
If you create a new template and want to use {$links} to display it in the portal page through adding {$links} to portal templates you 1st need to eval it in portal.php

open portal.php
find
eval("\$portal = \"".$templates->get("portal")."\";");
above it add
eval("\$links = \"".$templates->get("NAME_OF_TEMPLATE")."\";");

Replace NAME_OF_TEMPLATE by the new template name
Yes this worked great! Thanks!
mm talk about portal may I ask is there a portal program where by u can add and remove. like what VBadvance they have a program to edit, add html box all this?
how do i get the portal to load instead of the forum index..
is there a way i can create a design around my adsense for the portal?

this is my current portal code...

<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}
{$pms}
{$search}
{$stats}
</td>
<td>&nbsp;</td>
<td width="*" valign="top">
{$announcements}
</td>
<td valign="top" width="200">
{$whosonline}
{$latestthreads}
</td>
</tr>
</table>
{$footer}
</body>
</html>


did not realize i was double posting sorry
Pages: 1 2