Back to vBulletin 3.6 Template Modifications

Neater Postbit Legacy Fields
Mod Version: 1.00, by Adam21

This modification is in the archives.
vB Version: 3.6.7 Rating: (3 votes - 5.00 average) Installs: 61
Released: 27 May 2007 Last Update: Never Downloads: 20
Not Supported Template Edits  

Hi.I would like to share my postbit_legacy template codes with you guys.Here's another way to make your postbit legacy info look neater.Your Post counts,Location and any other info which you want,can be 'boxed' up nicely under your avatar.This should work in most versions of vb i believe and should be able to use it in the postbit template too though i havent try that out yet.Anyway,here how to do it....

1)In your Admincp,under Style Manager,Main CSS options,add inside the Additional CSS box
Code:
.postdata { 
	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: #FFFFFF;
	font-size: 10px; 
}
and click Save

NOTE:You should change the color of the background of the box or size accordingly to the style you are using.

2)In your AdminCP,Style Manager,Edit Templates options,go to edit the Postbit_Legacy option,under this code,

Code:
					<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>
				<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
Edit the relavent <div> tags that you wish to become enclosed in the box to become <div class="postdata">.Meaning,you should get something like this

Code:
				<if condition="$post['joindate']"><div class="postdata">$vbphrase[join_date]: $post[joindate]</div></if>
				<if condition="$post['field2']"><div class="postdata">$vbphrase[location_perm]: $post[field2]</div></if>
				<if condition="$post['age']"> <div class="postdata">$vbphrase[age]: $post[age]</div></if>
				<div class="postdata">
					$vbphrase[posts]: $post[posts]
				</div>
				<if condition="$show['infraction']"><div class="postdata">$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
See those changes i've made in red to what i meant.You can have as many details as enclosed neatly in the boxes and in what colors as you wish(just edit the values in the Step 1)

Screenshot below.I'm just sharing what i think is neat,i'm not a designer nor coder,so dont be hard on me!Thanks for reading!

Download

No files for download.

Screenshots

Click image for larger version
Name:	01-08-2006_15-36-21.jpg
Views:	3383
Size:	52.1 KB
ID:	64771  

Similar Mods

Show Thread Enhancements Showing Custom Profile Fields On Postbit And Postbit Legacy vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024