PDA

View Full Version : Profile Fields in template MEMBERINFO


TrinityEnt
03-08-2009, 04:53 PM
Well im creating a new profile layout based off of myspace profiles.
http://i249.photobucket.com/albums/gg215/_xHalloweenx_/455.png

How would I make a field viewable.
example:
I make a User Profile field for a additional status message
I want to make it display that on the memberinfo template when viewed

I thought this is what it should be, but it doesnt seem to work.
<div align="center">$post[field14]</div>
any help would be appreciated



Thanks for your time and patience,
- Trinity Entertainment

Lynne
03-08-2009, 05:01 PM
Try $userinfo[field14] or maybe $prepared[field14]. See if either of those work.

TrinityEnt
03-08-2009, 05:08 PM
Thank you for your help.
$userinfo[field14] worked great

Thanks for your time and patience,
- Trinity Entertainment

Taragon
03-08-2009, 05:18 PM
In some occasions you could use an IF statement if needed, leaving the field invisible when nothing was filled in:
<if condition="$userinfo['field14']">
<div align="center">$userinfo[field14]</div>
</if>
or
<if condition="$userinfo['field14']">
<div align="center">$userinfo[field14]</div>
<else />
Show a shiny picture..
</if>
just play around with it a bit :)

TrinityEnt
03-08-2009, 05:29 PM
Thanks

<if condition="$userinfo['field14']">
<div align="center">$userinfo[field14]</div>
<else />
<div align="center">User Has Not Specified a Profile Status.
</div>
</if>

Works Great
http://i249.photobucket.com/albums/gg215/_xHalloweenx_/666.png


Thanks for your time and patience,
- Trinity Entertainment