The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Download Based On Database Details »» | |||||||||||||||||||||||||
First of all, this is my first hack in php. Please go easy on me
Second, I don't know how to categorize this hack. If this doesn't belong here please move it. Thanks I have searched thru the v3 for a hack that enable me to let my member download multimedia files without success. I end up with my own hack. Here are the desciptions Multimedia files information such as ilenames, extension, url, etc. are stored in database. Each file is assigned a unique id They are output to a link like http://www.mysite.com/forum/atmmdown...songnumber=xxx Each time member - who are allow to download files- click on the linked The request is sent to the included file. Once the authorization is authenticated. The requested file will then be downloaded I have tested this one on my own board with IIS6 and win2003 Thanks Show Your Support
|
Comments |
#12
|
||||
|
||||
Okie
Each time a multimedia file like wma, mp3, wmv is uploaded by my users (via a separate upload interface), the song information like titles, file name (file name + extension), file type, are insert as new record into a table like songtable. After this file is uploaded into a designated directory, then the upload interface executes the next code sequence to create streaming type files like wmx, wax, m3u based on the uploaded files, and write this new file to another directory. Lastly the upload interface will update the table with the real location of the uploaded file along with the location of the streaming files When my board member want to listen to a particular song, my music script will verify that if this member is authorize to listen, and allowed to download the song. If this member is alowed to download the song, the download link will be displayed Once this member decides to download the song, he/she just clicks on the link. The download script will look into database for the filename of the requested song id. Once it locates the song, the script will read the file and output thru this member computer. |
#13
|
||||
|
||||
Could you release that file upload interface too, cause this file(the one that you posted) is just for clients side, admins have nothing to do with it, and you could think about a whole music managerment system I suggest
|
#14
|
||||
|
||||
..and oy yeah please execuse my spaghetty coding
|
#15
|
||||
|
||||
and we upload the file to? while making a template with that info in it?
EDIT the template code goes into the newthread template but it make it rather large and confussing looking. Is there anyway I can have it so this hack has its on page. I'll try and make a page for it using vBA CMPS EDIT AGAIN Ok got it working fine on cmps since its basically just copying the template from above but can you share the code that you use to display results as right now its just uploading with no choice to listen |
#16
|
||||
|
||||
Quote:
I am still working on that system. I am not sure I will have it released. |
#17
|
|||
|
|||
<a href="http://www.blaminator.co.uk/forum/atmdownloadforvb.php" target="_blank">www.blaminator.co.uk/forum/atmdownloadforvb.php</a>
help |
#18
|
||||
|
||||
I would love to take a look for you, but where did you put your link.
Download script require id from database? I have the link example in the script and the first post. It should be something like this ../atmmdownload.php?do=getsong&songnumber=xxx |
#19
|
||||
|
||||
Can someone please make it as a sound managment hack?
It could be a hell of idea, to have something like that...and so ppl just install the hack and have "mp3 uploads" + listening in the forum!!! |
#20
|
||||
|
||||
Could we have the querys needed for this to work?? Seems like its something everyone wants, but no proper instructions so just have to stumble the way through
|
#21
|
|||
|
|||
GREAT hack!!
will install it once i get some time. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|