I got really used to function qa_db_usermeta_get() and thought the same would exist for the userprofile fields. However, it does not yet.
@Scott: Please consider adding:
// CUSTOM function added
function qa_db_user_profile_get($userid, $field)
{
return qa_db_read_one_value(
qa_db_query_sub(
'SELECT content FROM ^userprofile
WHERE `userid` = #
AND `title` = #',
$userid, $field),
true);
}
Thanks.