grecostimpy
03-07-2010, 12:17 AM
I'm trying to add a custom profile field to the template "memberaction_dropdown"
<vb:if condition condition="$post['field5']">
<li class="left">
<img src="{vb:stylevar imgdir_siteicons}/profile.png" alt="" />
Real Name: $post[field5]
</li>
</vb:if>
I am completely new to VB4, so please bear with me. I also tried it without the if statement and it just renders Real Name: $post[field5] on my website.
I read something about registering variables, but did not quite understand it. Could that be why my custom profile field is not appearing (memberaction_dropdown not having "post" registered?)
Any help is always greatly appreciated.
Thank you.
Edit: Also tried {vb:raw post.field5} with no luck either.
<vb:if condition condition="$post['field5']">
<li class="left">
<img src="{vb:stylevar imgdir_siteicons}/profile.png" alt="" />
Real Name: $post[field5]
</li>
</vb:if>
I am completely new to VB4, so please bear with me. I also tried it without the if statement and it just renders Real Name: $post[field5] on my website.
I read something about registering variables, but did not quite understand it. Could that be why my custom profile field is not appearing (memberaction_dropdown not having "post" registered?)
Any help is always greatly appreciated.
Thank you.
Edit: Also tried {vb:raw post.field5} with no luck either.