[buddypress-trac] [BuddyPress Trac] #5328: Use of the WordPress HeartBeat API to check for newest activities and to let user load them

buddypress-trac noreply at wordpress.org
Fri Feb 21 14:49:34 UTC 2014


#5328: Use of the WordPress HeartBeat API to check for newest activities and to
let user load them
-------------------------------------------------+---------------------
 Reporter:  imath                                |       Owner:  imath
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  2.0
Component:  Activity                             |     Version:  1.9.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion needs-testing  |
-------------------------------------------------+---------------------
Changes (by boonebgorges):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"7952"]:
 {{{
 #!CommitTicketReference repository="" revision="7952"
 Automatically check for newly created items when viewing the Activity
 Stream.

 Leveraging WP's Heartbeat API, this new functionality performs periodic
 checks
 to see whether new activity items matching the current filter have been
 posted
 since the page was originally loaded. If new items are found, a Load
 Newest
 link is inserted into the top of the stream, which will insert the new
 items.

 A filter is included, bp_activity_heartbeat_pulse, that allows site owners
 to
 set a specific interval for these checks. The default value is 15 seconds,
 or
 whatever your global Heartbeat interval is.

 To disable the feature, there is a new setting "Automatically check for
 new
 activity items when viewing the activity stream".

 Fixes #5328

 Props imath, boonebgorges
 }}}

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


More information about the buddypress-trac mailing list