MyBB-Themes - Designs and Themes for the MyBBoard

Full Version: help for dark orange mybb 1.4
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have almost finished adapting the dark orange to board myBB 1.4

only problem I can not enter the gif like screenshout

my theme
[attachment=48]

original
[attachment=49]
when I managed to do it this way

[attachment=52]
Please Correct this template?
my showthread template

Code:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
</head>
<body>
{$header}

<div style="float: right">
    {$newreply}{$newthread}
</div>
{$multipage}
<br /><br /><br />
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="{$theme['imgdir']}/thead_l.png" alt="" /></td>
<td class="thead"><div style="white-space:nowrap">{$rating} {$thread['subject']}</div></td>
<td><img src="{$theme['imgdir']}/thead2.png" alt="" /></td>
<td class="thead2"><div style="float: right;">
        <span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
    </div></td>
<td><img src="{$theme['imgdir']}/thead_r.png" alt="" /></td>
</tr>
</table>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
<tr>
<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" width="85%"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
</tr>




{$posts}
{$threadpages}
<tr>




<table cellpadding="0" cellspacing="0" width="100%">


<tbody><tr>

<td colspan="2" class="tfoot">
<div><strong>« <a href="showthread.php?tid=310&amp;action=nextoldest">Next Oldest</a> | <a href="showthread.php?tid=310&amp;action=nextnewest">Next Newest</a> »</strong></div>
</td>
</tr>
</tbody></table>


<table width="100%" cellpadding="0" cellspacing="0">

<tbody><tr>
<td><img src="images/DarkOrange/tablesmall/tfoot_l.png" alt=""></td>
<td class="tfoot2"></td>
<td><img src="images/DarkOrange/tablesmall/tfoot_r.png" alt=""></td>
</tr>
</tbody></table>


<div style="padding-top: 4px;">
    {$newreply}{$newthread}
</div>
{$threadexbox}
{$quickreply}
{$moderationoptions}
{$similarthreads}
<br />
<table cellpadding="0" cellspacing="0" width="100%">


<br>
<table width="100%" cellpadding="0" cellspacing="0">
<tbody><tr>
<td><img src="images/DarkOrange/tablesmall/thead_l.png" alt=""></td>
<td class="thead3"></td>
<td><img src="images/DarkOrange/tablesmall/thead_r.png" alt=""></td>
</tr>
</tbody></table>
<table class="tborder" style="clear: both;" border="0" cellpadding="4" cellspacing="0">
    <tbody><tr>
        <td class="trow1">
            <table width="100%">
                <tbody><tr>
                    <td>

                        <span class="smalltext">
                            <a href="printthread.php?tid={$tid}">{$lang->view_printable}</a><br />
                            <a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a><br />
                            <a href="usercp2.php?action=addsubscription&tid={$tid}">{$lang->subscribe_thread}</a> | <a href="usercp2.php?action=addfavorite&tid={$tid}">{$lang->add_favorites}</a>
                        </span>
                    </td>
                    <td align="right">
                        {$ratethread}
                        <br />
                        {$forumjump}
                    
<br>
                        
                    </td>
                </tr>
            </tbody></table>
        </td>
    </tr>
</tbody></table>
<table width="100%" cellpadding="0" cellspacing="0">
<tbody><tr>
<td><img src="images/DarkOrange/tablesmall/tfoot_l.png" alt=""></td>
<td class="tfoot2"></td>
<td><img src="images/DarkOrange/tablesmall/tfoot_r.png" alt=""></td>
</tr>
</tbody></table>
{$footer}
</body>
</html>
You forgot to close the <tr> and <table> of the « Next Oldest | Next Newest » line i would say: Heres the fixed version:

Code:
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>
</head>
<body>
{$header}
<div style="float: right"> {$newreply}{$newthread} </div>
{$multipage} <br />
<br />
<br />
<table cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td><img src="{$theme['imgdir']}/thead_l.png" alt="" /></td>
        <td class="thead"><div style="white-space:nowrap">{$rating} {$thread['subject']}</div></td>
        <td><img src="{$theme['imgdir']}/thead2.png" alt="" /></td>
        <td class="thead2"><div style="float: right;"> <span class="smalltext"><strong><a href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a> | <a href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span> </div></td>
        <td><img src="{$theme['imgdir']}/thead_r.png" alt="" /></td>
    </tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;">
    <tr>
        <td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
        <td class="tcat" width="85%"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
    </tr>
    {$posts}
    {$threadpages}
    <tr>
        <table cellpadding="0" cellspacing="0" width="100%">
            <tbody>
                <tr>
                    <td colspan="2" class="tfoot"><div><strong>« <a href="showthread.php?tid=310&amp;action=nextoldest">Next Oldest</a> | <a href="showthread.php?tid=310&amp;action=nextnewest">Next Newest</a> »</strong></div></td>
                </tr>
            </tbody>
        </table>
    </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td><img src="images/DarkOrange/tablesmall/tfoot_l.png" alt=""></td>
            <td class="tfoot2"></td>
            <td><img src="images/DarkOrange/tablesmall/tfoot_r.png" alt=""></td>
        </tr>
    </tbody>
