Hi all. I've modified wp-signup.php to allow users to signup and activate a blog in a single step. After a new user enters their desired account info, their user account and blog are activated automatically. Now I need to add a final step to the process:
I would like to login the user and bring them to their admin page right away, without having them retype their info at the login screen. I found the following thread and it helped:
http://mu.wordpress.org/forums/topic.php?id=6341
But I'm getting "headers already sent" errors when trying to add wp_setcookie() within wp-signup.php to set the login token for my new user.
Can anyone tell me how to hook up this final piece of the puzzle?