The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
What is the correct location in vB to modify an attachment during/after upload? I'd like to update some parts of the file. |
#2
|
|||
|
|||
![]()
during upload, the files are located in the /tmp directory based on PHP configurations...
you can't actively modify a file that is in the upload process... but you can edit the file itself once it is completely uploaded in the file system... these files are located in the database OR the file system depending on your own settings... |
#3
|
|||
|
|||
![]()
I've now put my code in vB_Upload_Attachment - process_upload. However, there are no hooks in that function and I'd like to avoid touching PHP files as much as possible. Is there a better location to do this in the vB code?
|
#4
|
||||
|
||||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|