Buddies plugin - easy friendship management for EE
This plugin enables users to have buddies/friends/followers just like in many popular social networks and blogging systems.
The users are able to add/remove others as their friends. The lists of friends added by user and also who added him can be displayed.
Also, you can have “enemies” along with friends - for fun or for something useful.
The plugin is using standard database table, so it’s 100% compatible with Buddies/Blocked list that can be found under Personal messages in user’s Control Panel.
{exp:buddies:add subject_id=”%member_id_1%” object_id=”%member_id_2%” type=“buddy”}
Add a member as friend of another member.
subject_id - member_id of user who wants to add a friend
object_id - member_id of the user to be added as friend
type - can be omited. Defaults to ‘buddy’ but you can set it to ‘blocked’ to work with blocked members instead
{exp:buddies:remove subject_id=”%member_id_1%” object_id=”%member_id_2%” type=“buddy”}
Remove a member from friends of another member.
subject_id - member_id of user who wants to remove a friend
object_id - member_id of the user to be removed from friends
type - can be omited. Defaults to ‘buddy’ but you can set it to ‘blocked’ to work with blocked members instead
{exp:buddies:check subject_id=”%member_id_1%” object_id=”%member_id_2%” type=“buddy”}
...some html here…
{/exp:buddies:check}
Check whether a member is friend of another member.
Does not return anything, but the code inside is displayed only if the object member IS NOT a friend of subject
{exp:buddies:display subject_id=”%member_id_1%” type=“buddy”}
0
{username}
{screen_name}
{avatar_filename}
...any other field available in exp_members table
{/exp:buddies:display}
Display friends of a member.
subject_id - member_id of user to display his friends
type - can be omited. Defaults to ‘buddy’ but you can set it to ‘blocked’ to work with blocked members instead
{exp:buddies:display_reverse subject_id=”%member_id_1%” type=“buddy”}
0
{username}
{screen_name}
{avatar_filename}
...any other field available in exp_members table
{/exp:buddies:display}
Display members, for whom choosen member is a friend.
subject_id - member_id of user who is “friend of” users to display
type - can be omited. Defaults to ‘buddy’ but you can set it to ‘blocked’ to work with blocked members instead
For support, please email .(JavaScript must be enabled to view this email address).
Comments
Comments are closed. To get support, email .(JavaScript must be enabled to view this email address).


Buddies plugin enables users to have buddies,friends,followers just like in many popular social networks and blogging systems.
Thanks for this, I’ll give it a try really soon.
I’ve just released 0.2 version of the plugin. This is a compatibility release: I’ve added alternative syntax of variables.
v 0.3 released - added buddy reverse check
haven’t had a chance to try this yet but I do suggest putting the version number in the name of the zip file. Thanks again. Also if you haven’t already maybe you should mention or “announce” this in the EE Forums.
I don’t put the version number in the name of the zip file on purpose: so that download link would always remain the same. As for annoucing, there is a thread on EE forums