Closed (won't fix)
Project:
Activity
Version:
5.x-4.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2008 at 23:50 UTC
Updated:
4 Nov 2009 at 05:37 UTC
I need to create the following activity blocks:
- Activity in a single OG group
- Activity on a single specific node
I can't filter directly by node nid, because it's rolled up into the serialized data field. So how can I accomplish this?
I've considered altering the activity table to add a 'node-id' column, and the insert query to insert the node-id (if any). But I haven't got it to work yet, and anyway, I imagine there's a very, very good reason why the nid is serialized.
Can anyone suggest a smart way I can adapt activity.module to my needs?
Comments
Comment #1
jaydub commentedthis is getting into the territory where OG + Views is going to be able to do a lot more for you than Activity.
Activity isn't really meant to be a fine-grained slicer and dicer of content for display but more of a site-level or user-level aggregator of activity. For example, activity in a single OG group, well OG already should be able to get you a list of nodes created in a particular group (node). Anything that starts to look like Views territory is going to be best served by Views especially in d5 since Views d5 isn't able to operate on non-node related tables which it can in Views 2.
Comment #2
sirkitree commented5.x unsupported