Forum Replies Created
-
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?
I’m working on a non-profit group’s site that doesn’t want any of their membership to be known to non-members. As I said above I think this would be a pretty common situation (companies and orgs that want privacy). More-Privacy-Options is so close, but needs a way for non-members to at least see a signup page. There must be a workaround otherwise this plugin would be pretty limited, so someone out there must have a solution.
Anyone have any ideas on this? Thanks!
This is exactly what I’m trying to do – create a private, members-only site that could be either invite-only or have the registrants moderated by the admin. I would think this scenario would be pretty common with many groups – companies, orgs etc.
I’ve spent the past day and a half combing this forum and others looking for the solution. FYI, I’m not a PHP programmer, but I can copy and paste code when necessary. The closest I’ve gotten is with 2 methods:
– the plugin that Trent posted that PW-protects the member pages. It does allow new registrations but it doesn’t protect the home page or the groups.
– the More-Privacy-Options plugin mentioned above, with the “Site can be viewed by registered users only..” option turned on. The problem I’m having with this one is there’s nowhere for new people to apply/register. So if you’re a non-member and you go to any page (including the registration page) you get the login screen, which doesn’t have a Register link. I’m guessing there must be a workaround for this, but haven’t been able to find it yet.
Which brings me to another problem that I’m having, which is how to invite non-members into the site. I’ve got the “Invite Friends” plugin installed and it seems to work ok, but it’s only for the administrator, which is ok for now, but eventually it would be good to be able to allow site members to invite new people in. I see this as an option in the settings, and a link in the Friends sidebar.
Using a common example, Facebook is pretty much doing all of this now. So non-members arrive at the base URL to a landing page with an intro message, where they can register for membership. Plus existing members can invite (via a link in the friends area) non-members to join up.