The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
'editpost' template issues
I've been trying to fix all of the templates on my forum but there's one that I cannot figure out for the life of me.
Notice how the textarea for the post you are editing is ABOVE the edit post section. I have stared at the coding for this template and I can't figure out how to fix it. Here's the coding on the 'editpost' template. Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - $vbphrase[edit_post]</title> </head> <body$onload> $header $navbar <if condition="$show['deletepostoption']"> <form action="editpost.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="p" value="$postid" /> <input type="hidden" name="url" value="$url" /> <input type="hidden" name="do" value="deletepost" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('editpost_delete')"><img id="collapseimg_editpost_delete" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_editpost_delete].gif" alt="" border="0" /></a> $vbphrase[delete_this_message] </td> </tr> <tbody id="collapseobj_editpost_delete" style="$vbcollapse[collapseobj_editpost_delete]"> <tr> <td class="alt1" colspan="2"> <div class="smallfont"> <div style="width:$stylevar[formwidth]" align="$stylevar[left]">$vbphrase[delete_message_check_appropriate_option]</div><if condition="$show['firstpostnote']"> <div>$vbphrase[deleting_message_deletion_of_thread]</div> </if> </td></tr> <tr> <td class="alt2" width="30%" valign="top"> <div class="normalfont"><strong>Deletion Options</strong></div> </td> <td class="alt2" width="70%"> <div class="smallfont"> <label for="rb_del_leave"><input type="radio" name="deletepost" value="" id="rb_del_leave" tabindex="1" checked="checked" />$vbphrase[do_not_delete_message]</label> </div> <div class="smallfont"> <label for="rb_del_soft"><input type="radio" name="deletepost" value="delete" id="rb_del_soft" tabindex="1" />$vbphrase[delete_message]</label> <if condition="$show['physicaldeleteoption'] AND $show['keepattachmentsoption']">(<label for="cb_keepattachments"><input type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" tabindex="1" />$vbphrase[keep_attachments]</label>)</if> </div> <if condition="$show['physicaldeleteoption']"> <div class="smallfont"> <label for="rb_del_hard"><input type="radio" name="deletepost" value="remove" id="rb_del_hard" tabindex="1" />$vbphrase[physically_remove_message]</label> </div> </if> </div> </td></tr> <tr> <td class="alt1" width="30%" valign="top" valign="top"> <div class="normalfont"><strong>$vbphrase[reason_for_deletion]:</strong></div> </td> <td class="alt1" width="70%"> <span style="float:right"><input type="submit" class="button" value="$vbphrase[delete_this_message]" tabindex="1" accesskey="d" /></span> <input type="text" class="bginput" name="reason" size="50" tabindex="1" title="$vbphrase[optional]" /> </td> </tr> </form> </tbody> </table></if> <br /> $postpreview <form name="vbform" action="editpost.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat" colspan="2"> <span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[thread]</strong>: <a href="showthread.php?$session[sessionurl]t=$threadinfo[threadid]">$threadinfo[title]</a></span> $vbphrase[edit_post] </td> </tr> <tr> <td class="alt2" colspan="2"> <div class="smallfont"><phrase 1="member.php?$session[sessionurl]u=$postinfo[userid]" 2="$postinfo[username]" 3="$postinfo[postdate]" 4="$postinfo[posttime]">$vbphrase[message_by_x_on_y_at_z]</phrase>:</div> </td></tr> <! -- User login --> <tr> <td class="alt1" width="30%"><div class="normalfont"><strong>Logged In User:</strong></td></div> <td class="alt1" width="70%">$usernamecode</td> </tr> <!-- User login end --> <!-- subject field --> <td class="alt2" width="30%"><div class="normalfont"><strong>$vbphrase[title]:</strong></div></td> <td class="alt2" width="70%"><input type="text" class="bginput" name="title" value="$title" size="50" maxlength="85" tabindex="1" title="$vbphrase[optional]" /> <img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td> </tr> <!-- / subject field --> <!-- post icons --> <tr> <td class="alt1" valign="top" width="30%"><div class="normalfont"><strong>Post Icons:</strong></div> <div class="smallfont"><label for="rb_iconid_0"><input type="radio" name="iconid" value="0" id="rb_iconid_0" tabindex="1" onclick="swap_posticon(null)" checked="checked" />No icon </label></div> </td> <td class="alt1" width="70%"> $posticons </td> </tr> <!-- message --> $messagearea <!-- / message area --> <!-- addition options --> <td class="alt2" valign="top" width="30%"><div class="normalfont"><strong>$vbphrase[additional_options]</strong></div></td> <td class="alt2" width="70%"> <if condition="$bbuserinfo['signature'] != ''"><div class="smallfont"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if> <div class="smallfont"><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div> <div class="smallfont">$disablesmiliesoption </div> </tr></td> <!-- additional options end --> <!-- Attach File --> <tr> <td class="alt1" valign="top" width="30%"><div class="normalfont"><strong>Attach File</strong></div></td> <td class="alt1" width="70%">$attachmentoption</td></tr> <!-- End attach file --> <!-- Thread Subscription --> <tr> <td class="alt2" valign="top" width="30%"><div class="normalfont"><strong> $vbphrase[thread_subscription]</strong></div></td> <td class="alt2" width="70%"><div class="smallfont"> $vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1"> <option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option> <option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option> <option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option> <option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option> <option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option> </select></td> <if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if> </tr></div> <!-- Thread Subscription End --> <!-- Thread Managment --> $threadmanagement </tr></table> <div style="margin-top:$stylevar[cellpadding]px" align="center"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="updatepost" /> <input type="hidden" name="p" value="$postid" /> <input type="hidden" name="posthash" value="$posthash" /> <input type="hidden" name="poststarttime" value="$poststarttime" /> <input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[save_changes]" accesskey="s" tabindex="1" /> <input type="submit" class="button" name="preview" value="$vbphrase[preview_changes]" accesskey="p" tabindex="1" /> <br /></div> </if> </form> </tbody> <br /> $forumrules $footer </body> </html> |
#2
|
|||
|
|||
If I posted this thread in the wrong place, let me know and I'll re-post it somewhere else. Is there anyone that can help me please?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|