2017 © Pedro Peláez
 

elgg-plugin advanced_notifications

image

pleio/advanced_notifications

  • Monday, April 2, 2018
  • by bartj
  • Repository
  • 9 Watchers
  • 0 Stars
  • 955 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 6 Versions
  • 1 % Grown

The README.md

Advanced Notifications

This plugin changes the way Elgg handles some notifications, it doesn't change the content of the notification or who gets it., (*1)

Features

  • Offloading of notifications, so the acting user isn't affected by the amount of sent notifications
  • Small speed improvement of the Messages plugin
  • Optionally replace site notifications with a personalized river view
  • Some extra plugin hooks for developers (see next section)

Added functionality

Change recipients

Plugin hook on: "interested_users:options" "notify:[method]", (*2)

Parameters:, (*3)

  • annotation (optional): the annotation for which this notification is sent
  • entity: the entity for which this notification is sent
  • options: the default options to get the interested_users
  • method: the notification method currently used

Result: The options array to be passed on to elgg_get_entities_from_relationship, (*4)

Change the message body (existing functionality)

Plugin hook on: "notify:entity:message" "[entity type]"
or "notify:annotation:message" "[annotation subtype]", (*5)

Parameters:, (*6)

  • entity: the entity for which this notification is sent
    • or annotation: the annotation for which this notification is sent
  • to_entity: the entity who will receive the notifications
  • method: the notification method currently used

Result: The contents of the notification message, (*7)

Change the message subject

Plugin hook on: "notify:entity:subject" "[entity type]"
or "notify:annotation:subject" "[annotation subtype]", (*8)

Parameters:, (*9)

  • entity: the entity for which this notification is sent
    • or annotation: the annotation for which this notification is sent
  • to_entity: the entity who will receive the notifications
  • method: the notification method currently used

Result: The subject of the notification message, (*10)

The Versions

02/04 2018

v1.0

1.0.0.0

  Sources   Download

02/04 2018

v1.1

1.1.0.0

  Sources   Download

02/04 2018

v1.1.1

1.1.1.0

  Sources   Download

02/04 2018

v1.2

1.2.0.0

  Sources   Download

02/04 2018

v1.3

1.3.0.0

  Sources   Download

08/02 2017

dev-master

9999999-dev

  Sources   Download

The Requires