The issue has been found and resolved in the trunk as of [286066]. However, if you wish to fix it for your current version, open up the file "theme-my-login/modules/themed-profiles/includes/template-functions.php". Look for the following at the beginning of the file:
function wdbj_tml_themed_profiles_display() {
global $current_user, $action, $redirect, $profile, $user_id, $wp_http_referer;
And simply add $profileuser to the global list, as follows:
function wdbj_tml_themed_profiles_display() {
global $profileuser, $current_user, $action, $redirect, $profile, $user_id, $wp_http_referer;
User photo will now work with themed profiles.
If the author of "User Photo" is reading this, you should add $profileuser as a parameter to userphoto_display_selector_fieldset(), instead of declaring it globally, as it is passed into the hook precisely for this reason.