Opened 17 years ago
Closed 17 years ago
#1609 closed defect (bug) (fixed)
Friend List favours groups
| Reported by: | egerrits | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | 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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.