[buddypress-trac] [BuddyPress Trac] #5449: bp_has_activities - include & exclude no longer working?

buddypress-trac noreply at wordpress.org
Thu Mar 6 22:12:30 UTC 2014


#5449: bp_has_activities - include & exclude no longer working?
-------------------------------+------------------------------
 Reporter:  shanebp            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Activity           |     Version:  1.9.2
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by boonebgorges):

 * keywords:   => reporter-feedback


Comment:

 It's working OK for me.

 Keep in mind that the 'include' parameter refers to activity IDs. You can
 filter by users with the 'user_id' parameter. Your "Sorry, there was no
 activity found" message suggests that you have no activity item with the
 id 3 in the database.

 Also, keep in mind that your first example won't always be parsed
 correctly. If `bp_ajax_querystring( 'activity' )` is empty, then adding
 `&include=3` to it will result in an invalid querystring.

 Have another go using these tips, and let me know what you find. If you're
 still having problems, please post back with details on how to reproduce.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5449#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list