</table>
<div style="padding-top: 4px;"> {$newreply}{$newthread} </div>
{$threadexbox}
    {$quickreply}
    {$moderationoptions}
    {$similarthreads} <br />
<table cellpadding="0" cellspacing="0" width="100%">
<br>
<table width="100%" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td><img src="images/DarkOrange/tablesmall/thead_l.png" alt=""></td>
            <td class="thead3"></td>
            <td><img src="images/DarkOrange/tablesmall/thead_r.png" alt=""></td>
        </tr>
    </tbody>
</table>
<table class="tborder" style="clear: both;" border="0" cellpadding="4" cellspacing="0">
    <tbody>
        <tr>
            <td class="trow1"><table width="100%">
                    <tbody>
                        <tr>
                            <td><span class="smalltext"> <a href="printthread.php?tid={$tid}">{$lang->view_printable}</a><br />
                                <a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a><br />
                                <a href="usercp2.php?action=addsubscription&tid={$tid}">{$lang->subscribe_thread}</a> | <a href="usercp2.php?action=addfavorite&tid={$tid}">{$lang->add_favorites}</a> </span> </td>
                            <td align="right"> {$ratethread} <br />
                                {$forumjump} <br>
                            </td>
                        </tr>
                    </tbody>
                </table></td>
        </tr>
    </tbody>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td><img src="images/DarkOrange/tablesmall/tfoot_l.png" alt=""></td>
            <td class="tfoot2"></td>
            <td><img src="images/DarkOrange/tablesmall/tfoot_r.png" alt=""></td>
        </tr>
    </tbody>
</table>
{$footer}
</body>
</html>

If this doesnt works, tr to remove <table cellpadding="0" cellspacing="0" width="100%"> and/or <tbody> arround the <tr> of "« Next Oldest | Next Newest »"
I entered your template but nothing changes Huh
Did you try to remove the <table cellpadding="0" cellspacing="0" width="100%"> and/or <tbody> arround the <tr> of "« Next Oldest | Next Newest »" ?
I solved this way

thank Smile

Code:
<html>

<head>

<title>{$thread['subject']}</title>

{$headerinclude}

<script type="text/javascript">

<!--

&nbsp;&nbsp;&nbsp;&nbsp;var quickdelete_confirm = "{$lang->quickdelete_confirm}";

// -->

</script>

<script type="text/javascript" src="jscripts/thread.js?ver=1400"></script>

</head>

<body>

{$header}

<div style="float: right"> {$newreply}{$newthread} </div>

{$multipage} <br />

<br />

<br />

<table cellpadding="0" cellspacing="0" width="100%">

<tr>

<td><img src="{$theme['imgdir']}/thead_l.png" alt="" /></td>

<td class="thead"><div style="white-space:nowrap">{$rating} {$thread['subject']}</div></td>

<td><img src="{$theme['imgdir']}/thead2.png" alt="" /></td>

<td class="thead2"><div style="float: right;">
<span class="smalltext"><strong><a
href="showthread.php?mode=threaded&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->threaded}</a>
| <a
href="showthread.php?mode=linear&tid={$tid}&pid={$pid}#pid{$pid}">{$lang->linear}</a></strong></span>
</div></td>

<td><img src="{$theme['imgdir']}/thead_r.png" alt="" /></td>

</tr>

</table>

<table border="0" cellspacing="{$theme['borderwidth']}"
cellpadding="{$theme['tablespace']}" class="tborder" style="clear:
both;">

<tr>
<td class="tcat" width="15%"><span
class="smalltext"><strong>{$lang->author}</strong></span></td>

<td class="tcat" width="85%"><span
class="smalltext"><strong>{$lang->message}</strong></span></td>

</tr>

{$posts}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$threadpages}



<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr><td class="tfoot"><div><strong>« <a
href="showthread.php?tid=310&amp;action=nextoldest">Next
Oldest</a> | <a
href="showthread.php?tid=310&amp;action=nextnewest">Next
Newest</a> »</strong></div></td>

</td></tr></table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="{$theme['imgdir']}/tablesmall/tfoot_l.png" alt="" /></td>
<td class="tfoot3"></td>
<td><img src="{$theme['imgdir']}/tablesmall/tfoot_r.png" alt="" /></td>
</tr>
</table>

