Another note:
I added this section:
PHP Code:
elseif ($profilefield['type'] == 'radio' OR $profilefield['type'] == 'select')
{
$data = unserialize($profilefield['data']);
foreach ($data AS $key => $val)
{
$key++;
if ($val== $profileLinks[$ii])
{
$radiovalue = $key;
break;
}
}
if ($profilefield['optional'] AND $radiovalue == '')
{
$radiovalue = $profileLinks[$ii];
}
$profileLinks[$ii] = " <a href='".$vboptions['bburl']."/memberlist.php?".$vbulletin->session->vars['sessionurl']."do=getall&".$profilefieldname."=".urlencode(trim($radiovalue))."'>".trim($profileLinks[$ii])."</a> ";
}
before
PHP Code:
else
{
$profileLinks[$ii] = " <a href='".$vboptions['bburl']."/memberlist.php?".$vbulletin->session->vars['sessionurl']."do=getall&".$profilefieldname."=".urlencode(trim($profileLinks[$ii]))."'>".trim($profileLinks[$ii])."</a> ";
}
and it fixed a bug with radio and select profile fields.
This is for 3.0.x, NOT 3.5 though but I believe same fix should apply to 3.5 versions (but I did NOT test it!). However $vboptions parts in the code above should be $vbulletin->options. Obviously buro9 can advise better.