[buddypress-trac] [BuddyPress Trac] #8734: Introduce simple "Private Site" toggle

buddypress-trac noreply at wordpress.org
Mon Oct 10 19:48:03 UTC 2022


#8734: Introduce simple "Private Site" toggle
-----------------------------+-----------------------
 Reporter:  dcavins          |       Owner:  (none)
     Type:  feature request  |      Status:  assigned
 Priority:  normal           |   Milestone:  11.0.0
Component:  Core             |     Version:  10.4.0
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+-----------------------

Comment (by sbrajesh):

 Thank you @imath
 @johnjamesjacoby  has a an excellent suggestion which will help site
 admins use any of the approach(even if that happens via plugins/code).
 They can go for redirect to login or show the page with login/register
 message(which is fine if you prefer it that way for default).

 My issue with current patch is while bp_read is a good addition, It does
 not say anything about the current context. If the page/component/actions
 are not available, there is no way to modify it for a certain directory
 page(Say, we try to open member directory but keep everything else
 private).

 It will be nice to have a solution that provides context. bp_read is good
 and it might have it benefits on the REST API as suggested above as all
 the routes are managed by !BuddyPress(core) and any routes added by
 external plugin will have their own way of dealing with it(!BuddyPress
 won't be affecting them).

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8734#comment:26>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list