Code: Select all
#
#--- [ OPEN ] -----------
#
includes/functions_content.php
#
#--- [ FIND ] -----------
#
if (isset($attachment['download_count']) && $attachment['download_count'] != 0 && !$attachment['in_message'])
#
#--- [ REPLACE WITH ] -----------
#
if (isset($attachment['download_count']) && $attachment['download_count'] != 0 && !$attachment['in_message'] && $display_cat == ATTACHMENT_CATEGORY_NONE)
Then you have not tried it in the latest version?Porutchik wrote:This modification does not work on phpBB3.0.11?
Code: Select all
?>
Code: Select all
//[begin] Who has downloaded a attachment by Porutchik
$lang = array_merge($lang, array(
'ATTACH_WHO_DOWNLOADED' => '¿Quién ha descargado este adjunto?',
'ATTACH_DATE_DOWNLOADED' => 'Fecha de descarga',
));
//[end] Who has downloaded a attachment by Porutchik