Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The user can then unfollow them if she wants to.
Comment | File | Size | Author |
---|---|---|---|
#7 | commons_follow-automatically_follow_nodes-1816536-7.patch | 1.44 KB | gnuget |
#5 | commons_follow-automatically_follow_nodes-1816536-5.patch | 1.33 KB | gnuget |
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedComment #2
ezra-g CreditAttribution: ezra-g commentedComment #3
gnugetComment #4
gnugetI 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.
Comment #5
gnugetDone.
I attach a patch for the commons_follow module.
Comment #6
ezra-g CreditAttribution: ezra-g commentedThanks, gnuget!
This looks good overall. One improvement:
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.
Comment #7
gnugetI 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
Comment #8
ezra-g CreditAttribution: ezra-g commentedLooks good - Thanks, gnuget!
http://drupalcode.org/project/commons_follow.git/commit/ee018d0