The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vbulletin articles keep comment box at top
Hello,
I am using vb 4.2.2 and i'm just wondering if there is a way to keep the comment box on top of all of the comments instead of it moving down? If it's possible can someone help me please? |
#2
|
||||
|
||||
Edit template vbcms_comments_page and move this code:
HTML Code:
<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script> <script type="text/javascript" src="clientscript/vbulletin_quick_edit.js?v={vb:raw vboptions.simpleversion}"></script> <script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v={vb:raw vboptions.simpleversion}"></script> <div id="node_comments_hide"></div> <!-- EDITOR IS BREAKING THE PAGE --> <vb:if condition="$show_comment_editor"> <script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin_cms_comments.js?v={vb:raw vboptions.simpleversion}"></script> <div id="node_edits" ><a name="new_comment"></a> <div class="cms_node_edits_title blockhead"> <img src="{vb:stylevar imgdir_misc}/comment.png" alt="{vb:rawphrase comments}" border="0" /> {vb:rawphrase post_comment} </div> <div class="wysiwyg_block blockbody formcontrols"> <div class="hidden" id="qc_error_div"> <h3 class="blocksubhead">{vb:rawphrase errors_occured_when_submitted}</h3> <div id="qc_error_list" class="blockrow"> </div> <div class="blockrow"><input type="button" class="button" value="{vb:rawphrase okay}" id="qc_hide_errors" onclick="hide_errors()"/></div> </div> <form id="form_widget_comments" name="form_widget_comments" action="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}newreply.php?do=postreply&t={vb:raw threadid}&s={vb:raw bbuserinfo.securitytoken}" method="post" > <input type="hidden" name="do" value="postreply" /> <input type="hidden" name="nodeid" id="nodeid" value="{vb:raw nodeid}" /> <input type="hidden" name="return_node" id="return_node" value="{vb:raw nodeid}" /> <input type="hidden" name="current_page" id="current_page" value="{vb:raw pageno}" /> <input type="hidden" name="per_page" id="per_page" value="{vb:raw per_page}" /> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="this_url" value="{vb:raw this_url}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="parseurl" value="1" /> <input type="hidden" name="fromquickreply" value="1" /> <div class="cms_editor_area"> {vb:raw usernamecode} {vb:raw human_verify} {vb:raw messagearea} <div class="blockfoot actionbuttons"> <div class="group"> <vb:if condition="$show['fb_publishcheckbox']"> {vb:raw fbpublishcheckbox} </vb:if> <input class="button" type="button" name="sbutton" onclick="clicked_val=this.value;sendForm('title', '{vb:raw editor_name}', 'username', (document.getElementById('imageregt')?'imageregt':'recaptcha_response_field'), 'hash', refreshPage); return false;" value="{vb:rawphrase add_comment_button}" tabindex="1" /> <input class="button" type="submit" name="preview" id="qr_preview" title="(Alt + X)" accesskey="x" value="{vb:rawphrase go_advanced}" tabindex="1" /> </div> </div> </div> </form> </div> </div> </vb:if> HTML Code:
<div id="comments" class="cms_comments_page"> <a name="comments_start"></a> {vb:raw node_comments} </div> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|