NEO_vbulletin3_import6908
New Member
Ok heres the deal:
I used this tutorial: http://www.vbteam.info/req-addons-t...8-req-3-more-custom-profile-fields-hacks.html for making the profile fields into boxes
this is the part i followed
and i got all of the fields into boxes but when i go to edit the "posts" code
(that is my code from my forum for the postbit legacy)
i still have the "location" and "interests" fields there below the "posts" field.
(The Stuff circled in orange in the picture at the top of this post will help you understand my problem)
How can I remove the stuff circled in orange to just have the "Posts" field?
Any help is appreciated!
I used this tutorial: http://www.vbteam.info/req-addons-t...8-req-3-more-custom-profile-fields-hacks.html for making the profile fields into boxes
this is the part i followed
SpeedRazors said: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
and click SaveCode:.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; }
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']">[color=red]<div class="postdata">[/color]$vbphrase[join_date]: $post[joindate]</div></if> <if condition="$post['field2']">[color=red]<div class="postdata">[/color]$vbphrase[location_perm]: $post[field2]</div></if> <if condition="$post['age']">[color=red] <div class="postdata">[/color]$vbphrase[age]: $post[age]</div></if> [color=red]<div class="postdata">[/color] $vbphrase[posts]: $post[posts] </div> <if condition="$show['infraction']">[color=red]<div class="postdata">[/color]$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!
and i got all of the fields into boxes but when i go to edit the "posts" code
Code:
<div class="smallfont">
<br />
<div class="postdata">$vbphrase[posts]: $post[posts]</div>
i still have the "location" and "interests" fields there below the "posts" field.
(The Stuff circled in orange in the picture at the top of this post will help you understand my problem)
How can I remove the stuff circled in orange to just have the "Posts" field?
Any help is appreciated!