Josh,
I took the Showprofile.php and Showprofile.tmpl hack for this from 6.1 and tried it as was and with some estimated changes, none of which worked for me
If you get time it would be nice to tie the loose end on this hack.
Here is what I last tried in showprofile.php which is breaking somewhere in here. Could it be the (elsif) statement (I'm doing 3 levels of support)?
// ------------------------------
// Grab the profile for this user
$User = addslashes($User);
$query = "
SELECT U_Username,U_Fakeemail,U_Name,U_Totalposts,U_Homepage,U_Occupation,
U_Hobbies,U_Location,U_Bio,U_Extra1,U_Extra2,U_Extra3,U_Extra4,U_Extra5,
U_Registered,U_Picture,U_Title,U_Status,U_Number,U_Rating,U_Rates,
U_Picwidth,U_Picheight,U_Groups,U_BirthMonth,U_BirthDay,U_BirthYear
FROM {$config['tbprefix']}Users
WHERE U_Number = '$User'
";
$sth = $dbh -> do_query($query);
// ----------------
// Assign the stuff
list ($CheckUser,$Fakeemail,$Name,$Totalposts,$Homepage,$Occupation,
$Hobbies,$Location,$Bio,$ICQ,$Extra2,$Extra3,$Extra4,$Extra5,
$Registered,$Picture,$Title,$Userstatus,$UNumber,$Rating,$Rates,
$width,$height,$Groups,$BirthMonth,$BirthDay,$BirthYear) = $dbh -> fetch_array($sth);
$dbh -> finish_sth($sth);
//-----------------
//See if they get a status flag - by JoshPet
if(preg_match("/-5-/",$Groups)) {
$UserGroup = "<img src="{$config['images']}/specialflag5.gif" alt="SuperSport Supporter" border="0" />";
}
elseif(preg_match("/-6-/",$Groups))
$UserGroup = "<img src="{$config['images']}/specialflag6.gif" alt="Superbike Supporter" border="0" />";
}
elseif(preg_match("/-7-/",$Groups))
$UserGroup = "<img src="{$config['images']}/specialflag7.gif" alt="GP Supporter" border="0" />";
}
else {
$UserGroup = "";
}