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.
I tired out you hack, I really want this one to work
When ever I try to do a upload it says this: "you do not have permission to access this page. This could be due to one of several reasons:" I attached a bit of my songloadersforb for you to take a look. What do I use for user id?
is there anyway someone can show me an example of what a real songloadersforvb.php looks like? I installed it and it does not work, plus what does this mean? "$metaurl="http://localhost/vbb/musicmeta/" ;
$metadir="c:/vbb/musicmeta/";"
I just install this hax but seem not working for me It said Can't not up load although I think I will try it later. Btw I have a question: can u share the this code music: http://www.aotrangmongmo.com/forum/music.php
I really like them especially when u post 1 song and they mask the link so other can't steal it. Plz show us. Thnx in advance.
will paid some $ if u can help me out w/ resonable price
Pm me if u are interested in to share the code. I will pay some $ for it .
I really like the concept it hide ur true link location ( just like tialia.com )
Pm me if u are interested in to share the code. I will pay
Hi Stich, I Like the concept of the hack too :-
1. that files are not stored in the database but in a folder.
2. upload utility
3. mask real url
this is exactly what I was looking for my site too as i want users to be able to download, newsletters, online magaznines and other publications off my forum, however I would prefer if you release a completed hack (as you write before) with the download and upload utility together in one hack as per as add functionality to not just multimedia but other files - such as TXT, DOC, PDF etc..
change 1,2,3,4,5,6,7,8,9,10,11,12 to your usergroup id
I can't get this to work, see image below, thats the msg I get, I would really like to have this mod work, I did all the steps above, when I ran the install file it went though but all I got was a blank background after istall is that normal????