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
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
Code:
protected static function _getDefaultAvatarUrl(array $user, $size)
{
return "http://minotar.net/helm/{$user['username']}/".XenForo_Model_Avatar::getSizeFromCode($size).".png";
}