Hi @evo252
Thank you for some feedback regarding your topics above.
Perhaps not as obvious as it could be, but we do output the moderation message from the settings in their profile area and before the member header. It’s not as global as you’re perhaps envisioning, but it’s one spot that we know we can pretty reliably depend on. Perhaps features for future releases could be settings for where else to output, or a UI to select in general.
We do have WordPress hooks available to customize where logged out people get sent to, with our default being the homepage. There is room here to craft messaging around the BuddyPress/bbPress areas, and how those may be private. That said, we don’t prevent access to the entirety of the site. If you also had an ecommerce area, they user would be free to navigate there. Just not the BP areas.
Thread Starter
evo252
(@evo252)
Hi!
Thanks for your quick reply.
Where to find these WordPress hooks? I would like to show a custom page for logged out users when they try to click on members page.
Thanks!
One example can be found over at https://wordpress.org/support/topic/error-when-not-logged-in/#post-12014195 which I typed up a couple days ago
The overall list can be found over at https://github.com/WebDevStudios/BuddyPress-Registration-Options/blob/4.3.7/includes/core.php#L366-L448
Specifically we have:
bprwg_custom_redirect — General use. Line 388
bprwg_logged_out_redirect_url — General use. Line 405
bprwg_bp_logged_in_redirect_url — BuddyPress specific. Line 429.
bprwg_bbp_logged_in_redirect_url — bbPress specific. Line 441.
We have various other hooks and filters around the code, so feel free to browse it on GitHub to see what else may be usable to you.