In some forums, I've set my permissions to restrict guests from viewing/downloading image
files in my posts. Instead PHPBB shows guests the file name of image/attachment inline, inside the post.
I'd like to modify the php code so that the file name of the image/attachment does not appear inline in the post, when visitors have no
permission to view/download attachments.
I've looked through sections of code including the parse_attachments function, but I'm lost on where I need to modify. I would appreciate some guidance.