2012-12-17, 11:54 AM
2012-12-17, 12:02 PM
Probably because the theme you're using seems to have thread ratings removed, but it didn't compensate for announcements and the extra column is still getting added.
Could you paste your 'forumdisplay_announcements_announcement' template here? Or try using the one below and see if it fixes your problem:
Note: the template above is simply the default with ratings removed, if your theme has made any changes to the announcement template they may be lost, so backup your current template first.
Could you paste your 'forumdisplay_announcements_announcement' template here? Or try using the one below and see if it fixes your problem:
<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
<td align="center" class="{$bgcolor}" width="2%"> </td>
<td class="{$bgcolor}">
<a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>
<div class="author smalltext">{$announcement['profilelink']}</div>
</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
<td class="{$bgcolor}" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate} {$posttime}</span></td>
{$modann}
</tr>
Note: the template above is simply the default with ratings removed, if your theme has made any changes to the announcement template they may be lost, so backup your current template first.
2012-12-18, 06:03 PM
I don't want to make a mess, so I paste my "forumdisplay_announcements_announcement":
Thanks Beardy!
<tr>
<td align="center" class="{$bgcolor}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt=""/></td>
<td align="center" class="{$bgcolor}" width="2%"> </td>
<td class="{$bgcolor}">
<a href="{$announcement['announcementlink']}"{$new_class}>{$announcement['subject']}</a>
<div class="author smalltext">{$announcement['profilelink']}</div>
</td>
<td align="center" class="{$bgcolor}">-</td>
<td align="center" class="{$bgcolor}">-</td>
{$rating}
<td class="{$bgcolor}" style="white-space: nowrap; text-align: right"><span class="smalltext">{$postdate} {$posttime}</span></td>
{$modann}
</tr>
Thanks Beardy!
2012-12-18, 09:07 PM
By 'try using the one below' I meant just replace the entire template file with the code I provided.
2012-12-18, 09:56 PM
Problem solved with your code
Thank you Beardy!
Thank you Beardy!