I'd like to prevent a user from posting on another users timeline / activity feed.
This is a problem as another user can post on someones activity feed, the post then shows when the users profile is viewed.
 
Giving users the option to disable this is not good enough, I need this to be a site-wide feature.
 
Any help or advice on this would be much appreciated , thanks :-)
Comments (1)
BrianD  
I created a condition in view/elements/activities_widget.ctp

if ($user['User']['id'] !==$uid)

Not sure if preventing the activities form from displaying via a view is good practice though, if anyone has a better approach I'd be really grateful if they would share
Thanks
No login
Login or register to post your comment
Cookies on mooCommunity - Social Networking Script.
This site uses cookies to store your information on your computer.