Multimedia Upload
This modification is in the archives.
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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Find Code:
'subscription' => $vbphrase['group_paid_subscriptions'], Code:
'multimedia_management' => 'Multimedia Management', ############## Template Edit ############## Insert at the end of headinclude Code:
<SCRIPT TYPE="text/javascript"> <!-- function popup(url,songloadersforvb) { if (! window.focus)return true; var href; if (typeof(url) == 'string') href=url; else href=url.href; window.open(href, songloadersforvb, 'width=500,height=250,scrollbars=yes'); return false; } //--> </SCRIPT> Save ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Open Editor Temlates >> editor_toolbar_standard ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Find Code:
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if> </tr> Code:
<tr> <td colspan ="5"> <a href="songloadersforvb.php" onClick="return popup(this, 'songloadersforvb'); return false" title="Multimedia Managment">Multimedia Managment</a> </td> </tr> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Open Editor Temlates >> editor_toolbar_wysiwyg ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Find Code:
<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if> </tr> Code:
<tr> <td colspan ="5"> <a href="songloadersforvb.php" onClick="return popup(this, 'songloadersforvb'); return false" title="Multimedia Managment">Multimedia Managment</a> </td> </tr> 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 ############################
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 Download This modification is archived and cannot be downloaded. |