PDA

View Full Version : Show profile picture instead of avatars in 3.7


ndahiya
04-18-2008, 10:14 PM
Can i show profile picture instead of avatars in 3.7 in friends list etc? do not use avatars on the site, but members have pics, so would rather see them use that...
the avatar appears not to be explicitly referred in the templates ???? else would have edited the templ to add the pic and hide the avatar...

TIA.

The Chief
09-01-2008, 05:02 PM
Looking for the exact same thing, haven't got a response still...

xXLeighXx2008
09-01-2008, 06:45 PM
Look for where it calls the avatar, and replace with:

<if condition="$prepared['profilepicurl']">
<img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" />
</if>
<br>

The Chief
09-01-2008, 07:11 PM
Look for where it calls the avatar, and replace with:

<if condition="$prepared['profilepicurl']">
<img src="$prepared[profilepicurl]" $prepared[profilepicsize] alt="<phrase 1="$prepared[username]">$vbphrase[xs_picture]</phrase>" />
</if>
<br>

No offence, but I saw your post before... that's just for their profile, and the code is already in memberinfo.

I think what this guy and I are trying to figure out, is replacing the avatar (site-wide) by the profile picture. friends/posts/memberlist, etc.

thanks though!

xXLeighXx2008
09-01-2008, 09:26 PM
This code can be used anywhere.
I have used this on my postbit and postbit_legacy.

Its just simply calling the profile picture.