vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Download Based On Database (https://vborg.vbsupport.ru/showthread.php?t=70565)

Moya 10-15-2004 03:34 AM

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.

AnhTuanCool 10-15-2004 03:54 AM

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 ;)

Moya 10-15-2004 04:45 AM

..and oy yeah please execuse my spaghetty coding :)

moley 10-16-2004 07:46 AM

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 :p

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

Moya 10-16-2004 09:15 AM

Quote:

Originally Posted by moley
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 :p

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


I am still working on that system. I am not sure I will have it released.

Blam Forumz 10-17-2004 01:49 PM

<a href="http://www.blaminator.co.uk/forum/atmdownloadforvb.php" target="_blank">www.blaminator.co.uk/forum/atmdownloadforvb.php</a>

help

Moya 10-17-2004 05:31 PM

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

lanc3lot 10-20-2004 01:09 AM

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!!!

MindTrix 11-08-2004 09:31 PM

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 :)

Viks 11-08-2004 10:49 PM

GREAT hack!!
will install it once i get some time.


All times are GMT. The time now is 06:40 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01210 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete