Upon closer inspection the conditional statement for the display of those elements was checking the usergroupid of the person viewing the page, and not the usergroupid of the person who made the post. I'm very surprised no one mentioned that earlier.