listing last stories and last comments for a particular user
tata668 - February 3, 2008 - 03:31
I would like to display the last stories and the last comments for a particular user. A little bit like the "track" page (ex: /user/1/track) but with link pointing to the actual elements.
Something like:
==============
user recent activity
==============
today, 23 minutes ago - comment for story "my story" - <link to the comment>
------------------------------------------------------------------------------------------------------
4 days ago - new story "my story title" - <link to the story>
------------------------------------------------------------------------------------------------------
11 weeks ago - comment for story "another story" - <link to the comment>
------------------------------------------------------------------------------------------------------I looked at the "views" module but I was not able to achieve what I want: mixing comments and stories and provide a link to each element.
Any idea how to achieve that?
Thank you in advance!

create view
create view with any fields you want, set argument with user $userid, filter it with story, page, forum topic just waht you need. Or for detail check this link http://shellmultimedia.com/tutorials/user-profiles-version-1
Thanks for the answer, but
Thanks for the answer, but I'm not able to list the comments by a specific user, using the "views" module.
I'm going to try this though: http://drupal.org/project/comments_page . I'll make two pages, one for the user's stories (using views) and one for his comments (using this "comments_page" module).