in the file i said below, then find this line, i cannot find it myself, but this is where the code for the picture goes, between lines 74 and 114, here is my code, you might be able to spot it.
[code:1] // Display Avatar/Image:
$return = "";
if ( $ueConfig == '1' ) {
$cbMyIsModerator = isModerator( $my->id );
if ( $params->get( 'portrait_descrPos', 'above' ) == "above" ) {
$return .= $this->_writeTabDescription( $tab, $user, 'cbPortraitDescription' );
}
$name = htmlspecialchars(getNameFormat($user->name,$user->username,$ueConfig));
$return .= "\n\t\t\t\t<table cellpadding=\"5\" cellspacing=\"0\" border=\"0\" width=\"100%\"><tr>";
$uimage = $user->avatar;
if ( file_exists( "components/com_comprofiler/plugin/language/".$mosConfig_lang."/images" ) ) {
$uimagepath = "components/com_comprofiler/plugin/language/".$mosConfig_lang."/images/";
} else {
$uimagepath = "components/com_comprofiler/plugin/language/default_language/images/";
}
if ( $user->avatarapproved == 0 ) {
$uimage = $uimagepath."pendphoto.jpg";
} elseif ( $user->avatar == '' || $user->avatar == null ) {
$uimage = $uimagepath."nophoto.jpg";
}
else {
$uimage = "images/comprofcoiler/".$uimage;
}
$return .= "<td align=\"center\" width=\"100%\"><img src=\"".sefRelToAbs($uimage)."\" alt=\"".$name."\" title=\"".$name."\" /></td>";
if ( $user->avatarapproved == 0 && $cbMyIsModerator ) {
$uimage = "images/comprofiler/".$user->avatar;
$return .= "<td align=\"center\" width=\"100%\">"._UE_IMAGE_ADMIN_SUB.":<br /><br />"
. "<img src=\"".$uimage."\" alt=\"".$name."\" title=\"".$name."\" /></td>";
}
$return .= "</tr></table>";
if ( $params->get( 'portrait_descrPos', 'above' ) == "below" ) {
$return .= $this->_writeTabDescription( $tab, $user, 'cbPortraitDescription' );
}
}
return $return;
}
} // end class getPortraitTab[/code:1]