The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
i'd like to build an attachmentfunction in my hack
so what is the best way? |
|
#2
|
|||
|
|||
|
Take a peek at the following:
Code:
$upload = new vB_Upload_Image($vbulletin); ... $upload->process_upload ... |
|
#3
|
|||
|
|||
|
yes, i've seen this, but i don't need images
i'd like to upload mp3's |
|
#4
|
|||
|
|||
|
Copy class vB_Upload_Image extends vB_Upload_Abstract to class vB_Upload_MP3 extends vB_Upload_Abstract, replacing the $this->image if-else block with an MP3 check.
|
|
#5
|
|||
|
|||
|
yea
good idee nice approach (hope thats the right word for german: ansatz) now i know what i have to look for |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|