[buddypress-trac] [BuddyPress Trac] #5734: Members loop inside a BP profile only shows friends of the displayed users.

buddypress-trac noreply at wordpress.org
Wed Jul 2 12:01:02 UTC 2014


#5734: Members loop inside a BP profile only shows friends of the displayed users.
-------------------------+------------------------------------
 Reporter:  CommonEasy   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Members      |    Version:  2.0
 Severity:  normal       |   Keywords:  needs-codex needs-docs
-------------------------+------------------------------------
 I have an extra sub-nav-item right under the friends-nav-item in the
 buddypress profiles which is supposed to  showing friends of friends using
 bp_has_members( bp_ajax_querystring( 'members'
 ).'&include=1,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58' ).

 I played around with different strings of user ids and I found that users
 who are not connected to /have a friendship with the displayed users are
 ignored by the loop. So it is only showing my friends and not all the
 other user ids parsed with the include statement. So when i pass an string
 of user ids who are friend of friends it says there are no users
 found...One way to workaround this problem is to create a whole new nav-
 item, and put the friends and FOF loop there under sub-nav items. however
 functions like sort and add friend buttons arent available there. So that
 actually avoids the problem rather than solving it. However the pastebin
 of the partial bp-custom is here: [http://pastebin.com/jcq9sheP]

 This problem is also reported by me in the support forums and here

 http://buddypress.org/support/topic/stop-small-carousel-members-list-on-
 profile-page-displaying-friends-only/#post-184675

 and i guess here

 http://buddypress.org/support/topic/bp_has_members-ignores-
 user/#post-184638

 I use wordpress 3.9.1 and BP 2.0.1,

 Greetz,

 CE

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5734>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list