Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#1609 closed defect (bug) (fixed)

Friend List favours groups

Reported by: egerrits's profile egerrits Owned by:
Milestone: 1.2 Priority: major
Severity: Version:
Component: Keywords:
Cc:

Description

The template fuctions "friends_get_friends_invite_list" and "friends_count_invitable_friends" call corresponding Friend class methods that take a "group-id" as a parameter.

My plugin bp-events can therefore not list a proper friend list (it returns invitable friends for a group, not my component).

Need something to make these functions more universally accessible. Or at least change the class so I can write my own "friends_count_invitable_for_event" function.

Change History (1)

#1 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

This is fixed in the trunk. Don't use the friends_count_invitable_friends() function, simply check that the user has friends and show the list if they do.

Note: See TracTickets for help on using tickets.