Hi I've been trying to add some buttons to the right hand side of the
postbit_legacy template in post 1, similar to VB.org in the Mods section.
I've installed the plugin,
First Post On All Pages.
Which gives the option to use a custom template.
First off I made a new custom template by simply copying the
postbit_legacy template.
Next I added this to my
additional.css template. (Also tried adding it to
vbulletin.css and
postbit.css)
Code:
.options
{
float:right;
text-align:center;
width:220px;
padding:10px;
border:5px solid gray;
margin:0px;
}
Hoping for a box floated on the right hand side of the first post.
then added this code into my new
postbit_legacy_new template.
Code:
<div class="options">
<ul>
<li><a href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&p={vb:raw post.postid}&securitytoken={vb:raw bbuserinfo.securitytoken}">Thank the Poster</a>
</li>
<li><a href="newreply.php?{vb:raw session.sessionurl}p={vb:raw LASTPOSTID}&noquote=1"
class="newcontent_textcontrol" id="newreplylink_top"><vb:if condition="$show['closethread']"><span>+</span> {vb:rawphrase reply_to_thread}<vb:else />{vb:rawphrase closed_thread}</vb:if></a></li>
</ul>
</div>
I may have got the location of the above code wrong in the template, but basically what happened was the 2 buttons were dropped below the post text and were aligned to the left, rather than the right also the
Reply To Thread button displayed as the
Closed Thread button.
I was also trying to use that are generated for
Closed Thread Post New Thread and
Reply To thread which I would still prefer to use, but I can always make some buttons to use if this is not an option..
Anyway, I hope I've explained myself properly and hope somebody can point me in the right direction to get this right.
Regards