Title: BuddyPress Activity Stream Ajax Notifier
Author: rich! @ etiviti
Published: <strong>2010-06-23</strong>
Last modified: 2011-11-11

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/buddypress-activity-stream-ajax-notifier.
svg)

# BuddyPress Activity Stream Ajax Notifier

 Autor: [rich! @ etiviti](https://profiles.wordpress.org/nuprn1/)

[Pobierz](https://downloads.wordpress.org/plugin/buddypress-activity-stream-ajax-notifier.0.1.2.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/buddypress-activity-stream-ajax-notifier/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/buddypress-activity-stream-ajax-notifier/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/buddypress-activity-stream-ajax-notifier/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/buddypress-activity-stream-ajax-notifier/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/buddypress-activity-stream-ajax-notifier/)

## Opis

** IMPORTANT **
 This plugin has been updated for BuddyPress 1.5.1

This plugin will display a simple twitter-like notification 'New activity update.
Refresh the page.’ via ajax if a new activity stream record has been posted.

Polling is enabled for certain areas – main activity, group activity, profile activity(
and the subnav – just-me, friends, groups, mentions)

Does not return a # of new activities – Does not live refresh the page. (no plans–
future BP roadmap to include this already)

Restricted to loggedin_users, does not check for new activity comments.

The default polling is every 2 minutes (120000 milliseconds)

#### Related Links:

 * [Author’s Site](http://etivite.com)
 * [BuddyPress Activity Stream Ajax Notifier – About Page](http://etivite.com/wordpress-plugins/buddypress-activity-stream-ajax-notifier/)
 * [BuddyPress and bbPress Developer Hook and Filter API Reference](http://etivite.com/api-hooks/)
 * [@etivite](http://twitter.com/etivite) [etivite+](https://plus.google.com/114440793706284941584?rel=author)

### Extra Configuration

## Instalacja

 1. Upload the full directory into your wp-content/plugins directory
 2. Activate the plugin at the plugin administration page

## Najczęściej zadawane pytania

  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

## Recenzje

Wtyczka nie ma jeszcze żadnej recenzji.

## Kontrybutorzy i deweloperzy

„BuddyPress Activity Stream Ajax Notifier” jest oprogramowaniem open source. Poniższe
osoby miały wkład w rozwój wtyczki.

Zaangażowani

 *   [ rich! @ etiviti ](https://profiles.wordpress.org/nuprn1/)
 *   [ rich ](https://profiles.wordpress.org/etivite/)

[Przetłumacz wtyczkę “BuddyPress Activity Stream Ajax Notifier” na swój język.](https://translate.wordpress.org/projects/wp-plugins/buddypress-activity-stream-ajax-notifier)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/buddypress-activity-stream-ajax-notifier/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/buddypress-activity-stream-ajax-notifier/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/buddypress-activity-stream-ajax-notifier/)
przez [RSS](https://plugins.trac.wordpress.org/log/buddypress-activity-stream-ajax-notifier/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 0.1.2

 * BUG: tidy up php notice due on wp-admin settings page
 * BUG: fix injecting ajax js on certain activity loop pages

#### 0.1.1

 * updated for buddypress 1.5
 * admin page for ajax polling
 * remove update notification for current user submitting status update

#### 0.1.0

 * First [BETA] version

## Meta

 *  Wersja **0.1.2**
 *  Ostatnia aktualizacja **15 lat temu**
 *  Włączone instalacje **10+**
 *  Język
 * [English (US)](https://wordpress.org/plugins/buddypress-activity-stream-ajax-notifier/)
 * Tagi
 * [Activity Stream](https://pl.wordpress.org/plugins/tags/activity-stream/)[buddypress](https://pl.wordpress.org/plugins/tags/buddypress/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/buddypress-activity-stream-ajax-notifier/advanced/)

## Oceny

Nie przesłano jeszcze żadnych recenzji.

[Twoja opinia](https://wordpress.org/support/plugin/buddypress-activity-stream-ajax-notifier/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/buddypress-activity-stream-ajax-notifier/reviews/)

## Zaangażowani

 *   [ rich! @ etiviti ](https://profiles.wordpress.org/nuprn1/)
 *   [ rich ](https://profiles.wordpress.org/etivite/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/buddypress-activity-stream-ajax-notifier/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](http://etivite.com/wordpress-plugins/donate/)