PDA

View Full Version : [solved] full size avatar instead of thumb in profile?


mattpist
06-15-2009, 01:10 AM
Hi, I was wondering if someone could help me figure out how to make my user's profile use the fullsize avatar instead of the thumbnail one in the "mini statistics" box. that one is just too small.

ideally id like to put it next to the user name as well (instead of the mini statistics box).

this is what my profile pages look like right now.

http://squattheplanet.com/forum/members/mattpist

Thanks in advance for any help you can give!

ForumsMods
06-15-2009, 01:25 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=179172" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=179172</a>

mattpist
06-15-2009, 08:48 PM
that worked! thanks! now to just move it over by the user name... hmm...

--------------- Added 1245109585 at 1245109585 ---------------

i decided against moving it over by the user name, as it looked better in the mini statistics box.

here's my code changes for anyone that's curious.

find this code:

<if condition="$prepared['avatarurl']">
<td><img src="$prepared[avatarurl]" alt="<phrase 1="$prepared[username]">$vbphrase[xs_avatar]</phrase>" $prepared[avatarsize] class="alt2" id="user_avatar" /></td>
</if>

...and delete it.

find this code (at the very top of the edit box):

<div class="alt1 block_row">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">

paste above it:

<if condition="$prepared['avatarurl']">
<td><img src="$prepared[avatarurl]" alt="<phrase 1="$prepared[username]">$vbphrase[xs_avatar]</phrase>" class="alt2" id="user_avatar" width="246"/></td>
</if>

and change the width value as needed. this will only work after following the instructions Gasper linked to above. Thanks Gasper!

MagicThemeParks
01-23-2010, 01:14 AM
I guess that you mean paste "below" the last part of code and not "above".

Thanks for the tip! :up: