Hello,

I have 6 places I need to display activity on my site. I've created the messages and rules and now I need to split them up into the 6 different streams 4 of which are different types of organic groups (each with different content types, messages and rules). I've tried the view route as shown on the menhir website but it's not working for me. There is no row plugin and the instructions are not specific enough as to which available relationship to use. I've tried a couple of combinations but am not getting any output. If I can use views that would be simpler but I don't know if I can get it to work in my case. Is this accurate?

The streams that come with the module - there are 2 organic groups ones. I am assuming that the group stream would not work because each type of group has different content types?

Do I need to implement the hook - one for each of the 6 streams and from there I can connect the rules to the streams? Is this the best way?

If you could help me understand what direction would work best for my case, that would be extremely helpful. I am feeling confused as to how to put this together.

Thank you!

Comments

Stalski’s picture

In D6, views approach for heartbeat is not well integrated nor will it be in the future. I would recommend you to use the block streams that come with heartbeat itself. In the og_heartbeat module there are three streams available already:
- all groups
- for one group (context of the group is done internally)
- for all members of a group (context of the group is done internally)

If it does not fit your needs, you can always extend one of these stream and register that class yourself.

The fact that you have different content types per group, could mean you need to use different stream, duplicate some heartbeat message templates and deny the message template you don't want to use. It's a little more work but you can do as you wish.

I am assuming that the group stream would not work because each type of group has different content types?

This is not correct, as I've done this a lot before with the setup I just explained.
Remember that logging activity is dumb, everything gets logged. It's what you do with the display that counts.

I don't know why you don't see the views row plugin as it is there.

HJulien’s picture

Thank you Stalski!

I got it working by cloning the existing streams and selecting the messages by stream. I think the information I was missing was that streams can be cloned. Thank you for your help!

Hélène