Quote:
Originally Posted by Xexiu
If the actual user is browsing his/her profile, show her/his avatar. If he browses a different profile, show the avatar of that profile/user.
|
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