0
Since MC lacks the ability to automatically generate zip files for album download, I've taken the challenge and wrote my own "plugin" of sort to enable the function!
Function:
Adds a "Download Album" link to album view which dynamically zips all songs in an album and allow authorized users to download.
Installation:
Simply unzip the file in the component directory and it should be good. Basically it creates a cache directory, a file called zipdownload.php in the helpers directory and replaces default.php in the views/album/tmpl/ directory. Be sure to back up your default.php before proceeding. Also make sure that the cache directory is writeable by web server.
Requirements:
The "plugin" assumes UNIX/Apache type environment for your server and gzip is installed at /usr/bin/zip.
Compatibility:
The "plugin" has only been tested on my Mac server and is not guaranteed to work for other platform. Feel free to test it out and let us know!
P.S.
Germi please consider adding this to 2.1 if you deem it's good enough [file name=album_download.zip size=4891]http://www.joomlamusicsolutions.com/images/fbfiles/files/album_download.zip[/file]
Function:
Adds a "Download Album" link to album view which dynamically zips all songs in an album and allow authorized users to download.
Installation:
Simply unzip the file in the component directory and it should be good. Basically it creates a cache directory, a file called zipdownload.php in the helpers directory and replaces default.php in the views/album/tmpl/ directory. Be sure to back up your default.php before proceeding. Also make sure that the cache directory is writeable by web server.
Requirements:
The "plugin" assumes UNIX/Apache type environment for your server and gzip is installed at /usr/bin/zip.
Compatibility:
The "plugin" has only been tested on my Mac server and is not guaranteed to work for other platform. Feel free to test it out and let us know!
P.S.
Germi please consider adding this to 2.1 if you deem it's good enough [file name=album_download.zip size=4891]http://www.joomlamusicsolutions.com/images/fbfiles/files/album_download.zip[/file]
Responses (31)
-
Accepted Answer
0Submitted to Downloads -> Extensions section just now
BTW please visit my website at http://maestroilluminist.com to show some support B) -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Hi Vandetta!
read the first post:
Installation:
Simply unzip the file in the component directory and it should be good. Basically it creates a cache directory, a file called zipdownload.php in the helpers directory and replaces default.php in the views/album/tmpl/ directory. Be sure to back up your default.php before proceeding. Also make sure that the cache directory is writeable by web server.
Unzip the File and then upload everything via ftp-programm. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0The plugin obeys the setting of you MusCol. Namely if you allow users to download songs in MusCol then they'll be able to download the album as zip as well (just saves their time from downloading files one by one). If that's not the behavior you observer, please let me know.
If you want more fine-grained control, you'd have to bug germi for that -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »