On "my blog", the user's profile pics are there and NOT avatars, is this the way it's supposed to be?
Profile Pic or Avatar?
Collapse
X
-
Tags: None
-
That is how it does work. You should be able to edit the user sidebar template and replace the condition that chooses the profile pic with just the avatar code if that is what you want.Comment
-
Could you give just a little more direction there?
A lot of my users have oversized profile pictures and that obscures the blog content.Comment
-
-
Comment
-
If they aren't being resized then that means they are older profile pictures that predate the time when we started storing the dimensions of the image. You can reupload those specific images, wait for 1.0.1 for a script to update the images, or you can try the user supplied code at http://www.vbulletin.com/forum/proje...?issueid=23095Comment
-
I found the template (blog_sidebar_user) but not really sure what code to search for to find the profile picture and replace with the avatar picture.
Could you give just a little more direction there?
A lot of my users have oversized profile pictures and that obscures the blog content.
Direction will be appreciated though - As I want to show the avatar - just don't see an option for that anywhere.
Help please!
Jacquii.
PHP Code:<if condition="$show['profilepic']">
<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[profilepicurl]" $userinfo[ppwidth] $userinfo[ppheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_profilepic]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['ppwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
</div>
<else />
<if condition="$show['avatar']">
<div style="text-align:center; margin-bottom:$stylevar[cellpadding]px">
<a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[avatarurl]" $userinfo[avwidth] $userinfo[avheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['avwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a>
</div>
</if>
</if>
Comment
-
Try replacing all of that code withHTML Code:<if condition="$show['avatar']"> <div style="text-align:center; margin-bottom:$stylevar[cellpadding]px"> <a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="$userinfo[avatarurl]" $userinfo[avwidth] $userinfo[avheight] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" class="alt2" style="<if condition="$userinfo['avwidthpx'] > 180">max-width:180px; height:auto; width:auto !important; width:180px<else />display:inline</if>" /></a> </div> </if>
Comment
-
Works like a charm = Thanx FREDDIE
Jacquii.Comment
Related Topics
Collapse
-
by dannycszHi,
is profile pic and avatar the same or they are different?...-
Channel: Support Issues & Questions
-
Comment