Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Download Based On Database Details »»
Download Based On Database
Version: 1.00, by Moya Moya is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 10-13-2004 Last Update: Never Installs: 5
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 11-12-2004, 12:22 PM
miz miz is offline
 
Join Date: Mar 2003
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok few things

PHP Code:
<form method="post" action="$_SERVER[PHP_SELF]?do=upload" enctype="multipart/form-data"
i think you might want to replace it to :

PHP Code:
<form method="post" action="$_SERVER[PHP_SELF]enctype="multipart/form-data">
<
input type="hidden" name="do" value="upload"
about the hack itself, i really liked the idea and i think its can be a great addon
to music sites and things like that, you might consider to make a fully hack with upload and other things.

yours MiZ.
Reply With Quote
  #23  
Old 11-22-2004, 04:42 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by miz
ok few things

PHP Code:
<form method="post" action="$_SERVER[PHP_SELF]?do=upload" enctype="multipart/form-data"
i think you might want to replace it to :

PHP Code:
<form method="post" action="$_SERVER[PHP_SELF]enctype="multipart/form-data">
<
input type="hidden" name="do" value="upload"
about the hack itself, i really liked the idea and i think its can be a great addon
to music sites and things like that, you might consider to make a fully hack with upload and other things.

yours MiZ.
I am currently working with him, this could work into a great little system. The way it's been explained to me so far is that after you upload you are then presented with a URL that can be pasted (copied) into the post. What I have done is created a custom BB code that will embed the media player into the post, so once the file is uploaded it can be encased with the new BB code and then posted into the body of the post. Upon hitting submit this will present the uploaded song in the media player at a stopped position.
Reply With Quote
  #24  
Old 11-22-2004, 10:45 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello All,

If you still need the upload script, please come here and get the simpler version

https://vborg.vbsupport.ru/showthrea...d=1#post574926
Reply With Quote
  #25  
Old 11-26-2004, 02:16 PM
tnguy3n's Avatar
tnguy3n tnguy3n is offline
 
Join Date: May 2003
Location: U of I, Iowa
Posts: 846
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As I acknowledge, this is coded based on database + local link download, but the copyright is as
Quote:
// ************************************************** *************************
// File Copyright ?2004 of Stitch . (http://www.aotrangmongmo.com)
// ************************************************** *************************
Ain't it violating copyright of original author (under GNU GPL) as to alter & releasing the hack without the author's permission?
Reply With Quote
  #26  
Old 11-26-2004, 07:12 PM
Moya's Avatar
Moya Moya is offline
 
Join Date: May 2004
Posts: 356
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tnguy3n
As I acknowledge, this is coded based on database + local link download, but the copyright is as

Ain't it violating copyright of original author (under GNU GPL) as to alter & releasing the hack without the author's permission?

Uhmm what do you mean?
Reply With Quote
  #27  
Old 01-14-2005, 05:10 AM
Viks Viks is offline
 
Join Date: Sep 2004
Location: Toronto
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to instal this hack as well as the this one "multimedia upload"
(coz both work together), Im wondering if anyone here has successfully installed this hack.

is there a demo site to see this thing in action?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:28 PM.


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.04272 seconds
  • Memory Usage 2,273KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete