Pusher
Plugin that enables real-time communications, such as instant notifications
and real-time chats, for the social networking engine Elgg., (*1)
Actual user-facing features are not included in this plugin. Additional plugins
need to be installed in order to make use of the communication features., (*2)
Prerequisites
You may need to tunnel the traffic through a proxy e.g. in order to encrypt it.
You can use software such as stunnel to achieve this., (*3)
Installation
- Place the plugin (it must be named
pusher
) in Elgg's mod/
directory
- Enable the plugin form Elgg admin panel
- Enter plugin settings
- Flush Elgg caches
- Start the push server. E.g.
php -f /var/www/elgg/mod/pusher/push-server.php
- Verify that logged in users receive real-time updates from plugins that have support
for the push server
- Stop and install the push server as a service (TODO)
Notes
push-server.php
may run with different PHP settings. Make sure your Elgg settings.php
file specifies the default timezone, and that Elgg does not emit warnings, notices, errors,
or fatal exceptions on start up., (*4)
If using PHP installed via Homebrew for Mac, you may need to install ZeroMQ and the PHP
module from source:, (*5)
brew install php56-zmq --universal --build-from-source