avatars not displaying after upgrade to 2.3.8 [message #10970] |
Sun, 15 June 2003 06:04 |
|
Hi
As the title says, we just performed an upgrade to 2.3.8, and the avatars are now not displaying next to the posts, although they are showing in the users profile. We only allow uploading of avatars, no URLs. I'm guessing it could be a template issue, although I did switch back to the default template with no luck. Any ideas?
Regards
Sam
|
|
|
Re: avatars not displaying after upgrade to 2.3.8 [message #10973 is a reply to message #10970] |
Sun, 15 June 2003 08:23 |
|
ok a little more info.
I found the follow lines in the src/drawmsg.inc.t file:
if( !empty($obj->user_id) ) {
$disable_avatar = ( $obj->level_pri == 'L' || (_uid && $GLOBALS["usr"]->show_avatars=='N') ) ? 1 : 0;
However if I manually set disable_avatar to 0, then the avatars get displayed. So now just h
However if I manually set disable_avatar to 0, then the avatars get displayed. So now just have to figure out why disable_avatar is being set to 1.
sam.
[Updated on: Sun, 15 June 2003 08:26] Report message to a moderator
|
|
|
|
|
Re: avatars not displaying after upgrade to 2.3.8 [message #10976 is a reply to message #10970] |
Sun, 15 June 2003 09:07 |
|
Ok it seems level_pri is tied to the rank manager (from database field fud_level.pri). Therefore I'm guessing you need "Avatar & Rank Image" set - doh!
oh well at least I learnt something in the meantime... problem solved, if not by the long way round...
thanks for reading! You can ignore all of this now!!
sam.
|
|
|
|