XF 1.2 Issue when Advetar.

winter4w

Active member
Ok so with the default theme it works but it does not work with the flexlie theme. In the Core.php I added this code
Code:
 protected static function _getDefaultAvatarUrl(array $user, $size)
    {
        return "http://minotar.net/helm/{$user['username']}/".XenForo_Model_Avatar::getSizeFromCode($size).".png";
    }
under the rotected static function _getDefaultAvatarUrl(array $user, $size). I had this so that the default avatar will be there mc skin. But when I changed the theme it went back to the default xenforo one. Can someone please help me so it can be the minecraft one. Thanks
 
Did you replace the default in the styles image directory? However, questions related to resources should be posted in their respective discussion threads.
 
Top Bottom