Im creating a loop where it pulls info about a users activity. the code is on the author page and what i want to to is get the current author ID, so based on what author page th
On an author archive the following will get the author ID:
$author_ID = get_query_var('author');
This will get you a lot more information:
$pageobj = get_queried_object();
http://codex.wordpress.org/Function_Reference/get_query_var
http://codex.wordpress.org/Function_Reference/get_queried_object