Who's onlineThere are currently 0 users and 1 guest online.
About this demo
The site is built with several contributes such as organic groups, friends, facebook_status, ... to create a community use case. Further I used contexts module on ctools to create the environments as a logged-in demo user.
All other users, like Stalski, Zuuperman, Swentel, Jyve or mzenner, etc ... are friends. So like this i can easily demonstrate how the stream "ConnectedHeartbeat" works. The friendlist_activity submodule imlements a hook to add the related users to the current user (logged-in user). In stead of only showing the messages that involve the logged-in user, we add messages that involve friends.
The group pages will display a group or group content with possible heartbeat activity within. In the documentation area, you will find a step by step explanation on how things are done. You can ofcourse use these page as lookup pages to see a particular piece.
This site is configured with a couple of groups to demonstrate how things can work.I used organic groups in this demo. There is a content type defined, called "group" to organize the directories. In these groups, members can post an "article".
There is some custom code available using hook_heartbeat_messages_alter to remove messages that involve "member only" groups for instance. We created three groups:
- Looney tunes with Mr Looney as administrator and this group is set to "show to members only" (members are Tweety and Roadrunner).
- Walt Disney with ofcourse Mr Disney as administrator and is set to "always show" (members are Mickey Mouse and Donald Duck)
- TV characters with Mr Tv as administrator and is set to "never" (members are David Hasselhof and Webster)
- VIP stars with David Hasselhof as head of things. This is group has private membership and thus controlled by the curly heared stud. Also this group is set to "show to members only"! This way i can check the private og setting.
The stream pages
Each stream page shows a heartbeat stream with some information. You will find the publicheartbeat, privateheartbeat and connectedheartbeat pages that come within heartbeat core. Beside that there are a couple of stream defined by other modules. The Friendlist activity submodule defines two extra streams: ogheartbeat that shows activity for all groups and the groupactivity stream that can show the activity within a group (on group page or group content pages).