Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
in the "dev-version" of heartbeat is a shoutbox-plugin. What exactly must I do to become this to work with shoutbox?
Thanks in advanced
Frank
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedHeartbeat has plugins that can act on streams or heartbeat messages directly.
One of those plugins, is the shoutbox plugin, which provides integration ofcourse with the shoutbox module.
How to enable this feature:
- Make sure heartbeat, heartbeat_plugins and shoutbox are enabled.
- Go to the administration of the streams and edit your stream.
- In the vertical tab pane "shoutbox", you enable the checkbox: this means you are prepending the "shoutbox-form" to the stream. This could break as it is written months ago and code of shoutbox can change :(
- Go to your stream and you should see the shoutbox.
- Now add a heartbeat message template that will represent your activity messages. (E.G. !username: !message)
- Add a rule where the event is "when a shoutbox messages is entered" and act on it with heartbeat activity logging. (I must say, at the time of coding this was not yet incorporated into shoutbox, but I created the event myself and posted it to shoutbox module, see #1267942: Shoutbox D7 Rules Integration
Well I hoped this small tutorial helped you. But as you might have read between the lines, it's not finished yet.
If you are a programmer, I would even recommend to not use Rules module for the logging but do the logging yourself by implementing the shoutbox hooks.
Kind regards
Comment #2
fraweg CreditAttribution: fraweg commentedThanks a lot for your work!
Frank
Comment #3
fraweg CreditAttribution: fraweg commentedHello,
does the shoutboxplugin still exist in the last dev version (9. jan. 2010) ?
Thanks a lot
Frank
Comment #4
KorbenDallas CreditAttribution: KorbenDallas commentedHi Fred, it does. You should check out this thread for more information: http://drupal.org/node/1250324