Hi,
I was looking for a way to associate nodes to certain users - other than the current user.
For example when I submit a picture of user 'paul' to my site , I'd like to have a link 'Related user(s):
' which links to the user page of that user.
Also , It should be possible on the user page to show a list of nodes that are related to that user. ( For example listing all the content nodes that are related to that user)
As a solution I've built a little helper module that creates a taxonomy vocabulary 'Related Users' , and creates/deletes a taxonomy term ('paul',...) for each user in the system , using hook_user().
This way you can :
1. add the term for the related user ('paul') when you create a new node, so you can eventually use that term to link to the user page.
2. use taxonomy filtering to list all content related to that user.
Anyone knows another solution for this ? If not , I'll contribute this module ...
Stefaan Ponnet - Fusebox
Comments
Seems to be existing
Apparently the 'User Related Content' module does the same thing, plus some more, so there was a solution available already :)
Stefaan