friends

Component ID

1381538

Component name

friends

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Friends

This module adds a field to other users profile enabling you to add or remove this user to your list of friends. An overview page of all your friends is reachable via the link "My friends" from the user menu.

This module is intended to use with other access control modules. It doesn't do any access control on users, nodes or fields by itself. It only defines your list of friends.

To use a defined list of friends by other modules, there is a simple API call of

module_invoke('friends', 'check', $account->uid);

which returns TRUE if $account is a member of the current users list of friends.

This module provides a subset of the functionality of user_relationships module but its more purely and simply.