Not Solved How to do this change in the MyBB portal?
#1
Not Solved
Just like here: http://spicefuse.com/
The scroll thingy. Is it possible?
Reply
#2
Not Solved
What scrolliing things? everything looks default too me.
[Image: 23msdba.png]
Reply
#3
Not Solved
This one:


Attached Files Thumbnail(s)
   
Reply
#4
Not Solved
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.

<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>&nbsp;<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;">
[Image: 23msdba.png]
Reply
#5
Not Solved
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.


Attached Files Thumbnail(s)
   
Reply
#6
Not Solved
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;">
[Image: 23msdba.png]
Reply
#7
Not Solved
Oh right, let's see what I can do.
btw can you post the code again between [php] tags please?
Reply
#8
Not Solved
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>&nbsp;<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 />
[Image: 23msdba.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)