Changed  $bp_unfiltered_uri check to is_page()

Also changed naming conventions