Allow replacement of current userid so we can cache these queries
function user_views_query_substitutions($view) { global $user; return array( '***CURRENT_USER***' => intval($user->uid), ); }