The user can then unfollow them if she wants to.

Comments

Priority:Normal» Major

Priority:Major» Critical

Assigned:Unassigned» gnuget

I almost finish this issue but i found two bugs who needs be fixed before to fix this one:

#1845520: $node undefined in commons_radioactivity_flag().
#1845510: Fatal error when a comment is created

I will working in these two issues, and after i will back to this.

Status:Active» Needs review
StatusFileSize
new1.33 KB

Done.

I attach a patch for the commons_follow module.

Status:Needs review» Needs work

Thanks, gnuget!

This looks good overall. One improvement:

<?php
   $flag
->flag('flag', $nid);
?>

Let's use an $account parameter there, taken from the $node or $comment uid. That way, programmatic insertions of nodes and comments will be consistent with ones done through the UI.

Status:Needs work» Needs review
StatusFileSize
new1.44 KB

I added the change on this new patch.

In the version of today seems the follow_node flag is not longer associated with posts, i don't sure if this is a bug or is a new default behaviour

Status:Needs review» Fixed

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.