[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
Sun Feb 16 17:45:57 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:  assigned
 Priority:  normal                               |   Milestone:  2.0
Component:  Activity                             |     Version:  1.9.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch 2nd-opinion needs-testing  |
-------------------------------------------------+-----------------------
Changes (by imath):

 * keywords:  has-patch 2nd-opinion => has-patch 2nd-opinion needs-testing


Comment:

 In 5328.02.diff, i've taken in account the above comments.

 a. The patch now improves {{{BP_Activity_Activity::get_last_updated()}}}
 instead of creating a new static method in {{{BP_Activity_Activity}}}
 b. HeartBeat in activity streams is not a default feature. Administrator
 will need to activate the option from the Activity settings section. It
 can be turned off/on at any time by enabling/disabling this option.
 c. the filter {{{bp_activity_heartbeat_pulse}}} can be used to change the
 pulse of activity stream heartbeat
 d. i've edited the 'post_update' process to not only display the created
 activity once posted but all the new activities
 e. to avoid any trouble with scope/filtering.. on {{{#whats-new}}} blur, i
 trigger some actions to be sure the scope is All and filter is everything

 Seems to work fine, but surely needs some more testing ;)

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


More information about the buddypress-trac mailing list