Re: BP 1.5.1 – Users can’t view content of Private Groups Forums via the “Forums”- Page
maybe interesting for other users with private groups heavily used:
i modified the function “groups_add_forum_where_sql” starting at line 88 in /bp-groups/bp-groups-filters.php.
I added the following block at line 110:
elseif ( is_user_logged_in() )
unset( $parts );
therefore all logged in users get the same view as an admin and see updates in all private group forums (error message when clicking of threads they are not allowed to). next step would be to filter out group forums where the user has no permission.
==
is there an function which could be used for that filtering in bp (replacing is_user_logged_in())?
or is custom sql code needed here?