Activity

There is also an Activity group with some documentation strewn throughout.

The Activity module keeps track of the things people do on your site and provides mini-feeds of these activities in blocks, in a specialized table, and via RSS. The module is extensible so that any other module can integrate with it. The messages that are produced are customizable via the admin interface and are context sensitive. Some theoretical example messages include:

  • You wrote a comment in response to "example comment title"
  • Jim wants to be your friend. Approve this friendship here
  • Nancy is Phil's latest fan

Features

  • Lets you list all the activities in the site which can be viewed by all the members with permission
  • Integrates with Buddylist and Voting activity
  • Enables to view only your activities from a separate tab

Installation and setup

  • Download the latest recommended version from http://drupal.org/project/activity
  • Unzip and copy the folder activity where you have kept other modules
  • Log in as admin and come to admin/build/modules
  • Make sure you have the modules node, comments enabled and proper permissions granted to users. Along with this if you have Buddylist and voting activity installed these activities will also be logged by activity
  • Enable Activity and enable at least Activity history, Buddylist activity, Comment activity, Node Activity
  • Now come to admin/user/access and select the check boxes for 'view own activity' and 'view public activity' for authenticated users (and any other roles you may have in your site)
  • Now come to admin/settings/activity and click on each of the tokens to fill up the forms with languages of your choice - SAVE THESE FORMS AT LEAST ONCE TO ACTIVATE THE ACTIVITY LIST

Activity adds excitement and fun to your social site

The main activity tab can be named as site spy if you want. The languages in the listings can be as fun or as amazing as you can imagine. For example:

- User X and user Y just decided to stay together
- User Z expressed "Oh ! I do not understand modern art"
- "Code the node" - Hey! This blog exists no more
- "Is Mountain better than sea?" - Hot debate starts 1 min 7 sec ago

[page 1,2 ...]

What works in background for the above

- User X and user Y just decided to stay together [Buddylist activity]
- User Z expressed "Oh ! I do not understand modern art" [ Comment activity]
- "Code the node" - Hey! This blog exists no more [ Delete recorded by Node activity]
- "Is Mountain better than sea?" - Hot debate starts 1 min 7 sec ago [ A forum node recorded by Node activity]

You can also spice up the list with small icons to precede each line of the activity listing by separate icons for each of the various activity eg. blog, buddy, forum so on. This looks really very cool !

Activity2

Overview

Filtering

Notes on how to use the filtering capabilities of the API.

Guide maintainers

minesota's picture