small request please

SpeedRazors

New Member
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;
}
You may change the colors as desired.

2. Then in your postbit_legacy/postbit template:-

Find this:-


Code:
<div class="smallfont">
				&nbsp;<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>
And replace with this:-


Code:
<div class="smallfont">
				&nbsp;<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>
Hope this helps !
 
Top