Quote:
Originally Posted by guvner
OK, they're just like I wrote above, but here they are again:
Member 1 (with red X in donor admin)
Code:
http://www.mysite.com/forum/admincp/images/avatars/49toon.gif
Member 1 - Normal forum path
Code:
http://www.mysite.com/forum/images/avatars/49toon.gif
Compared to a member with an avatar that works fine in both areas:
Donor admin path
Code:
http://www.mysite.com/forum/image.php?u=423&dateline=1113379178
Member 2 - Normal forum path
Code:
http://www.mysite.com/forum/image.php?u=423&dateline=1113379178
Any clues there?
|
Yep
in donation_admin.php find:
PHP Code:
if ($user_row['avatarid']){
$avatarurl = $user_row['avatarpath'];
} else {
if ($user_row['hascustomavatar']){
if ($vboptions['usefileavatar']){
$avatarurl = $vboptions['avatarurl']."/avatar".$row['userid']."_".$user_row['avatarrevision'].".gif";
} else {
$avatarurl = $vboptions['bburl']."/image.php?".$session['sessionurl']."u=".$row['userid']."&dateline=".$user_row['avatardateline'];
}
} else {
$avatarurl = '';
}
}
replace with:
PHP Code:
if ($user_row['avatarid']){
$avatarurl = $vboptions['bburl']."/".$user_row['avatarpath'];
} else {
if ($user_row['hascustomavatar']){
if ($vboptions['usefileavatar']){
$avatarurl = $vboptions['bburl']."/customavatars/avatar".$row['userid']."_".$user_row['avatarrevision'].".gif";
} else {
$avatarurl = $vboptions['bburl']."/image.php?".$session['sessionurl']."u=".$row['userid']."&dateline=".$user_row['avatardateline'];
}
} else {
$avatarurl = '';
}
}
Fixed *Should be anyway*. Will be in next update
Thank you!