The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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 |
#42
|
|||
|
|||
I am afraid I am unable to help you then because the Thank You hack nor the Images count are in that postbit_legacy.
Thanks, Paul. |
#43
|
|||
|
|||
Hi,
When fields aren't filled in, the box is appearing (smaller, but it's there). For instance, if a member has no contacts (AIM, YIM, etc.), a box appears in it's place which is smaller but still present. It looks quite bad -- especially if there are multiple ones. Is there anyway to get rid of this? |
#44
|
|||
|
|||
For the Thank You to appeared 'boxed',simply edit the Post Thank template,not the postbit legacy template.If you'be box within a box,you'll need to edit out one of the .postinfo DIV tags in either field.
|
#45
|
|||
|
|||
Quote:
Thanks, Paul. |
#46
|
|||
|
|||
Hello first thank nice but I have small problems, I can`t thank parts not change in postbitlegacy is no code that ..can you help me? And this code did you wrong geschreiben For Post Thank You Hack: Code:
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="postingo">$post[post_thanks_bit]</div></td></tr> |
#47
|
|||
|
|||
updated. Thanks.
Can someone please post the link to the Post Thank You Hack your using and ill try to find a suitable solution. Thank, Paul. |
#48
|
||||
|
||||
Ok I've spent some time trying to get this to work on my forum and I'm not too sure what I'm doing wrong.
Fist I'm running VB 3.7 RC1 and I'm assuming this is something we can do with it. If so I've tried this on 2 diff templates and nothings happened. I tried just with the "join date" and well I got the bg to change color and that's about it. Nothing has been boxed in and moved to the left. Any ideas since I really prefer this method than the standard. Any help is appreciated. |
#49
|
|||
|
|||
Quote:
Yes this is possible on vBulletin 3.7 RC 1. If you wish to post your postbit_legacy template and I will 'show' you how to do it. Thanks, Paul. |
#50
|
||||
|
||||
how do i go about centreing the bits including the avatar in this screenshot
|
#51
|
|||
|
|||
Quote:
Please see the original thread and download the centered_postbit.txt file. Thanks, Paul. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|