<div style="padding-top: 4px;"> {$newreply}{$newthread} </div>

{$threadexbox}

{$quickreply}

{$moderationoptions}

{$similarthreads} <br />

<table cellpadding="0" cellspacing="0" width="100%">

<br>

<table width="100%" cellpadding="0" cellspacing="0">

<tbody>

<tr>

<td><img src="images/DarkOrange/tablesmall/thead_l.png" alt=""></td>

<td class="thead3"></td>

<td><img src="images/DarkOrange/tablesmall/thead_r.png" alt=""></td>

</tr>
</tbody>

</table>

<table class="tborder" style="clear: both;" border="0" cellpadding="4" cellspacing="0">

<tbody>

<tr>

<td class="trow1"><table width="100%">

<tbody>

<tr>

<td><span class="smalltext">
<a
href="printthread.php?tid={$tid}">{$lang->view_printable}</a><br
/>
<a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a><br />
<a
href="usercp2.php?action=addsubscription&tid={$tid}">{$lang->subscribe_thread}</a>
| <a
href="usercp2.php?action=addfavorite&tid={$tid}">{$lang->add_favorites}</a>
</span> </td>

<td align="right"> {$ratethread} <br />

{$forumjump} <br>
</td>

</tr>

</tbody>

</table></td>

</tr>

</tbody>

</table>

<table width="100%" cellpadding="0" cellspacing="0">

<tbody>

<tr>

<td><img src="images/DarkOrange/tablesmall/tfoot_l.png" alt=""></td>
<td class="tfoot2"></td>

<td><img src="images/DarkOrange/tablesmall/tfoot_r.png" alt=""></td>

</tr>

</tbody>

</table>

{$footer}

</body>

</html>
Now the problem is in the template newreply

[attachment=55]

you have the template dark orange of newreply myBB 1.2?
Download the 1.2 version of the theme and you will see Wink
Code:
<html>
<head>
<title>{$lang->post_reply_to}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1212"></script>
</head>
<body>
{$header}
{$preview}
{$maximageserror}
{$attacherror}
{$reply_errors}
<table cellpadding="0" cellspacing="0" width="100%">

<tr>

<td><img src="{$theme['imgdir']}/thead_l.png" alt="" /></td>


<td class="thead"><div style="white-space:nowrap"><strong>{$lang->post_new_reply}</strong> </td>








</div></td>

<td><img src="{$theme['imgdir']}/thead2.png" alt="" /></td>

<td class="thead2">
</td><td><img src="{$theme['imgdir']}/thead_r.png" alt="" /></td>
</tr>

</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

<tr>





<form action="newreply.php?tid={$tid}&amp;processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">


<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->reply_to}</strong></span></td>






{$loginbox}
<tr>
<td class="tcat" width="20%"><strong>{$lang->post_subject}</strong></td>
<td class="trow2"><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
</tr>
{$posticons}
<tr>
<td class="trow2" valign="top"><strong>{$lang->your_message}</strong><br /><div style="margin:auto">{$smilieinserter}</div></td>
<td class="trow2">
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>
{$codebuttons}
{$multiquote_external}
</td>
</tr>
<tr>
<td class="trow1" valign="top"><strong>{$lang->post_options}</strong></td>
<td class="trow1"><span class="smalltext">
<label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="yes" tabindex="6" {$postoptionschecked['signature']} /> {$lang->options_sig}</label><br />
<label><input type="checkbox" class="checkbox" name="postoptions[emailnotify]" value="yes" tabindex="7" {$postoptionschecked['emailnotify']} /> {$lang->options_emailnotify}</label>
{$disablesmilies}
</span></td>
</tr>
{$attachbox}

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
{$modoptions}
{$captcha}
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><img src="{$theme['imgdir']}/tfoot_l.png" alt="" /></td>
<td class="tfoot2"></td>
<td><img src="{$theme['imgdir']}/tfoot_r.png" alt="" /></td>
</tr>
</table>
<br />

<div align="center"><input type="submit" class="button" name="submit" value="{$lang->post_reply}" tabindex="3" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="4" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newreply" />
<input type="hidden" name="tid" value="{$tid}" />
<input type="hidden" name="replyto" value="{$replyto}" />
<input type="hidden" name="posthash" value="{$posthash}" />
<input type="hidden" name="attachmentaid" value="" />
<input type="hidden" name="attachmentact" value="" />
<input type="hidden" name="quoted_ids" value="{$quoted_ids}" />
{$editdraftpid}
</form>
{$forumrules}
{$threadreview}
{$footer}
</body>
</html>


is always space

http://www.mybb-themes.com/attachment.php?aid=55

Huh
try to make in you "tborder" css class:
margin-top: 0; padding-top: 0;
Pages: 1 2
Reference URL's