I would like to display this type of info under the user title of each member:
Code:
1992 Mazda B2200
Engine Size: v4
Transmission: 5 speed
I have created 5 new User Profile Fields.
I would like to display this info next to each users nick below the $post[usertitle] in the postbit template.
My problem is I am not sure how to show different info for each user?
Here is what I have so far:
Code:
<!-- vehicle display info -->
<br> <span class="smallfont"> $bbuserinfo[field6] $bbuserinfo[field7] $bbuserinfo[field8] <br> Engine Size: $bbuserinfo[field9] <br>
Transmission: $bbuserinfo[field10]
</span>
<!--- /vehicle display info --->
Think I need to use something like this:
Code:
<!-- vehicle display info -->
<if condition="!$bbuserinfo['userid']">
<span class="smallfont">Registered members, to display your vehicles year, make, model here.<br />
<else />
<if condition="$bbuserinfo[field2] !=''"> alt="$bbuserinfo[field2]" border="0"></a>
<else />
<A HREF="$vboptions[bburl]/profile.php?do=editprofile">Year</A> to display the stats.
</if>
</if>
</span>
</td>
</tr>
</table>
<br/>
<!--- /vehicle display info --->
Any help?
Thanks.
I figured out how to make it work!

Thanks anyway!
Code:
<!--- vehicle display info --->
<br> <span class="smallfont">
<if condition="$post['field6']"><div> $post[field6]</div></if>
<if condition="$post['field7']"><div> $post[field7]</div></if>
<if condition="$post['field8']"><div> $post[field8]</div></if>
<if condition="$post['field9']"><div>Engine Size: $post[field9]</div></if>
<if condition="$post['field10']"><div>Transmission: $post[field10]</div></if>
</span>
<!--- /vehicle display info --->