friends Activities with UR and views

charlie836 - November 13, 2009 - 10:00
Project:User Relationships
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I have a probleme with integration activty2 in views. I would like create a block with my friends activity in my profil.

when I select a filter "Activity Access : User_relationships_api Access =" error with views "warning: Invalid argument supplied for foreach() in mysite/public_html/sites/all/modules/activity/views/activity_views_handler_filter_access.inc on line 64"

I would like to see the activities of my friends and myself in the same view. Is it possible?
Actualy USER 1 see own activities and USER 2 activties. User 1 and User 2 have an relations "friends". USER 3 have not a relation with USER1 and USER2 but he sees their activities.

thx for your help

AttachmentSize
views-activity2-ur.txt4.25 KB

#1

charlie836 - November 14, 2009 - 11:00

Scoot an idea?

#2

charlie836 - November 15, 2009 - 11:36

I make test with Flag Friend+ Activity2+ Views does not work either. I can't filter out activities only friends "Friend Flag or UR"

Where is probleme?

#3

Scott Reynolds - November 17, 2009 - 17:37
Assigned to:charlie836» Anonymous
Status:active» postponed (maintainer needs more info)

not sure at all. Seems like a configuration problem then. These problems can be hard to solve, but I think it probably has to do with where you have your modules stored on disk.

I will try your exported View soon.

#4

charlie836 - November 18, 2009 - 22:09

Hi,

How can I build a view that the activities of my friends are visible on my profile with UserRelationship or FlagFriends.

It's been a week that I work on it. I am desperate.

Help please!

#5

charlie836 - November 18, 2009 - 22:30

My views export and

Site test1 Modules Version with Flag Friend
Activity 6.x-2.x-dev (2009-nov.-12)
Advanced Profile Kit 6.x-1.x-dev (2009-nov.-13)
Facebook-style Statuses (Microblog) 6.x-2.x-dev (2009-nov.-18)
Flag Friend 6.x-1.x-dev (2009-nov.-09)
Flag 6.x-2.0-beta1

Site test2 Modules Version with User Relationship
User Relationship 6.x-1.0-rc3 2009-Nov-18

AttachmentSize
views-flagfriends-activity.txt 5.49 KB

#6

ajayg - November 19, 2009 - 05:29

I confirm I am getting the same error message by importing view created by charlie836

What Info you will need?

#7

ajayg - November 19, 2009 - 05:29
Status:postponed (maintainer needs more info)» active

#8

Scott Reynolds - November 19, 2009 - 22:54
Project:Activity» User Relationships
Version:6.x-2.x-dev» 6.x-1.x-dev

This invalid argument error is saying it couldn't get activity access grants form UR

<?php
module_invoke
($this->definition['module'], 'activity_access_grants', activity_views_access_user())
?>

Not an activity bug.

#9

charlie836 - November 21, 2009 - 01:40

I dont understand ... UserRelationships and Activity2 does not show the activities of my friends. FlagFriends - 2.0 Flag and Activity2 does not show the activities of my friends ...
I may be zero! But all these modules are very big and important to create a community.
It's been a week that reported the bug to the support of all the modules.

Can you explain the solution please? Propose a view model to integrate with Panels!

I dont know, I want a solution ...

I know you have a lot of work and request, but this function is very important for the community.

Thank you for your help.

#10

charlie836 - November 23, 2009 - 00:46

#11

ajayg - December 7, 2009 - 04:53

some progress. See comment here http://drupal.org/node/445698#comment-2347428

But we are not there yet. We don't get error anymore but it is not behaving as intended. Shows activity of everyone to everyone.

Could someone else please try the view mentioned above+ UR Rc3+activity2 latest dev version+ patch in #652906: Activity fails to include the file when path isn't set?

#12

alex.k - December 7, 2009 - 07:34

Thank you for looking into this, @ajayg.

 
 

Drupal is a registered trademark of Dries Buytaert.