The more I use the activity module the more I like it. It is a simple module that does one thing well = it keeps track of what is happening on the site, and it leverages other modules like core Triggers, Views, and Tokens to create a useful intuitive activity page. In our use case we wanted to have the ability to track certain roles working with certain nodes – and having the output styled in views is just icing on the cake.
To start with you’ll need to go to /admin/build/activity/create and add activity templates. Because of how this module was designed I believe it would be pretty simple to extend this module to monitor almost anything.. we just needed to know when certain roles updated or created certain node types, so that was pretty simple.
The use of tokens in the message display section makes for readable and useful messaging
After creating your template(s) you now need to go over to views and add an “Activity” type view – here again – it’s just so cool that you’re extending what is already there and working well… it just makes for an easier time + one less thing to learn!
With the View going the rules are pretty much the same as for all views – it’s worth noting that if you want to filter by User Role you’ll need to add the “Activity: User” relationship – this adds all of the typical user fields to your filters as well as your fields. Likewise if you need more information on the nodes you may add the Activity: Node relationship – it’s not always that important since many of the information may be stored in the tokens. It’s nice to know that you may access those fields if you need to though – just add the relationship and fields + filters as desired. Nice work on this module folks = well thought out and well implemented. Thanks!