how to not show attachment file names in posts

Discussion forum for MOD Writers regarding MOD Development.
Registered User
Posts: 410
Joined: Thu Mar 28, 2013 10:27 pm

how to not show attachment file names in posts

Post by techman41973 » Sat Dec 07, 2013 6:10 am

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.


Return to “[3.0.x] MOD Writers Discussion”