[buddypress-trac] [BuddyPress] #2070: Mulitple Custom Activity Loops

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Feb 26 09:22:31 UTC 2010


#2070: Mulitple Custom Activity Loops
-------------------+--------------------------------------------------------
Reporter:  lofish  |       Owner:     
    Type:  defect  |      Status:  new
Priority:  minor   |   Milestone:     
Keywords:          |  
-------------------+--------------------------------------------------------

Comment(by lofish):

 Sorry folks, the groups issue was down to my misunderstanding of the code.
 With the correct parameters it works correctly for my needs.

 The activity loop issue I think I have traced to this conditional:

 if ( $user_id = ( !empty( $bp->displayed_user->id ) ) ?
 $bp->displayed_user->id : $bp->loggedin_user->id )

 If you pass in a user_id it will still get overwritten by this line, so I
 would think there should be a check beforehand to make sure the user_id
 isn't already set as a parameter.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2070#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list