coolegg
02-28-2012, 09:16 PM
I'm trying to add a custom profile field to the About Me tab. The field is a textarea - and for many users the field will be multiple paragraphs.
This basically work for me in MEMBERINFO:
<vb:if condition="$userinfo[field14]">
<div class="subsection block">
<div class="blocksubhead subsectionhead userprof_headers userprof_headers_border">
<h4 class="subsectionhead-understate" style="width:100%">More About Me</h4><br>
</div>
<div class="blockbody subsection userprof_content userprof_content_border">
{vb:var userinfo.field14}
</div>
</div>
</vb:if>
But I have a problem... the field ({vb:raw userinfo.field14}) is all run together with no paragraph breaks. The new line chars do not get converted into html break lines.
There is a function in vb that seems to do what I want for custom profile fields (fetch_profilefield_display) but its results do not end up in $userinfo[field14] it seems.
Is there another variable besides userinfo.fieldXX that has been parsed with html breaks?
Thanks in advance for the help.
This basically work for me in MEMBERINFO:
<vb:if condition="$userinfo[field14]">
<div class="subsection block">
<div class="blocksubhead subsectionhead userprof_headers userprof_headers_border">
<h4 class="subsectionhead-understate" style="width:100%">More About Me</h4><br>
</div>
<div class="blockbody subsection userprof_content userprof_content_border">
{vb:var userinfo.field14}
</div>
</div>
</vb:if>
But I have a problem... the field ({vb:raw userinfo.field14}) is all run together with no paragraph breaks. The new line chars do not get converted into html break lines.
There is a function in vb that seems to do what I want for custom profile fields (fetch_profilefield_display) but its results do not end up in $userinfo[field14] it seems.
Is there another variable besides userinfo.fieldXX that has been parsed with html breaks?
Thanks in advance for the help.