The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
*Final Edit*
This question has been resolved. By viewing the code I found out that the templates are stored in the DB ![]() *Edit* All I need to know now is where the html for the attachment manager is located. Thank you in advance for your help regarding is issue. ------------------------------------------------- Is there any way possible to attach files to a thread without "uploading" the files. I am going to use the filesystem storage system and would like to be able to attach the files by linking to it in a way. I would like to upload all my files into the storage directory and then link the files to the thread instead of using the vb attach from url function. Is this possible in any way. These threads are going to be used as a product delivery system where premium members can log into the forum and download files from a very large archive. |
#2
|
|||
|
|||
![]()
Just link to the file with a URL?
|
#3
|
|||
|
|||
![]()
I dont really want to do that.
I have figured that If I just edit the newattachment.php I can add the option to just add the filename that is in the storage directory, and have it not do any uploading, but just add the appropiate database entry for the attachments. All I need to know now, is where the html template code is for the attachment manager so I can add the additional option, and how to only display it to admins. Where is the html for the attachment manager, and what is the variable to check if is admin ... if ($vbadmin) { new option html } Would I just use this variable? if($vbulletin->userinfo['userid'] == 1 || $vbulletin->userinfo['userid'] == 2){} |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|