2013-03-26, 06:12 PM
I've tried everything to get my announcements to display on the portal page and used a number of guides but for some reason they are not showing.
Here are some of the portal codes if it might help
Portal
Portal_announcement
If anyone can help me I would be very grateful, if you need any more additional information please let me know in a post below.
P.s My announcement fid=7 (forumdisplay.php?fid=7)
Here are some of the portal codes if it might help
Portal
<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}
</td>
<td> </td>
<td valign="top">
{$latestthreads}
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>
Portal_announcement
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>{$icon} <a href="{$mybb->settings['bburl']}/{$announcement['threadlink']}">{$announcement['subject']}</a></strong></td>
</tr>
<tr>
<td class="trow2" align="right">
<span class="smalltext">{$lang->posted_by} {$profilelink} - {$anndate} {$anntime} {$numcomments}</span>
</td>
</tr>
<tr>
<td class="trow1">
<table border="0" cellpadding="{$theme['tablespace']}" width="100%">
<tr>
{$avatar}
<td class="trow1">
<p>
{$message}
</p>
{$post['attachments']}
</td>
</tr>
<tr>
<td align="right" colspan="2" valign="bottom">
<span class="smalltext">
<a href="{$mybb->settings['bburl']}/printthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/printable.gif" alt="{$lang->print_this_item}" title="{$lang->print_this_item}" /></a> <a href="{$mybb->settings['bburl']}/sendthread.php?tid={$announcement['tid']}"><img src="{$theme['imgdir']}/send.gif" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
If anyone can help me I would be very grateful, if you need any more additional information please let me know in a post below.
P.s My announcement fid=7 (forumdisplay.php?fid=7)