2009-05-04, 07:21 PM
2009-05-04, 07:52 PM
What scrolliing things? everything looks default too me.
2009-05-04, 07:56 PM
This one:
2009-05-04, 07:59 PM
Oh you mean the scrolling announcement boxes? Not quite sure but it wont be hard to do.
I'll have a pop at it an get back to you.
Ok go into your ACP > Templates > Portal > Portal Announcements.. And replace with this.
You need to edit this line though to match you theme + size.. whatever else.
I'll have a pop at it an get back to you.
Ok go into your ACP > Templates > Portal > Portal Announcements.. And replace with this.
<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>
<div style="width:100%;height:100px;overflow:auto;border-width:1px;border-color:fff;border-style:solid;">
{$message}</div>
</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="{$mybb->settings['bburl']}/{$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="{$mybb->settings['bburl']}/{$theme['imgdir']}/send.gif" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
You need to edit this line though to match you theme + size.. whatever else.
<div style="width:100%;height:100px;overflow:auto;border-width:1px;border-color:fff;border-style:solid;">
2009-05-04, 08:53 PM
Thank you Doobie. I'll check it right now.
EDIT: Can't you make it look more like SpiceFuse?
Here's the final result. But thanks for helping.
EDIT: Can't you make it look more like SpiceFuse?
Here's the final result. But thanks for helping.
2009-05-04, 09:05 PM
You need to edit this line to match the rest of your theme.
<div style="width:100%;height:100px;overflow:auto;border-width:1px;border-color:fff;border-style:solid;">
2009-05-04, 09:10 PM
Oh right, let's see what I can do.
btw can you post the code again between [php] tags please?
btw can you post the code again between [php] tags please?
2009-05-04, 09:12 PM
Try adjusting the height and width works for me fine.
<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>
<div style="width:100%;height:100px;overflow:auto;border-width:1px;border-color:fff;border-style:solid;">
{$message}</div>
</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="{$mybb->settings['bburl']}/{$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="{$mybb->settings['bburl']}/{$theme['imgdir']}/send.gif" alt="{$lang->send_to_friend}" title="{$lang->send_to_friend}" /></a>
</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />