The 3.7.2 member.php has changed that code to the following (see below), you should be able to replace the old code with the new stuff (untested), although just removing it as above works too.
Code:
$vbulletin->GPC['simple'] = ($prepared['myprofile'] ? $vbulletin->GPC['simple'] : false);
$profileblock =& $blockfactory->fetch('ProfileFields');
$profileblock->build_field_data($vbulletin->GPC['simple']);
foreach ($profileblock->locations AS $profilecategoryid => $location)
{
if ($location)
{
$blocklist["profile_cat$profilecategoryid"] = array(
'class' => 'ProfileFields',
'title' => $vbphrase["category{$profilecategoryid}_title"],
'options' => array(
'category' => $profilecategoryid,
'simple' => $vbulletin->GPC['simple'],
),
'hook_location' => $location
);
}
}
Out of interest, don't you have to have Jelsoft's permission to copy such a sizeable chunk of their work? Your myfriends.php file is exactly the same as Jelsoft's member.php.