I think a good improvement could be to create a function that returns the privacy value for a specific content.
i.e.:
getContentPrivacy ($id, $type,$memberID)
where $id is the id of the content (id of the photo or of the video, ecc..)
$type is the type of content (video, photo, poll, ecc...)
$memberID (optional because you can get the content author from a query, but maybe usefull in order to verify the content author)
This feature could be used, for example, to enable/disable the content sharing, view and more other actions.
Good luck Boonex team!