The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Getting boxes in postbit_legacy
I want to put little boxes surrounding my text such as posts and location...I know this can be done in some skins as I've seen it done in APPLIED skin
Can someone please help me get the code for the boxes? Cheers |
#2
|
||||
|
||||
That would be done through css.
So:- 1. Put this in your stlye's additional CSS box (the second box) Code:
.postinfo { background-color: #F1F4F6; color: #283A5E; padding: 2px; border: 1px inset; margin-bottom: 2px; } 2. Then in your postbit_legacy/postbit template:- Find this:- HTML Code:
<div class="smallfont"> <br /> <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div>$vbphrase[age]: $post[age]</div></if> <div> $vbphrase[posts]: $post[posts] </div> $template_hook[postbit_userinfo_right_after_posts] <if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> $template_hook[postbit_userinfo_right] <div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> HTML Code:
<div class="smallfont"> <br /> <if condition="$post['joindate']"><div class="postinfo">$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']"><div class="postinfo">$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']"><div class="postinfo">$vbphrase[age]: $post[age]</div></if> <div class="postinfo"> $vbphrase[posts]: $post[posts] </div> $template_hook[postbit_userinfo_right_after_posts] <if condition="$show['infraction']"><div class="postinfo">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if> <if condition="$show['reputation']"><if condition="$show['reppower']">$vbphrase[reppower]: <span id="reppower_$post[postid]_$post[userid]">$post[reppower]</span> </if><div class="postinfo"><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if> $template_hook[postbit_userinfo_right] <div class="postinfo">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div> </div> |
#3
|
|||
|
|||
Quote:
I went to the main css page but can't find the box you said for |
#4
|
||||
|
||||
Style Manager->Your style Dropdown->Main CSS->Scroll down to the bottom and you"ll see two boxes of Additional CSS Definitions. Put that code in the second box. Simple !
|
#5
|
|||
|
|||
Oh...I found the css page..Cheers
My postbit_legacy template has more added things to it: Quote:
|
#6
|
||||
|
||||
See whatever things are displayed in postbit_legacy like Joindate, Posts, Location and so on... notice that they are displayed in <div> tag. So, all you need to do is to make it <div class="postinfo">
For example:- HTML Code:
<div>$vbphrase[join_date]: $post[joindate]</div> HTML Code:
<div class="postinfo">$vbphrase[join_date]: $post[joindate]</div> |
#7
|
|||
|
|||
How do I make the writing in postbit_legacy bold?
|
#8
|
||||
|
||||
I didn't get you.
To make someting bold, you use <strong>text</strong> Is this what you were asking ? |
#9
|
|||
|
|||
The text to become bold..So the text in postbit_legacy becomes bold
|
#10
|
||||
|
||||
HTML Code:
<strong>text</strong> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|