![]() |
Neater Postbit Legacy Fields
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:
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> Code:
<if condition="$post['joindate']"><div class="postdata">$vbphrase[join_date]: $post[joindate]</div></if> 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!:) |
Some styles box them by default ^^
|
Brilliant thanks a lot for this!
|
thanks
|
So if I add more profile fields does that mean I have to edit them too with the ones you put in red?
|
Quote:
|
I have been looking for this for a while now. Good addition. Some questions though.
1. What is the point of ".usertitle { color: #444; }" ? 2. In the .postdata, what does "color: #808080;" do? 3. How do I get the boxes to be fully left aligned with everything else in the postbit? Currently it is indented a bit. |
Quote:
2)tha'ts the color you can change it as you wish.try playing around with it to suit your styles 3)what you mean by align with everything else in the postbit?try add the texts without the brackets [align="left"] after the <div tag and see? you have a screenshot? |
Won't Work For Me :(
Look At The Screen Shot It Does Nothing :( I Added The <div class"postdata"> and it doesn't do anything :( can you possibley add them for me Quote:
It Doesn't Change The Template At All Screenshot Attached |
Just add the tag <div class="postdata"> before the fields e.g Age: $post[age] and </div> after it.Add another <br /> to make the next field below and remove all those <td> tags in the original codes.
|
All times are GMT. The time now is 03:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|