I tried some of those steps.
But looking at the MemberPress plugin code, it looks like no matter what the [bbp-forum-index] shortcode would not trigger a login form.
And not only for that shortcode, but it exposed all content on the entire page to a non logged in user.
I’ll play around with your suggestion some more as I don’t like the thought of overriding the memberpress plugin filters like this.
Thanks
Added this to my theme functions file:
// Adding function to block page content for any pages containing bbpress shortcodes.
add_filter(‘mepr-pre-run-rule-content’, ‘do_block_the_content’, 99, 3);
function do_block_the_content($block, $current_post, $uri) {
$block = 1;
return $block;
}
It seems to be doing what I want, but we’ll see.
All content on the protected page shows as well as the forum…
I have the exact same issue.
Any page that has a bbpress forum shortcode on it, the memberpress login does not appear on it and the forum does, even if the user is not logged in.