PDA

View Full Version : Need Help with customizing Postbit


JackRock
01-18-2009, 04:45 AM
I want to have the Join date and location appear on the left side of the post, if possible. Preferably under the avatar (or where it would be). I cannot seem to figure out how to do this is in postbit, and I don't think it'd be edited elsewhere.

any help would be greatly appreciated.

princeedward
01-18-2009, 08:08 AM
I want to have the Join date and location appear on the left side of the post, if possible. Preferably under the avatar (or where it would be). I cannot seem to figure out how to do this is in postbit, and I don't think it'd be edited elsewhere.

any help would be greatly appreciated.as far as i know...this is a vb default feature....same as here...hmmm...are you using or referring to postbit or postbit legacy style?
which vb version?
well if you mean postbit legacy... for my vb 3.6.8 i add only the code below ( FOR YOU ADD IT ANYWHERE YOU WANT)

1ST: GO

Admin CP > Styles & Templates > Style Manager > ? ? > Postbit Templates > postbit or postbit_legacy(depending on which layout you are using)


For Join Date:

<if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>

For Location:

<if condition="$post['field2']"><div>$vbphrase[location_perm]: $post[field2]</div></if>

hope this will help you...or maybe someone can correct this if it's wrong...

best regards
:p

JackRock
01-18-2009, 05:36 PM
OMG, I'm sorry, I forgot to post the basics. Crap, my fault.

VB Version 3.8, using Postbit (not Legacy)

I can try seeing if it works in Legacy, though. But my postbit entries look exactly like the ones you have above. Just no way to say "left side of the table cell".

--------------- Added 1232307704 at 1232307704 ---------------

Okay. Got somewhere, but not exactly. I had to play with moving it to another <div> tag.

EDIT: Yup. That's what it was. Just had it in the wrong <div> tag section. Problem solved. Rock on!