To fix any odd problems regarding permissions, you can CHMOD it using PHP.
Add the code above line 128 where it says "$success_message = "Your avatar has been uploaded.";
chmod("/PATH/TO/FORUMS/".$config->avatar_dir . $user_filename, 0666);
I was just being an idiot, nevermind. I thought the ID field was for login name, but it was for the numerical ID, which I can get easily.