Any comments made to a node, or as a reply to a comment do not show to the original node author, or to the parent comment author despite having the message set.

Also, is there a chance of the views_bookmarkactivity tie-in to have an option to display for the node author?

CommentFileSizeAuthor
#6 flagactivity.module.patch463 byteskristen pol

Comments

sirkitree’s picture

currently there is no option for the 'node author' to see activity on their particular node. activity is either public, shown to a user's buddies/relationships or to themselves. if i create a node, and someone comments on it, the only wa for me to see that in the activity stream is if it is displayed as public. there is no current way for me to do something like, get a list of my nodes and see the activity related to them.

Bencoon’s picture

Ah. Well, drat. I was hoping to be able to have a kind of activity received page; where the user will only see activities performed on content they contributed. I guess I misinterpreted the module's behavior.

Thanks for the clarification.

jaydub’s picture

Title: comments recieved not displaying » See activity on nodes one has authored
Version: 5.x-3.0-beta2 » 6.x-1.x-dev
Component: Miscellaneous » Code
Assigned: Unassigned » jaydub
Category: support » feature
jaydub’s picture

Actually this feature does exist in the commentactivity module. Comments made to a node trigger an activity target for the parent node author so in your 'My Activity' page or block you will see activity records for comments made to your node. This is the case for the current 5.4 and 6.1 branches.

jaydub’s picture

If we end up storing content IDs (node ID in this case) as part of activity records then there's no reason why this feature wouldn't be possible in the future. So a user could have a block that would show activity on nodes they've authored including comments, votes on the node, flag activity, favoriting, etc.

kristen pol’s picture

StatusFileSize
new463 bytes

I needed this for flagging to view all nodes of mine someone else flagged. I looked through the code and this snippet can be added to the flagactivity.module to handle nodes like the commentactivity.module does:

Original code:

  $target_users_roles = array(
    ACTIVITY_ALL => 'all',
    $account->uid => 'author'
  );

New code:

  $target_users_roles = array(
    ACTIVITY_ALL => 'all',
    $account->uid => 'author'
  );
  
  if ($flag->content_type == 'node') {
    $node = node_load($content_id);
    $target_users_roles += array(
        $node->uid => 'parent_node_author'
        );
  }

I've added a patch as well for version = "6.x-1.2".

It would be VERY GREAT if this patch could be added.

Thanks,
Kristen

kristen pol’s picture

The most current patch is here: http://drupal.org/node/724828#comment-2642670

Kristen

sirkitree’s picture

Status: Active » Closed (won't fix)

closing. 1.x no longer supported.