PS - Boxed Postbit Information & Centered Postbit
This modification is in the archives.
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. http://www.tech-talk.co.uk/forum/annoucements-updates/4-welcome-tech-talk.html 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. Download
This modification is archived, downloads are still allowed. Screenshots |