PDA

View Full Version : [Solved] Image from Profilefield


ArcadeSyndicate
11-08-2010, 07:30 PM
hello,

i have a little problem with a condition for vb4, wich was working fine in vb3. i used to show up an image beneath the username like on this picture...

http://www.images-syndicate.com/images/60977730729972462639.jpg

the old vb3 code was (template forumhome_loggedinuser)...


<!-- Usersmilie Start -->
<if condition="$online_userinfo[field6]"><img class="inlineimg" src="images/usersmilies/$online_userinfo[field6].gif" border="0" alt="$online_userinfo[field6]" /></a></if>
<!-- Usersmilie End -->
and also a plugin (hook forumhome_loggedinuser)

$online_userinfo = fetch_userinfo($loggedin['userid']);on postbit legacy i got it allready working fine with...

<!-- Usersmilie Start -->
<vb:if condition="$post['field6']"><dt><img class="inlineimg" src="http://www.***.com/vb/images/usersmilies/{vb:raw post.field6}.gif" border="0" alt="{vb:raw post.field6}" /></a></dt></vb:if>
<!-- Usersmilie End -->but on forumhome_loggedinuser similar code doesn't show up (see also box one, online_userinfo).

can anybody help me with this please?

best regards
arcadesyndicate



---

solved :D

it was bbuserinfo not userinfo anymore.