Hi I have just installed elgg on a test box, so far it looks great. The only thing that I cannot workout how to do though is restrict the creation of groups to admin only.
I need to put together a social networking site for a primary school, elgg offers all the functions that they would need. But I don't want kids making groups, only teachers.
I have started pottering around in the source but have yet to work out where I need to make adjustments.
Thanks in advance
Rick
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.
- Shouvik Mukherjee@shouvik
Shouvik Mukherjee - 0 likes
- rickster@rickster
rickster - 0 likes
You must log in to post replies.You gotta define an condition
if ($vars['user']->isAdmin())
Condition to make the group creation link as well as the page visible only to the admins. Other users would be redirected even if the manually hit the link of the page to create new groups.
Thank you for the quick reply, if only I could get my head around the structure of this thing.