The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Profile Fields in template MEMBERINFO
Well im creating a new profile layout based off of myspace profiles.
http://i249.photobucket.com/albums/g...weenx_/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. PHP Code:
Thanks for your time and patience, - Trinity Entertainment |
#2
|
||||
|
||||
Try $userinfo[field14] or maybe $prepared[field14]. See if either of those work.
|
#3
|
|||
|
|||
Thank you for your help.
$userinfo[field14] worked great Thanks for your time and patience, - Trinity Entertainment |
#4
|
||||
|
||||
In some occasions you could use an IF statement if needed, leaving the field invisible when nothing was filled in:
Code:
<if condition="$userinfo['field14']"> <div align="center">$userinfo[field14]</div> </if> Code:
<if condition="$userinfo['field14']"> <div align="center">$userinfo[field14]</div> <else /> Show a shiny picture.. </if> |
#5
|
|||
|
|||
Thanks
HTML Code:
<if condition="$userinfo['field14']"> <div align="center">$userinfo[field14]</div> <else /> <div align="center">User Has Not Specified a Profile Status. </div> </if> http://i249.photobucket.com/albums/g...weenx_/666.png Thanks for your time and patience, - Trinity Entertainment |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|