I would like to utilize the heartbeat module with statuses to create 1 stream that will lists the statuses for an individual user and the heartbeat activity items for an individual user. I tried using the tweet activity stream in heartbeat module, but this does not appear to be working properly as the status box or custom message area is empty and only a save button exists.

Are you aware of documentation that discusses how I can combine these? If so, can you please redirect me to it?

I have also cross posted this to statuses module as well.

Thanks so much.

Comments

fraweg’s picture

Hello,

I am also interestet in this feature. Thanks for any Help!

Best regards
Frank

glynster’s picture

Hi Guys,

This is possible already it is just not configured out of the box. My current setup is limited to the Site Activity block as this is all I have needed so far.

Once you have the latest dev version of Statuses (statuses-7.x-1.x-dev) and Heartbeat installed you will need to create a rule and a Heartbeat template. In various threads it says there is an issue with tokens, I have not had this problem and it worked very well for me so I assume this was fixed.

Step 1:
Create a new Heartbeat template - I called my heartbeat_user_status.
Definition Tab > Add a message description.
Access Tab > Allow everyone to see this message.
Content Tab > Add a message with tokens - !username has updated their profile status

!message

. Change "type of message" to Single.
Attachment Tab > Turn these on as needed.
SAVE

Step 2:
Create a new rule inside "Rules" - I called mine Heartbeat: "Log activity when a user status is updated".
Events > Add event and choose "User saves a status". If you do not have options available under Statuses then you have not installed the "Statuses Rules" module.
Conditions > None.
Actions > Add action and choose "Log activity for When updating a status, log the users activity" this was the template we created in step 1.

The next page has a lot of fields do not worry I will break them down:
1. Entity ID: [status:status-id]
2. User ID: [status:recipient-id]
3. Entity target ID: 0
4. User target ID: [status:recipient-id]
5. Comment ID: BLANK
6. Message ID: When updating a status, log the users activity
7. !username: [status:recipient-link] (this token is from the heartbeat template)
8. !message: [status:message-formatted] (this token is from the heartbeat template)
SAVE

If you have the default heartbeat siteactivity block displayed on your site all user profile statuses will be logged as an activity. My next step is to get this working in the useractivity block :)

cwithout’s picture

Status: Active » Closed (duplicate)

Closing as duplicate of #1018532: Integration with Statuses (Social Microblog).

#2 has the basic steps for integration, but there are a few things left out, including how to log statuses a user posts to another user's profile and managing the display of the templates.

Here is a full tutorial with images:
http://www.cristinawithout.com/content/using-rules-integrate-heartbeat-a...