Page 2 of 2

Posted: Thu Mar 22, 2007 11:20 am
by DavidIQ
Then here you go:

Code: Select all

#
#-----[ OPEN ]--------------------------------------------
#
attach_mod/displaying.php

#
#-----[ FIND ]--------------------------------------------
#
               'U_DOWNLOAD_LINK'   => append_sid($phpbb_root_path . 'download.' . $phpEx . '?id=' . $attachments['_' . $post_id][$i]['attach_id']),

#
#-----[ REPLACE WITH ]--------------------------------------------
#
//               'U_DOWNLOAD_LINK'   => append_sid($phpbb_root_path . 'download.' . $phpEx . '?id=' . $attachments['_' . $post_id][$i]['attach_id']),
               'U_DOWNLOAD_LINK'   => $filename,
Might want to edit viewtopic_attach_body.tpl to not display the download count.

Posted: Thu Mar 22, 2007 2:28 pm
by theGrinchUK
Thanks a lot, that should solve the problem!