WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

BuddyPress Activity Stream Ajax Notifier

This plugin will display a simple twitter-like notification 'New activity update. Refresh the page.' via ajax if a new activity stream recor

How do I adjust the ajax polling settings?

Edit the timeout polling via the wp-admin settings page

Default is: 60000

How do I change the CSS style of the notification message?

Override the CSS for #activity-notifier and #activity-notifier-link

Can you display how many new activity stream records? Can you just display the new activity stream records live?

No - the objective of this plugin is just a simple notification. BuddyPress.org RoadMap has live activity updating planned for a future release.

How does it work?

Due to the complex ajax loading involved with BuddyPress and the activity stream - this plugin tries to intercept the current activity-loop request via the current_action/url or bp-activity- cookies set in BP's query_string ajax handler.

A timestamp is saved within the activity-loop of the first record (if ordered by DESC - would be the most current). This value is passed via ajax along with the current determined $query_string for bp_has_activities().

A new activity_template request is made and a simple comparsion of the passed in timestamp vs $activities_template->activities[0]->date_recorded - and returns a simple yes/no.

My question isn't answered here

Please contact me on http://etivite.com

Requires: PHP 5.2, WordPress 3.2.1 BuddyPress 1.5.1 or higher
Compatible up to: PHP 5.2.x, WordPress 3.2.1, BuddyPress 1.5.1
Last Updated: 2010-6-23
Downloads: 4,384

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,1,0
100,1,1
100,1,1