The Arcive of vBulletin Modifications Site. |
|
PS - Boxed Postbit Information & Centered Postbit Details »»
|
|||||||||||||||||||||||||||
|
PS - Boxed Postbit Information & Centered Postbit
Developer Last Online: Apr 2014
Please Mark As Installed!
Hello Everybody, I thought I would share this here for everybody. This template modification will involve editing your postbit_legacy template. This will place the information displayed in the postbit such as the Post Count, Location, Join Date etc into boxes beneath the avatar to give the postbit a more professional look. Live Demo Below is how to do it. 1) In your AdminCP > Styles & Templates > Style Manager > Main CSS Options > Additional CSS place the following code: Code:
.postinfo {
border-top: solid 1px #E0E0E0;
border-left: solid 1px #E0E0E0;
border-right: solid 1px #D7D7D7;
border-bottom: solid 1px #D7D7D7;
margin: 3px 5px;
padding: 2px;
color: #808080;
background: #d2dee3;
font-size: 10px;
}
3) In your AdminCP > Styles & Templates > Style Manager > Edit Templates > postbit_legacy find the following code: For Join Date: (other Examples At The Bottom!) Code:
<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if> Code:
<if condition="$post['joindate']"><div class="postinfo">$vbphrase[join_date]: $post[joindate]</div></if> Other Examples. Code:
For Total Posts: Find: <div> $vbphrase[posts]: $post[posts] </div> Replace With: <div class="postinfo"> $vbphrase[posts]: $post[posts] </div> Code:
For Post Thank You Hack: Find: <tr><td class="alt1" colspan="3"><div>$post[post_thanks_bit]</div></td></tr> Replace With: <tr><td class="alt1" colspan="3"><div class="postinfo">$post[post_thanks_bit]</div></td></tr> Update: I have added another file "centered postbit" to help make everything appear centralised like shown in the demo. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
thnks.nice.
|
|
#3
|
|||
|
|||
|
Nice hack.
need more sample on other div as well. thank you. |
|
#4
|
|||
|
|||
|
how to get the exact same look like the demo ? its nice.
what item need to enable at the acp ? i am at default settings. thanks |
|
#5
|
|||
|
|||
|
Quote:
If not can you please explain further? Thanks, Paul. |
|
#6
|
|||
|
|||
|
Quote:
yes . everything in center and how to get the join date, locations, post, in position , is there some div to add in or select options in acp ? thanks |
|
#7
|
|||
|
|||
|
In order to make everything in the postbit_legacy to appear centre i'm afraid it is not as simple of selecting an option in the AdminCP, you will have to edit the postbit_legacy.
I will put together another tutorial file to help make everything central and add it on. Thanks, Paul. |
|
#8
|
|||
|
|||
|
Quote:
thanks Paul.
|
|
#9
|
|||
|
|||
|
I have added the centralised postbit file.
If you need any further help then please feel free to post. Thanks, Paul. |
|
#10
|
|||
|
|||
|
Quote:
i could not get the post count in the list. whats the code ? the code u provide for join date only i guess? |
![]() |
|
|