There are some activity hooks that need to be implemented for my own personal reasons :D

CommentFileSizeAuthor
flag_friend-activity_access.patch1.12 KBsirkitree

Comments

sirkitree’s picture

Status: Active » Reviewed & tested by the community
tracerhand’s picture

I'm a big fan of Flag Friend. What does this patch do?

sirkitree’s picture

This will make so that flag_friend will play nicely with activity module's 6.x-2.x branch.

Please see this issue for a more in-depth discussion:
#407840: hook_activity_grants() & hook_activity_access_grants()

tracerhand’s picture

Interesting! I've applied the patch but I'm not sure what new stuff I'm supposed to see. Views of the type "Activity" don't seem to offer any arguments or relationships that have to do with Friend Flag, which is what I (perhaps wrongly) expected.

sirkitree’s picture

You won't see anything different within the view ui itself. Where you would see a difference is within the SQL as Activity module uses db_rewrite_sql() to change the view's SQL. Read the Activity issue linked above to get a better idea of what this does exactly.

tracerhand’s picture

I'm afraid the link above is beyond my comprehension. Oh well - it certainly sounds good, the idea of integrating Flag Friend with Activity more intimately. Keep up the good work!

sirkitree’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.