Ugh. I hate reading code I do not fully understand. It makes me feeling like a programming n00b all over again.
As I read further, could it be THIS that I need to modify?
member.php lines 1379-1399:
Code:
// get extra profile fields
$customfields = '';
$profilefields=$DB_site->query("SELECT profilefieldid,required,title
FROM profilefield
WHERE hidden=0
ORDER BY displayorder");
while ($profilefield=$DB_site->fetch_array($profilefields)) {
if ($backcolor=="{firstaltcolor}") {
$backcolor="{secondaltcolor}";
$bgclass = "alt2";
} else {
$backcolor="{firstaltcolor}";
$bgclass = "alt1";
}
$profilefieldname="field$profilefield[profilefieldid]";
$profilefield[value]=$userinfo[$profilefieldname];
eval("\$customfields .= \"".gettemplate("getinfo_customfields")."\";");
}
Maybe this line (1395):
$profilefield[value]=$userinfo[$profilefieldname];
Should be changed to something like this? ==>
Code:
if($profilefieldname == "Your Real Life Picture" || $profilefieldname == "Your Character's Picture") {
$profilefield[value]= <a target="_blank" href="$userinfo[$profilefieldname]">$userinfo[$profilefieldname]</a> ;
} else {
$profilefield[value]=$userinfo[$profilefieldname];
}
or
Code:
if($profilefieldname == "Your Real Life Picture" || $profilefieldname == "Your Character's Picture") {
$profilefield[value]= "<a target="_blank" href="$userinfo[$profilefieldname]">$userinfo[$profilefieldname]</a>" ;
} else {
$profilefield[value]=$userinfo[$profilefieldname];
}
???