jacken |
|
---|---|
hi dudes
im trying to get the user avatar in the header under the control panel. i found this thread - http://www.cotonti.com/forums.php?m=posts&p=13554 and ive done like medj did. in common.php i added $usr['avatar'] = $row['user_avatar']; in header.php i added "HEADER_USER_AVATAR" => sed_build_userimage($usr['user_avatar'], 'avatar'), and in the header tpl file i added {HEADER_USER_AVATAR} where i wanted it. the problem is that it only gives me a pic of the default avatar instead of the one that the user is using all help is appreciated |