Hello,
I am developing a site for closed group. How can I make all members are friends to each other by default?
Thanks,
bro. brix
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.
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- iconMatrix@SteveAquila

iconMatrix - 0 likes
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- Team Webgalli@webgalli

Team Webgalli - 0 likes
- brotherbrix@brotherbrix

brotherbrix - 0 likes
You must log in to post replies.lolz ;-) .......
you write the code needed to do it ;-)
*all members being friended might tax your server... eventually.
but if you just have to do it, this mod might help you code it
be_tom
@SA -
yep.. could be used as basis, but BeTom only befriends to one user;
BroBrix wants all members to be each others' friends
-- moare code work ;-)
You can just create a registration hook and add friendship between new users and existing users. But as "D" said eventually this can slowdown the process as the system needs to pull out all the users to add them as friends of the new user. The "betom" plugin and the elgg wikis can help you. You can also reduce the server load by doing some custom coding with your own sql.
Thanks a bunch for all of your insights! Very helpful!