Making content public within a hidden group
-
Bit of a weird one here.
I’m using a calendar plugin and a hidden group are using it quite extensively. However, they want to publish certain events publicly to a page.
The calendar plugin uses url parsing to output the current calendar view (i.e. group/calendar/2014/12/ shows December 2014 etc.).
I’m wondering if it’s possible to allow certain content to be public using a URL action (e.g. group/calendar/2014/12/published/) and then check a flag in the database so that only public events are outputted?
$user_has_access = apply_filters_ref_array( ‘bp_group_user_has_access’, array( $user_has_access, &$no_access_args ) ); looks like the perfect candidate, but it seems to be called way before the plugin gets to parsing the URL. Also, when I tried setting it in functions.php I still got a 404 when trying to visit the page.
Is it simply impossible to have public content from a hidden group?
- The topic ‘Making content public within a hidden group’ is closed to new replies.