MyBB Community Forums

Full Version: How to order posts on portal?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Have a way to change order of exibition of threads on the portal page?
I tryed fix a thread to mantain on the top of portal page, but don't work.
Please provide a forum url and a test forum account or ensure guests can view the portal threads.
Hi Leefish,

This is a portal page: http://www.mercadodecapitais.esy.es/forum/portal.php

And this is the forum: http://www.mercadodecapitais.esy.es/foru...php?fid=18

I link mantain the thread "Sejam bem vindos" on the top of a portal page.
So really the thread Sejam bem vindos is a sort of welcome text? Then it is best to make it a "block" at the top of the portal and write it in as static html.

If you post the contents of the portal template from your templates I will show you where to add it.

if you want to keep it as a sticky thread then the portal does not do that by default.
Yes, at this moment is this what i need (if no have a way to change arbitrary the order or "fix" a thread on the portal page).

My template is the default, what exactly you need to help me on this? (to add a block on the top)?
Ok, here is how you can do it on the default templates.

<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}
{$whosonline}
{$latestthreads}
</td>
<td>&nbsp;</td>
<td valign="top">
<!--start static-->
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>TITLE</strong></td>
</tr>
<tr class="trow2">
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%">
	<tr>
		<td class="trow1" style="border: 0px;">
			<p style="margin: -2px 0;">
YOUR INFORMATION TO SHARE
			</p>
		</td>
	</tr>
</table>
</td>
</tr>
</table>
<br />
<!--end static-->
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>
Leefish,

Work like a charm, thank you!
:-)
You are welcome - please mark the thread as solved.