>>> Files Edit
./Sources/Display.php
Find: $filename = getAttachmentFilename($real_filename, $_REQUEST['attach'], $id_folder, false, $file_hash);
Add Before: call_integration_hook('integrate_attachment_download', array($id_attach, $attachment_type));
./Themes/default/Display.template.php
Find: (', $attachment['size'], ($attachment['is_image'] ? ', ' . $attachment['real_width'] . 'x' . $attachment['real_height'] . ' - ' . $txt['attach_viewed'] : ' - ' . $txt['attach_downloaded']) . ' ' . $attachment['downloads'] . ' ' . $txt['attach_times'] . '.)[br /]';
Replace With: (', $attachment['size'], ($attachment['is_image'] ? ', ' . $attachment['real_width'] . 'x' . $attachment['real_height'] . ' - ' . $txt['attach_viewed'] : ' - ' . $txt['attach_downloaded']) . ' ' . $attachment['downloads'] . ' ' . $txt['attach_times'] . '.)';
call_integration_hook('integrate_attachment_download_list', array(&$attachment));
Code
database.php
This file should be able to execute standalone.
hooks.php
This file should be able to execute standalone.
File Operations
Move the included directory "Sources" to "the root directory".
Move the included directory "Themes" to "the root directory".