maintainer has documentation here, but it seems to be out of date, or at least it doesnt match the options I am presented in my config?
http://heartbeat.menhireffect.be/docs/how-create-heartbeat-activity-view...
I would like for OG group members to be able to see all of the 'same group' activity on the group homepage., with sitewide public activity to be visible on site homepage.
there doesn't seem to be any consensus on whether this module works as described .i.e
"Features - Heartbeat logs activity for nodes, comments, users/profiles and organic group activity" it seems like lots of people are having the same problem
has anyone managed to solve it? I would be grateful for any assistance..
thanks..
Comments
Comment #1
Stalski CreditAttribution: Stalski commentedThis should work out of the box when the OG streams are ported. However, it's very very easy to just create your own stream class (follow heartbeat.api.php).
The query in that class will be your own! If you do so, please post the stream here as patch as I will include it in the project.
Comment #2
markotoole CreditAttribution: markotoole commentedHi Stalski,
I cannot get this working. it would be a great enhancement to the heartbeat module if it could work with and recognise OG and it seems there are quite a lot of people also looking for this functionality in D7.
Im not a developer , but am quite familiar with D7 , if you got a chance, I would be grateful for some more detailed advice/pointers?
thank you..
Comment #3
rogical CreditAttribution: rogical commented+1 Is this title would be better?
Comment #4
Stalski CreditAttribution: Stalski commentedHi,
Can you test this again please. It is now included in the extra heartbeat_og module. All streams seem to work fine for me.
1) A stream for all activity for all groups
2) A stream for activity within a group (where nid or nid_target is the group in context)
3) A stream for activity of all the members of a group in context (even activity outside the group)
There is even a nodeactivity stream added (generic one for all nodes) but you could use that for your group as well.)
I used it with panels or with normal blocks yet and it worked for me. If it's not fixed for you, reopen the issue and add steps to reproduce the problem.
Comment #5
cherrysuede CreditAttribution: cherrysuede commentedhi i tried above to view activity for all members in a group in panels
i get the following error
Notice: Trying to get property of non-object in MembersActivity->detectGroup() (line 32 of /home/cherrysu/public_html/sites/all/modules/heartbeat/modules/heartbeat_og/streams/membersactivity.inc).
is there something else i need to do? using dev from march 20
siteactivity for the WHOLE site is working fine
Thanks!
Comment #6
Stalski CreditAttribution: Stalski commentedDunno what happened there, but seems if a og context is found, the etid is set (no matter which entity type).
Comment #8
Sylense CreditAttribution: Sylense commentedI can't seem to get node activity to display on the "Group Activity" stream that is provided. The only activity that is shown is if the "group" node itself is updated. None of the group content type nodes are displayed when new content is published or updated.
- I have a group page with group activity loaded in panels
- I have 2 group content types "Articles" and "Documents"
- I post a new article and select a group in the group audience field
- The heartbeat activity displays on the sitewide stream but not the "Group Activity"
I've even tried editing the rule and checking the box "Add the "In-Group" tag to track OG activity" (not sure what exactly this does)
Comment #9
newold CreditAttribution: newold commentedHi,
Same case that Sylense.
The in_group field value is always 0 in the table heartbeat_activity.
Thanks
Comment #10
Stalski CreditAttribution: Stalski commentedSince latest change, you must set this "in_group" variable to true in rules if you need to. This might very much result in cloning the rules for 1) in og context and 2) not in og context.
I'll add a description on the field as well to explain that its value needs to be "1" in you want to add "in_group" context.
Can you guys tell me if the problem is solved when configuring it like that? (it works for me)
Comment #11
Stalski CreditAttribution: Stalski commentedWell, I just checken again, forgot that it is a checkbox already. So enable to add group context (this is simple 1 to fetch only those messages.
But it surely works for me.
Comment #12
Sylense CreditAttribution: Sylense commentedOk, I tried on a fresh Drupal install and it still doesn't work. Using the latest dev. What are your steps to getting it to work on your end? I'm using all of the default streams and I've checked the in group box in the rules configuration to no avail.
Comment #13
Stalski CreditAttribution: Stalski commentedCan you update me on only this:
If you check that box, the in_group property maps to 1 in the database. Can you confirm the value of the in_group property is 1 in the database table "heartbeat_activity" ? If not, there is really something bizar going on.
Comment #14
KorbenDallas CreditAttribution: KorbenDallas commentedIn my fresh Drupal install, when the "Add the "In-Group" tag to track OG activity" is checked on the rules and a Group type node is created or updated, in_group is set to 1 and nid is set properly as well. So with the Group type, the HB messages are working for me.
But Group Content is not. What is happening is the heartbeat nid field is being set to the nid of the Group Content, not the Group itself.
Comment #15
kostajh CreditAttribution: kostajh commentedI am also not seeing any results here for the "Group activity" stream - the other ones work fine. I've enabled the heartbeat_og module and tested adding groups and group content with OG 7.x-1.4. The only activity that shows up is the initial act of creating the group. Group posts are not displayed in the "Group activity" stream.
Note to others looking at this issue: you need to check the "Add the "In-Group" tag to track OG activity" *before* you create a Group or group content.
Comment #16
fraweg CreditAttribution: fraweg commentedHello,
where can I find the "Add the "In-Group" tag to track OG activity" ?
Best regards
Frank
Comment #17
Sylense CreditAttribution: Sylense commentedIt's in the rules configuration
Comment #18
Stalski CreditAttribution: Stalski commented@korben: I am pretty sure the wrong token is used otherwise it would not happen
@kostajh: I really can't reproduce this on latest dev, although I have to say I changed some things that could have fixed it for you.
If other bugs come up, please create a new issue. The original problem has been fixed on my end ...
Comment #19
kostajh CreditAttribution: kostajh commentedI've tried on the latest dev. Still can't get it working.
Comment #20
kostajh CreditAttribution: kostajh commentedSorry to re-open, but I am still not having any success with this. Could you please provide some documentation on how to get this working? The creation of a Group node shows in Group activity but any subsequent group posts are not displayed.
Comment #21
jayaram CreditAttribution: jayaram commenteddid some one get this to work in drupal 7?
Comment #22
Stalski CreditAttribution: Stalski commented@kostajh: I tested this again and again and it works here. The only thing I can imagine with the description you gave, is that the message template is configured to only show one? Try the "single" setting to see them as standalone and thus unmerged.
Nothing more I can do to fix it imo. If you still have a problem, please open another issue with the total description of your specific problem. thx in advance
Comment #22.0
Stalski CreditAttribution: Stalski commentedclarification, I want the OG content stream to display per group. i.e the group activitiy is shown on group pages to members of the group only.