• Resolved lockenelch

    (@lockenelch)


    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author shawfactor

    (@shawfactor)

    this is simply not true. One look at the code can demonstrate this but if you don’t understand code try accessing this url:

    https://princesparktouch.com/members/

    it’s the members directory on one of my sites. You can’t without being logged in and are redirected to the login page.

    Plugin Author shawfactor

    (@shawfactor)

    note the plugin does not protect the activation and registration pages

    note my review of the code indicates there is an error in the plugin around site maps showing the buddyoress components (since buddypress changed to custom post types for compenents). I’ll be pushing out a fix for that shortly but that is not your issue

    • This reply was modified 3 months, 1 week ago by shawfactor.
    Thread Starter lockenelch

    (@lockenelch)

    I have now tested it again on our pages, the plugin does exactly what it says in the description, it protects the members area. With the plugin ‘Private Buddypress’ by Dennis Morhardt, all pages could be protected, including the start page, so that the login page was generally linked to. I assumed that this was also possible with LH Private BuddyPress. Sorry for the inconvenience, I should of course have realised.

    Plugin Author shawfactor

    (@shawfactor)

    By defaults it protects all components except registration/activation (I assume this is what you meant by start page) so it will also protect groups, activities, messages etc

    I’ll add a filter to allow it protect the registration/activation as well in my next update and circle back here with sample code.

    Thread Starter lockenelch

    (@lockenelch)

    Thank you for the quick reply, as soon as the filter is integrated I will be happy to try it out.
    By Startpage I mean the front page, the page that opens when you enter the address where the WordPress installation is stored. This works, for example, with an entry in the .htaccess file. Then you would have to enter a password to access the directory in which WP is installed and then log in to BuddyPress. With Dennis Morhardt’s plugin, you were taken directly to the login page, there was no way for external users to see any content.

    Plugin Author shawfactor

    (@shawfactor)

    I understand now but the front page is generally not a buddypress page. Are you telling me that you’ve buddypress content on the front page?

    note if you just want to make the whole site protected there are plugins to do that…

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.