$hook_query_fields .= ' , userfield.* '; $hook_query_joins = "LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(userfield.userid = post.userid)";