As some of us noticed there is no way to add a stream from user interface while almost other stuff is, i have to do something about this.
Because a stream is actually a group of messages fetched from database with a SQL query, it's very difficult to add a stream and provide a user interface like views does. So i thought about this and came up with this:

- You should be able to clone an existing stream so you could at least use that stream in different ways by configuring it completely different.

- There is always views, which i will try to have work better. I created views with a heartbeat views access filter and without it, both working as expected. With display suite it is possible to have the messages look like there are drag-n-dropped in the display suite UI.

Comments

Stalski’s picture

Title: Clone a default stream and the ability to alter its behavior » Clone existing stream and the ability to alter its behavior
BIGREDPAUL’s picture

Would love this ability as I seem to be too stupid to follow your suggestions to creating my own stream from scratch.

Stalski’s picture

I never said that, and it is not that easy appearantly. Note that the clone stream will clone, not add functionality. So the queries will be the same as the original you cloned from.

i updated documentation here : http://heartbeat.menhireffect.be/page/activity-streams
Open the fieldset code to see the example, or check the example module. It only needs a register hook and a class with one method , altering the query. That's it.

Stalski’s picture

Status: Active » Needs review

Now available in snapshot release, clone feature per stream. Maybe buggy and needed some bigger changes.

Stalski’s picture

Status: Needs review » Closed (fixed)

Seems to work fine.