Hello
I'd like to create a group which access would be private (you have to ask to join it), but the content (files, posts...) would be visible by anybody. Is there a way to do that ?
Thanks
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.
Currently there is no option to do this, you would have to code this feature. I think small modification in groups module would be enought.
Thanks, I'll check it. Which files should I modify into the group plugin ?
probably setting $view_all = true; in groups/groupprofile.php should do the trick although it would requiresome testing.
By the way, can I desactivate the requests to be member of the group ? I mean, the admin would just send invitations to ask them to join it.
In fact, I modified to $view_all = true; , but it still refuses to show files or bookmarks to anyone who's not in the group. Maybe I should rewrite code the same way in those plugins ?
Clement, this is probably access setting of particular bookmarks and file entities. You would have to change access for them from group to public.
simplest way for you to disable join requests is to remove link in groups/start.php and block requst page.
It was no big deal to remove the "member request" option, but I'm still struggling to find wich part I should change in the bookmarks mod, for example. I'm not finding the part where is defined the access : I changed some lines in start.php, had a look in groupprofile_bookmarks...
I reckon that once I'll have found the way to autorise access for the bookmarks plugin, that will be the same kind of changes to apply in other mods, but I have to find this way first.
Clement, please check actions of bookmarks plugin. Access is set to each entity on creation.
Thank you ! I know I ask much, but I'm just discovering Elgg, and the code is constructed by so many files that it's a bit difficult for me to know which one I must change...
Your advices are really helpful to me.
But when I check the actions, I just have add.php and delete.php. I need to make the whole plugin of the group accessible, won't it ask again to be member of the group to see the content ? When you are on the group page, you can click and see the files, but still can't access the bookmarks, files... submenus.
- Previous
- 1
- 2
- Next
You must log in to post replies.