Version: 1.00, by Moya
Developer Last Online: Aug 2009
Version: 3.0.3
Rating:
Released: 11-22-2004
Last Update: 04-21-2005
Installs: 19
No support by the author.
Hello all,
Awhile back, I post a a script that allow vb3 member to upload files like mp3, wma, etc. I have no idea that such upload is needed for our board I got a lot of request for instructions and direction on that script.
As a result, I put aside a little time from my working hour and work on this new upload script.
What this script does is:
- Allow members to select a file from their local computer.
-Upload to the board's predifined directory.
-Create a meta file that associated with the current uploaded file, and save to another directory. This meta will be used by the music bb code
The uploaded files are not managed by database.
############## File edit ##############
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Open includes/adminfunctions_template.php
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Upload multimediamanagerinstall.php to your admincp directory
Run this installer from your admincp directory
Delete this file after you install
Open songloadersforvb.php and modify these lines
Upload songloadersforvb.php to your forum root
PHP Code:
//################### set usergroup can access this script ############################
if (!in_array($bbuserinfo['usergroupid'], array(1,2,3,4,5,6)))
{
print_no_permission();
}
$file_extension = array(".wma", ".mp3", ".rm", ".ram", ".wmv");
$filesizes = "31457280"; // max filesize allowed to upload (in KB)
$filesizemb = number_format($filesizes/1024,1) . "MB"; // convert to mb
$completesitelocation = "http://www.123.com/yourforum/musicdirectory/"; // Full URL to upload dir
$physicallocation = "/var/www/html/yourforum/musicdirectory";
$metaurl="http://www.123.com/yourforum/musicmetadirectory/" ;
$metadir="/var/www/html/forum/musicmetadirectory/";
You will have to create the BB code for your music format. If you need the bb code, I will post it up here.
Thanks
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hmmm Nice Mod.. INstalled it .... Btw ... is it possible 2 merge this with uploading of .ZIP formats ?... would be lovely if its possible Thankyou
If you have the need to upload other file format, out of vbulletin scope, then yes it is possible to this. Other than that, vb's attachment management is my prefered choice, because it is secured. The link are masked and taken care by database.
will this show also show the uploaded songs in attachements?
No this won't show in attachment. What it does is uploading the media files in one directory, creating a music meta file and save this in another directory, then create bbcode based on each files format.
Currently, it can support realplayer, mp3, wma, and wma.
No this won't show in attachment. What it does is uploading the media files in one directory, creating a music meta file and save this in another directory, then create bbcode based on each files format.
Currently, it can support realplayer, mp3, wma, and wma.
Ok i figured that, good hack but i rather use the new one by ericGTR that is the same thing pretty much but uses attachments system