sorry, here is the code:
if (!$is_invisible || $user_info['user_level'] == ADMIN) {
$user_online_list .= ($user_online_list != "") ? "<br />" : "";
$user_profile_link = (!empty($url_show_profile)) ? str_replace("{user_id}", $row['session_user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&".URL_USER_ID."=".$row['session_user_id'];
$userpic_img = ($config['userpic'] && @file_exists(ROOT_PATH."data/userpic/".$row['userpic']) && $user_info['user_level'] >= USER) ? "<img src=\"".ROOT_PATH."data/userpic/".$row['userpic']."\" width=\"100".$userpic_width."\" height=\"100".$userpic_height."\">" : "";
$user_age_birthday = $row['user_age_birthday'];
$user_country = $row['user_country'];
$user_gender = $row['user_gender'];
$whos_online_userpic = str_replace("{userpic_img}", "", $userpic_img);
$user_online_list .= "<a href=\"".$site_sess->url($user_profile_link)."\"><center> ".$user_country. $user_age_birthday. $user_gender. $whos_online_userpic."<br />".$username."</a>".$invisibleuser."</center>".REPLACE_EMPTY. REPLACE_EMPTY;
}
(!$is_invisible) ? $num_visible_online++ : $num_invisible_online++;
$num_registered_online++;
}
$prev_user_ids[$row['session_user_id']] = 1;
}
else {
if (!isset($prev_session_ips[$row['session_ip']])) {
$num_guests_online++;
if ($num_guests_online > 1){
$invitado_online_list .= " , ";
}
edit: about the userpic - yes, but they were to large, i have to resize them, but proportionaly
Here is the code from the db_field_definitions if that may help you:
$additional_user_fields['user_gender'] = array($lang['user_gender'], "dropdown", 0, array("n" => "---","b" => "NA", "m" => "Man", "w" => "Woman"), 1, 0, 0, 0);
$additional_user_fields['user_age_birthday'] = array($lang['user_age_birthday'], "text", 1);
here is the image location (from member_profile.html)
<img src="{template_url}/images/{user_gender}.gif">