elgg/mentions

This package is abandoned and no longer maintained. No replacement package was suggested.

Maintainers

Details

github.com/Elgg/mentions

Source

Issues

Installs: 1 105

Dependents: 1

Suggesters: 0

Security: 0

Stars: 19

Watchers: 15

Forks: 21

Open Issues: 17

Type:elgg-plugin

dev-master 2019-02-20 10:41 UTC

This package is auto-updated.

Last update: 2023-06-05 07:23:13 UTC


README

  • Replaces @username with links to the user's profile
  • Sends notifications to users mentioned in posts

Notes

Supported content types

To add support for custom object or annotation types in outgoing notifications, add a corresponding language key pair to your language file:

mentions:notification_types:object:<object_type> mentions:notification_types:annotation:<annotation_name>

Object fields scanned for mentions

Use 'get_fields','mentions' hook to expand the scope of scanned fields beyond object title and description. The hook receives entity and expects and array of fields in return.

Replacement of mentions with anchors

To add a view which should be scanned for @mentions and replaced with an anchor, use 'get_views', 'mentions' hook.