Needs review
Project:
Activity Stream
Version:
6.x-1.0-rc2
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2009 at 06:51 UTC
Updated:
7 Nov 2009 at 19:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
nitram079 commentedI totally second that - subscribing
Comment #2
akalsey commentedThere was some code in there already for BuddyList and Drupal 5, so it shouldn't be too complicated.
This patch is totally untested but here's what it should do.
If you're looking at your own profile page and you have either User Relationships or FriendList installed, show the activity stream of your friends instead of your own.
The patch is for Activity Stream 2.x (no new features going into 1.0). Try it out and let me know how it works.
Comment #3
deltab commentedthe old simplepie conflict is back (and yes, i have other modules using Simplepie, and Activigtystream was working correctly post http://drupal.org/node/303765 settings). I thought the Simplepie conflict was resolved in 2.x?
Call to undefined function simplepie_require() in /PATH/sites/all/modules/activitystream/activitystream_feed/activitystream_feed.module on line 13
Comment #4
akalsey commentedCould you try installing the Utility module and setting the Activity Stream module weight to be lower than Simplepie?
http://drupal.org/project/util
I think what's happening is the AS module is loading before Simplepie.
Comment #5
deltab commentedCan't, as you know, simplepie results in a whitescreen error.
Can it be an issue with older activityscreen items still in the database?
Comment #6
akalsey commentedIn your database, find the activitystream and activitystream_feed modules in the system table and set the weight to 50.
Or delete the activitystream folder from your modules directory, install Util and set Simplepie to -50 weight. The put the acrivitystream folder back in and re-enable the module. All your AS accounts and items will still be there.
Comment #7
deltab commentedOkay, you are right - some diddling with the modules (moved activitystream out of the ./modules dir, installed util, put simplepie at -100, moved activitystream back) and it works.
Question is, what do I do next for the UR stuff to work? I am not a coder, but what I figure is, there are two situations (1) the user is _not_ logged in (show him everything), and (2) the user is logged in, and the system knows his relationships, therefore show only his friends activity. So howto?
Step-By-Step configuration instructions are much appreciated.
Comment #8
deltab commentedAs it stands, I can only see my Activity Stream, not my colleagues or any of the other specific User Relationship types. Therefore the question.
Comment #9
deltab commentedalso, with users I know haven't configured anything with activity stream, i.e., if i browse to mysite/stream/userWhoDidNotConfigure, i still see only my activity, ditto with mysite/stream/userWhoConfigured - i do not see his activity.
something is surely failing somewhere.