[buddypress-trac] [BuddyPress Trac] #5687: Activity Load more button doesn't work for custom non-components scopes

buddypress-trac noreply at wordpress.org
Thu Jun 5 21:40:34 UTC 2014


#5687: Activity Load more button doesn't work for custom non-components scopes
--------------------------+-----------------------------
 Reporter:  slaFFik       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Activity      |    Version:
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 In `bp_legacy_theme_activity_template_loader()` it is checked.
 But in js and in POST params after clicking there is no scope:

 {{{
 action:activity_get_older_updates
 cookie:bp-members-scope%3Dpersonal%26bp-members-filter%3Dactive%26bp-
 blogs-scope%3Drss%26bp-blogs-filter%3Dactive%26bp-activity-
 scope%3Dfavorites%26bp-activity-filter%3D-1%26bp-activity-oldestpage%3D1
 page:2
 exclude_just_posted:
 }}}

 So load more doesn't honour the tab selected on Activity Directory.

 Favorites tab loading works because of `page` param and lines 514-519 in
 `bp-activity-template.php` (imo, haven't dived too far).

 As a developer I would like to be able to "Load more" any custom tab/scope
 without creating an obsolete components etc to pass that 514-519 lines, as
 you give actions to add tabs easily.

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


More information about the buddypress-trac mailing list