"not authorized"-error - randomly!

Since Opentools.de has now gone away I've created this forum to house FAQs and support for this mod in phpBB2.

Moderator: Experts

DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Post 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.
theGrinchUK
Posts: 10
Joined: Tue Feb 13, 2007 11:46 am

Post by theGrinchUK »

Thanks a lot, that should solve the problem!
Locked