Log in
Elgg Technical Support

Elgg Technical Support

Get support from other Elgg users

Adding friend to a friends group...

  • Public

Adding friend to a friends group...

Started by svovaf 1806 days ago

I've looked at the Elgg API and I saw that the ElggUser class contains the function:

ElggUser.addFriend($friend_guid)

Is there any elegant way to add friendship hierarchy like in facebook.

For examle, if I want to add my class mate John, I prefer to add him as one of my 'class mates' friends, by using something like:

ElggUser.addFriend($friend_guid, $my_friends_group_guid)

 

Thanks,

Vova

You must log in to post replies.