Activity Stream source, link, and icon don't show up in views
SocialNicheGuru - April 22, 2009 - 15:58
| Project: | Activity Stream |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I am using views2 to build the activity stream. Link, source, and icon do not show up.

#1
As usual, have to begin by saying great work on this - loving it!
I'm using Views to output a custom activity stream - mostly because I want to show more items. They don't take a lot of space, and with only 10 items shown, last.fm listens tend to clog the view. It might actually be nice if it could just consolidate and say "Adrian listened to 15 songs" (saw this in another support request/patch except in regards to flickr), or to have the option to just aggregate "loved" tracks instead of everything. But meh. Meanwhile...
I have my View set up basically identical to the built-in stream, except showing more posts. You can see it at http://canadrian.ca/streamview . The problem is that I don't know how to re-write the "source" which outputs things like "activitystream_lastfm" so that it reads as the appropriate plain-english equivalent, i.e. "listened to" or "tweeted" or "dugg" etc. just like the built-in display does. Now I expect a little php in the view could do this, but to be honest I really have no clue about php.
I know you guys have better things to do than solve my little issues, but I was wondering if anyone has a little php snippet that could do this. I'm sure it would be of use to anyone using Views with this module. A built-in feature to automaticlly re-write this in Views would be even more awesome, but failing that I think a php snippet to cut and paste would be useful to everyone - including myself of course. :)
Thanks in advance to anyone who can help out with this.
#2
Oops... I think I hijacked an existing post. I meant to post a new issue.
#3
has anyone gotten the icon and activity stream source to work in the 2.x version.
They work in the 1.x version.
Thanks,
C