Support Forums

Full Version: MyBB Theme Bugged
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a specific MyBB theme for 1.4x but i am using MyBB 1.6
Which shouldn't be the problem, But when i go to create a new thread i get this bugged up template

Preview Images: http://i52.tinypic.com/r7vyn8.png > http://i56.tinypic.com/9kxcaf.png

Heres my 'New Thread' template
Code:
<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<!-- first table -->
<table border="0" cellspacing="1" cellpadding="1" class="postpad_h">
    <tr>
        <td class="thead"><strong>{$lang->post_new_thread}</strong></td>
    </tr>
    <tr>
        <td class="postpad">
            <table border="0" class="varpad" cellpadding="0" cellspacing="0">
                <tr>
                    <td>Title:<br/><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
                </tr>
                <tr>
                    <td>Message:<br/>
                    <textarea rows="20" cols="70" id="message" name="message">{$message}</textarea>                        
                    <br/>   {$smilieinserter}
                        {$posticons}
                        {$codebuttons}
                        {$multiquote_external}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>    
        <td class="thead">Additional Options</td>
    </tr>
        <td class="postpad">
            <table border="0" cellpadding="0" cellspacing="0" class="varpad">
                <tr>
                    <td><fieldset><legend>Miscellaneous Options</legend>
                    <label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>{$disablesmilies}</fieldset>
                    </td>
                </tr>
                {$attachbox}
                {$modoptions}
                {$subscriptionmethod}
                {$pollbox}
                {$captcha}
            </table>
        </td>
    </tr>
    <tr>
        <td align="center" valign="middle" height="30px"><div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<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}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
        </td>
    </tr>
</table>
<!-- /first table -->
<br/>
<!-- second table-->
<table border="0" cellpadding="1" cellspacing="1" class="postpad_h">
    <tr>

        <td align="center" valign="middle" height="30px"><div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<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}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>    </td>
    </tr>
</table>    
{$forumrules}
{$footer}
</body>
</html>

If your willing to help over MSN then please send me a PM and i will give you my e-mail.
Thank you!
What about your Post Templates? Do they have this bug or do they seem to be all fine?

The problem with the multiple buttons is that you have this input type repeated 2 times...

Code:
<tr>

        <td align="center" valign="middle" height="30px"><div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<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}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
</form>    </td>
    </tr>

Nothing special about mybb, it's all still basic basic html for the templates.
I doubt you get any help here, but try to google it, or just do everything over again, fresh start.
(07-20-2011, 08:52 AM)Drakon Wrote: [ -> ]I doubt you get any help here, but try to google it, or just do everything over again, fresh start.

I've already helped him out. Look above your post, and try not to spam as much for your feather

Full code:
Code:
<html>
<head>
<title>{$lang->newthread_in}</title>
{$headerinclude}
<script type="text/javascript" src="jscripts/post.js?ver=1400"></script>
</head>
<body>
{$header}
{$preview}
{$thread_errors}
{$attacherror}
<form action="newthread.php?fid={$fid}processed=1" method="post" enctype="multipart/form-data" name="input">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<!-- first table -->
<table border="0" cellspacing="1" cellpadding="1" class="postpad_h">
    <tr>
        <td class="thead"><strong>{$lang->post_new_thread}</strong></td>
    </tr>
    <tr>
        <td class="postpad">
            <table border="0" class="varpad" cellpadding="0" cellspacing="0">
                <tr>
                    <td>Title:<br/><input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="1" /></td>
                </tr>
                <tr>
                    <td>Message:<br/>
                    <textarea rows="20" cols="70" id="message" name="message">{$message}</textarea>                        
                    <br/>   {$smilieinserter}
                        {$posticons}
                        {$codebuttons}
                        {$multiquote_external}
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>    
        <td class="thead">Additional Options</td>
    </tr>
        <td class="postpad">
            <table border="0" cellpadding="0" cellspacing="0" class="varpad">
                <tr>
                    <td><fieldset><legend>Miscellaneous Options</legend>
                    <label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="1" tabindex="7"{$postoptionschecked['signature']} /> {$lang->options_sig}</label>{$disablesmilies}</fieldset>
                    </td>
                </tr>
                {$attachbox}
                {$modoptions}
                {$subscriptionmethod}
                {$pollbox}
                {$captcha}
            </table>
        </td>
    </tr>
    <tr>
        <td align="center" valign="middle" height="30px"><div style="text-align:center"><input type="submit" class="button" name="submit" value="{$lang->post_thread}" tabindex="4" accesskey="s" />  <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="5" />{$savedraftbutton}</div>
<input type="hidden" name="action" value="do_newthread" />
<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}" />
<input type="hidden" name="tid" value="{$tid}" />
{$editdraftpid}
        </td>
    </tr>
</table>
<br/>  
{$forumrules}
{$footer}
</body>
</html>