For groupblog redirect, use get_home_url() instead of get_blog_details().
Declare new stdClass for $bp->groupblog object.