PDA

View Full Version : Additional user info in Postbit_legacy help


AllenMead
01-29-2006, 02:37 PM
My users all drive cars of one sort or another, I would like to be able to add a viewable option under for example their location that says 'Drives:' which users can type on their usercp what they drive.

The last bit, I have set up and works fine via the user profile fields, it's the first bit I'm having trouble with, i can get it to read the field, but not put the 'name' of the field visible when a user has entered what they drive. I only want the field to show, when data has been entered. Does that make sense?

This is the code i have for the postbit_legacy template

<if condition="$post['field6']"><div>$vbphrase[Drives]: $post[field6]</div></if>

Sinistra
01-29-2006, 03:27 PM
That should work. I will see what I can get done on my site. I been wanting to do this with Current anime watching. I will let ya know how it gose.