Hi,
i have problem with Activity and User Relationships.
I can't see my friends activity in block and in Activity Menu - My friends Activity. But i could see it in All activity.
user A add user B like as a friend.
both make some activity.
But user A dont see user B activity.
User B see User A activity allright.
Do you have any idea, where could be problem?
Thanks
Tom
Comments
Comment #1
dalad commentedI think the problem is in the function user_relationshipsactivity_user_relationships of user_userrelationshipsactivity.module
Fact is that:
1) When a relationship is approved, $op is "presave" but the switch tries to catch "post-save"
2) When a relationship is deleted, $op is "remove" and $category is null but the switch tries to catch $op="delete" and $category="remove"
I resolved with this edit, which is a hack, not a patch:
Still there is an issue with "who has requested to who" sentence in activity list...
Comment #2
Rosamunda commentedsubscribing
Comment #3
jaydub commentedThe user_relationships hook changed from UR 5.2 to UR 6.1
I've reworked the hook implementation to work correctly with both versions and will commit to CVS shortly.
Comment #4
sirkitree commentedtagging to be fixed by the rc
Comment #5
sirkitree commentedHave you committed anything to CVS for this since you mentioned having code for it?
Comment #6
jaydub commentedyes the last commit on Jan 1 had a lot of the changes referred to here:
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/activity/co...
Comment #7
sirkitree commentedok, so... is there anything left to do?
Comment #8
jaydub commentedWell the original poster can check to see if their problem still occurs. Each contrib module basically just needs to have the tires kicked to see if the basic activity records and blocks show the expected information.
Comment #9
sirkitree commentedNo negative feedback from users.