开发者 |
nuprn1
etivite |
---|---|
更新时间 | 2011年11月11日 11:20 |
捐献地址: | 去捐款 |
PHP版本: | PHP 5.2, WordPress 3.2.1 BuddyPress 1.5.1 及以上 |
WordPress版本: | PHP 5.2.x, WordPress 3.2.1, BuddyPress 1.5.1 |
Edit the timeout polling via the wp-admin settings page Default is: 60000
Override the CSS for #activity-notifier and #activity-notifier-link
No - the objective of this plugin is just a simple notification. BuddyPress.org RoadMap has live activity updating planned for a future release.
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.
Please contact me on http://etivite.com