I think the profile picture isn't showing up because it's only included in the template if the code sets $show['profilepic'] to true, and that only happens if profile.php thinks you're editing the profile picture (do=editprofilepic), and obviously "do" can't be editavatar and editprofilepic at the same time. You might be able to make a plugin using hook location profile_editavatar_start then copy the code from the "$_REQUEST['do'] == 'editprofilepic'" section of profile.php.
Or if you don't want to tackle that, there might be some way to modify the template to handle the possibility of no profile picture without using the $show['profilepic'] variable (although the 'editprofilepic' code also handle permissions and max sizes, etc, so it's probably best to try the plugin thing).
|