RobotJuice
Undercover Admin
Okay so basically what i am trying to do is make it so that a users avatar is their minecraft skin.
This is what i have.
Now my problem is that i want it to not set their avatar bassed on their username but rather from a custom field that they have there ign.
So i guess my problem is that i cant figure out how to direct it to a custom field.
I want it to take their imput from the 'Minecraft IGN'
This is what i have.
PHP:
protected static function _getDefaultAvatarUrl(array $user, $size)
{
return "http://minotar.net/helm/{$user['username']}/".XenForo_Model_Avatar::getSizeFromCode($size).".png";
}
Now my problem is that i want it to not set their avatar bassed on their username but rather from a custom field that they have there ign.
So i guess my problem is that i cant figure out how to direct it to a custom field.
I want it to take their imput from the 'Minecraft IGN'