View Full Version : Add a second reply button when viewing a post
gle041
09-08-2009, 10:39 AM
When viewing a post, the reply to the post button is located at the bottom of the post. What would I have to do to duplicate these buttons and place them at the TOP of the posts as well?
Thanks.
Lynne
09-08-2009, 02:13 PM
I'm not sure what the result would be if you copied them. Have you tried just copying the buttons in a test style or on a test site?
gle041
09-08-2009, 02:42 PM
Apparently some of the posts get extremely long because of many pictures, so they wanted the button at the top of the post as well. What template and which part would I find it in? I searched an was unable to locate.
Lynne
09-08-2009, 02:50 PM
You can always find the template to edit by doing this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.
The template you are looking for is most likely the postbit or postbit_legacy template. You want to look for these lines (these are from the postbit template):
<div style="margin-top: 10px" align="$stylevar[right]">
<!-- controls -->
A whole bunch of buttons
$template_hook[postbit_controls]
<!-- / controls -->
</div>
James Birkett
09-08-2009, 03:17 PM
Why not just use a jump to top?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.