Re: Require Login
I’ll check that out next. I was just looking at the code (again I’m a non-programmer!) in More-Privacy-Options and it seems like you might be able to write in an exception:
// hook into options-privacy.php.
add_action(‘blog_privacy_selector’, ‘add_privacy_options’);
// all three add_privacy_option get a redirect and a message
$number = intval(get_site_option(‘ds_sitewide_privacy’));
if (( ‘-1’ == $current_blog->public ) || ($number == ‘-1’)) { // add exclusion of main blog if desired
add_action(‘template_redirect’, ‘ds_users_authenticator’);
add_action(‘login_form’, ‘registered_users_login_message’);
}
if ( ‘-2’ == $current_blog->public ) {
add_action(‘template_redirect’, ‘ds_members_authenticator’);
add_action(‘login_form’, ‘registered_members_login_message’);
}
if ( ‘-3’ == $current_blog->public ) {
add_action(‘template_redirect’, ‘ds_admins_authenticator’);
add_action(‘login_form’, ‘registered_admins_login_message’);
Where it says “add exclusion of main blog if desired”. Is there a way to add an exception for the /register page?