Closed (fixed)
Project:
Activity
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2010 at 17:33 UTC
Updated:
7 Oct 2010 at 02:30 UTC
Hi. Is it possible to exclude activity messages for when someone updates someone elses content? E.g. a moderator updates a users node and then an activity message is logged? I don't want that.
Thanks.
Comments
Comment #1
sirkitree commentedYou can implement hook_activity_record_alter(), detect what is going on, and not record the message. See the DEVELOPER.txt for more information.
Comment #2
darklight commentedHi, thanks. I'm really not good with activity yet, nor am I at coding for Drupal... Where would I use that code, and how would I make it work?
Not being lazy, I just have no idea where to start :/ Thanks.
Comment #3
sirkitree commentedYou could start with learning how to build a module here: http://drupal.org/developing/modules
Lullabot, the company I work for, also has some really great video resources to help learn: http://store.lullabot.com/ - as well as a plethora of articles on the subject: http://lullabot.com/