I was looking for a way to disable blog registrations and enable user registrations, and couldn't find anything in the options that would allow for it. (No need to point out that i could use plain old WP i have my reasons.)
Anyhow, I came up with the following code for a plugin. Please critique and let me know if you see any potential for abuse. Its not fancy, but appears to do the job.
function kill_blog_signup(){
if( FALSE !== strpos($GLOBALS['PHP_SELF'], 'wp-signup.php') ){
if($_REQUEST['signup_for'] == 'blog'){
$home = get_bloginfo('home');
header("Location: $home");
die();
}
}
}
add_action( 'init', 'kill_blog_signup' );