Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MyBB Theme Bugged
#1
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!
Reply
#2
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.
Reply
#3
I doubt you get any help here, but try to google it, or just do everything over again, fresh start.
Reply
#4
(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>
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Flat Desire : Stunning Flat Premium MyBB Theme envira 1 2,199 10-13-2014, 05:21 PM
Last Post: Nasyr
  [[Release] TeslaDark Premium Flat Modern Dark MyBB Theme envira 1 1,382 04-18-2014, 01:34 PM
Last Post: y8tvkid
  Machete - Free Sexy MyBB Theme from MySkins Studio envira 2 2,060 09-27-2013, 12:41 PM
Last Post: envira
  [Release] LightDesire Premium MyBB Theme : Beauty at its best envira 0 1,155 08-25-2013, 03:41 PM
Last Post: envira
  [Release]DarkDesire - Best Limited Edition Dark MyBB Theme envira 2 1,386 08-05-2013, 04:10 AM
Last Post: envira

Forum Jump:


Users browsing this thread: 1 Guest(s)