I need help with the following:

On my users profile page I am displaying all the activities of that users "friends" (UR module). I am using a view to display this information. I need to also display the current users activity in that view.

WHY you ask? I want the user to be able to see if other people add "activity comments" on their activities.

Is this possible? Is their a better approach for this? Thanks in advance.

CommentFileSizeAuthor
#2 activity view.txt5.2 KBprimus
activity view.txt5.73 KBprimus

Comments

Scott Reynolds’s picture

have you tried using the Activity Access: Actor filter. I believe, just be looking at your View export, that it would achieve that.

primus’s picture

StatusFileSize
new5.2 KB

Added Activity Access: Actor Filter along with the Activity Access UR filter, returns the correct data but I get the following error:

•warning: Missing argument 2 for user_relationships_api_activity_access_grants() in /var/www/vhosts/my.primaryimmune.org.global-prairie.net/sites/default/modules/user_relationships/user_relationships_api/user_relationships_api.activity.inc on line 23.

•warning: Missing argument 3 for user_relationships_api_activity_access_grants() in /var/www/vhosts/my.primaryimmune.org.global-prairie.net/sites/default/modules/user_relationships/user_relationships_api/user_relationships_api.activity.inc on line 23.

What argument do I need to add to the view?

primus’s picture

Status: Active » Closed (fixed)

Upgrading to latest UR dev module cleared up that issue. Thanks for you help! Marking closed.