The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Direct Link to Attachments
Is there any hack, or can one be done, that when a person uploads the attachment via the normal upload system, the link in the corresponding post, shows up as a direct link to the file, not a php string driven url?
Like, you upload, and then it shows http://yoursite.com/attachments/file.jpg etc etc? I am trying to reduce overall stress on my server by removing unnecessary database calls. I know I will lose tracking stats related to attachments, but, I really do not care about that at the moment. I think if this system is in place, placing an anti-remote file linking setting will also work. Thanks in advance. EDIT: In relation to images, I would like the thumbnail system to stay in affect, so in theory the hack would produce Code:
<a href="http://www.yoursite.com/attachments/file.jpg"><img src="http://www.yoursites.com/attachments/filethumb.jpg"></a> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|