![]() |
attachments file name
is there a way to make attachments write the actual file type rather than redirect through attachment.php like rather than
attachment.php?attachmentid=1&stc=1&d=1458418561 show .jpeg at the end or rather than http://drcustumz.me/attachment.php?a...2&d=1458418572 .zip edit ------ i took a look in attachment.php and added IN RED Code:
$imagelink = 'attachment.php?' . $vbulletin->session->vars['sessionurl'] . 'attachmentid=' . $attachmentinfo['attachmentid'] . '&d=' . $attachmentinfo['dateline'] . '&e=' . $attachmentinfo['extension']; anyone know of any way to do this? |
The way vBulletin stores attachments, it's not possible to show a direct download link without it being tunneled through attachment.php.
|
vbseo, rewrites attachments to their original filename... which would fit my circumstances... maybe i can dig that code out =)
|
All times are GMT. The time now is 05:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|