elgg / mentions
Installs: 1 107
Dependents: 1
Suggesters: 0
Security: 0
Stars: 19
Watchers: 15
Forks: 21
Open Issues: 17
Type:elgg-plugin
pkg:composer/elgg/mentions
Requires
- composer/installers: >=1.0.8
Requires (Dev)
- phpunit/phpunit: ^4.7
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.