Atmazphere
Member
I'm currently searching for the file library/XenForo/Template/Helper/Core.php from XenForo 1. The paths are not the same anymore, anyone know where this file went? I'm specifically looking for the avatar part. I'm looking to implant my own API for images. In XF1, it was the following code that was implanted, but since updating to XF2, I can't seem to find the solution other than an addon.
Code:
protected static function _getDefaultAvatarUrl(array $user, $size)
{
return "http://minotar.net/helm/{$user['username']}/".XenForo_Model_Avatar::getSizeFromCode($size).".png";
}