I'm sorta surprised I haven't seen anyone doing something like this (after scouring d.o):

I need to build a functionality where a user can 'recommend' a node to another user. I'm thinking flag would be great for this if a user reference could be added when a node is flagged. Having a flag with a username (or names) attached to it would then allow building of a view with that user as an argument, showing users "content other people recommended for you" in a block.

(in the long run, it could be integrated with user_relationships to only allow you to reference friends, but that's dreaming at this point)

Thoughts on accomplishing this? Has anyone tried it? I'm thinking maybe it might be similar in scope to Flag Note?

Comments

mooffie’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #871064: Making flaggings fieldable.

You can see this feature in action here.

I'm thinking maybe it might be similar in scope to Flag Note?

(Yeah, 'Flag Note' is a special case, a very limited one, of "fieldable flaggings". I filed an issue there to not port it to D7 as #871064 is a better solution.)

Rob_Feature’s picture

Status: Closed (duplicate) » Active

This was a D6 request so I'm going to reopen to see if anyone has any other thoughts, since the dupe is D7 (and not something usable in D6).

joachim’s picture

Status: Active » Fixed

I really don't think this is doable on D6.

Your best bet would be to:

- flag the node on behalf of the destination user, not the acting user
- send a message to the destination user telling them 'User X recommended node Y to you'

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.