Closed (fixed)
Project:
Facebook-style Statuses Comments
Version:
6.x-1.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 May 2011 at 09:56 UTC
Updated:
15 Jun 2011 at 11:31 UTC
Comments
Comment #1
icecreamyou commentedYou will need to implement
hook_fbss_comments_has_permission_alter(&$allow, $op, $comment, $account)in a custom module. Check whether$comment->uidand$account->uidare friends, and if they're not, set$allow = FALSE.Comment #2
aqueelahmad commentedThanks IceCreamYou,
-- I have used the given code in own custom module, It is working as accepted.
Thanks
Aqueel