Code: Select all
'S_FILE' => true,
Code: Select all
'S_DENIED' => (empty($user->data['is_registered']) || !empty($user->data['is_bot'])) ? true : false,
'DENIED_MESSAGE' => 'You do not have the required permissions to download this file.<br>Need to be logged in to the forum to downloaded.',
With this modification the display of images in attached files will be possible to guests and bots, but not file downloading.
This solution makes it possible to do without the authorization provided for in the ACP