Thanks don,
Tested it and doesnt work!
I have thge following code:
Code:
<if condition="$prepared['profilepicurl']">
<img src="$user_ava[0]" /> // Shows the currently user avatar (the one that's browsing his/her profile)
<else />
<img src="$userinfo[avatarurl]" /> // Doesnt show the avatar (no image) on other profiles, neither on his/her own if I change $user_ava[0]!
</if>
Quote:
Originally Posted by darnoldy
Okay, so you say this a different way...you want people's avatar to be displayed on their profile page?
You shouldn't need a plugin for that--just a template edit. In the postbit, the avatar is displayed by the following code:
HTML Code:
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
I would start by changing $post to $userinfo...
HTML Code:
<img src="$userinfo[avatarurl]" $userinfo[avwidth] $userinfo[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" />
and placing that code in the memberinfo template, to see if that works.
--don
|