Until recently I used the ‘Private Buddypress’ plugin by Dennis Morhardt. After updating WP, this plugin could no longer be activated. LH Private BuddyPress can be activated, but does not work at all. I use WP 6.6.1 and PHP 8.2. Twenty Sixteen is activated as the theme. Even after deactivating all other plugins, except BP, there is no change. I am currently using ‘BuddyPress Members only’, but it is not possible to protect the start page with this plugin.
]]>I’m working on a private chat for members. I am using BuddyPress for the Chat and LH Private Buddy Presss to “vet” potential members. I have a registration form which submits and users receive “You have successfully submitted your membership request! Our site moderators will review your submission and send you an activation email if your request is approved.” message. In testing the system, I’m not getting the auto-generated emails (acknowledgment of account, activation or welcome). ?These were all working last week. ?Additionally even if I activate the test account on the back end, I still can’t log in. Can anyone help me?
]]>Is it possible for the “Activity” to be exempted from being private? I want only the profile pages and the “Members” to be in private. Thank you in advance.
]]>Hi there,
This plugin is causing my Buddypress subpages (such as Members, Groups, and Activity) NOT to be indexed.
Is there any fix to that? Just for the sake of having those pages to appear on Google SERPs.
Regards,
Daniel
Hi,
Thanks for the plugin, it will be very useful for my project ??
I would like to use your code :
function redirect_nonloggedin_users($current_uri, $redirect_to) {
// Redirect users to the homepage
// Caution! Exclude the homepage from 'Private BuddyPress' options
// to avoid redirection loops!
return get_option('siteurl') . '/?from=' . $redirect_to;
}
add_filter('lh_private_buddypress_redirect_login_page', 'redirect_nonloggedin_users', 10, 2);
But I do not want to redirect to the home page, I would like to choose a URL customize (page), how to do with the code above ? for example, I want to direriger to the URL https://www.my-site.com
]]>When users try to access a group or any other page directly, they will still be asked to login again. Unless they start from homepage.
Eg
site.com/groups/timetravelers
The site will still require login for already logged in users.
But if they go to the home page they can navigate to the group.
Why can’t users be detected as logged in and can access and link directly
]]>Very happy to have found this plugin.
When installed, when I visit front page of site, I get a white screen. Is this the normal behavior?
I’d love to be able to get the plugin to block directory pages, activity and profile pages, but leave the rest of the site accessible.
Thanks for any clarification or suggestions.
PS: I included site link, but disabled plugin temporarily.
]]>Sorry this does still occur after the last update: if you attempt to open a buddypress url when not logged in, or more commonly, the login has timed out, in this case you are attempting to refresh or navigate at eg https://mysite.com/groups/mygroup you then get:
Notice: Undefined offset: 0 in /wp-content/plugins/lh-private-buddypress/lh-private-buddypress.php on line 29
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/lh-private-buddypress/lh-private-buddypress.php:29) in /wp-includes/pluggable.php on line 1179
(sorry can’t reopen previous call)
]]>specifically, turning on the plugin causes forum group blocks to be repeated, showing 3 timee.
Tested: confirmed by reverting to twenty-sixteen theme and turn off all plugins except:
bbPress Version 2.5.12
BuddyPress Version 2.8.2
LH Private BuddyPress Version 1.01
– Group Forum block is shown three times
Disable
LH Private BuddyPress Version 1.01
– Group Forum block is shown once as expected
]]>Notice: Undefined offset: 0 in /wp-content/plugins/lh-private-buddypress/lh-private-buddypress.php on line 25
from:
$bp->action_variables[0] == ‘feed’
the release version has incorrect quotes in source code arising to notices as:
Notice: Use of undefined constant ‘bp_init’ – assumed ‘‘bp_init’’ in /wp-content/plugins/lh-private-buddypress/lh-private-buddypress.php on line 57
Hi,
I just installed and activated the plugin but I don’t see it. Where is located the settings page?
]]>