I have tried many ways, but I can't figure out how to make a closed group's blogs listed and avaiable for all members. When the group is closed, so is its profile as well and therefore its group's blogs even though they are open for all members. How would you solve the problem?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- slyhne@slyhne
slyhne - 0 likes
- Bjerke@Bjerke
Bjerke - 0 likes
- Bjerke@Bjerke
Bjerke - 0 likes
You must log in to post replies.Hi,
You will have to bypass the group_gatekeeper(); on the group you want public.
There is no easy way around it, if you bypass group_gatekeeper all closed groups will be viewable, so maybe add some extra metadata on the groups you want open for reading. then an IF statement can see if group_gatekeeper should be bypassed.
Hope that helps
Thank you, you got me on the right track:
In mod/groups/groupprofile.php, I added the second if-statement:
I used the profile_manager plugin to add the metadata variable "all_read" to the group profile as selection variable with the values yes,no.
In order to fix the link to closed groups' blogs so that its target (list of blogs) becomes visible, I changed blog/index.php. I substituted
with :
I guess the same will do for all group restricted entities: