I was wondering if I could get the "downloads plugin" to display sub-directories within the main directory. For example, if my downloads folder was "/var/www/protected" how could I get sub-directories (i.e. 2008, 2007, 2006, etc) to be displayed as links that when clicked upon would display the files within that folder for members to download? Maybe even a tree structure such as: - Protected -2008 0101.mp3 0201.mp3 0301.mp3 +2007 -2006 0101.mp3 0201.mp3 +2005 Really need help implementing this. Willing to commission, if necessary. Is it possible? Thanks
Update: I think I figured out a hack that would do what I need (although I would have to create some manual pages).
First, I uploaded all my downloadable files (in my case, mp3 files) in the downloads directory. Then I took a look at the source code that the download.php file generated; namely, all the anchor <a href> tags to my audio files. Then I created a separate php (or html) page using the anchor tags from the souce code. Finally I created links on my main pages for my members to access these newly created php/html pages. For example, I have paid members and free members. Once the paid members log in, they are directed to the /fullmember directory. Within the index.php of that directory I added a link to my manually created "pay-per-download" section. Example of one of my manually created pay-per-download pages: ************** <header> <body> <table> <tr><td align="left"><span><a href="/amember/plugins/protect/downloads/download.php?file=firstfile.mp3">First Audio File</a><blockquote class="content">Description of file goes here</blockquote></span></td></tr> <tr><td align="left"><span><a href="/amember/plugins/protect/downloads/download.php?file=secondfile.mp3">Second Audio File</a><blockquote class="content">Description of file goes here</blockquote></span></td></tr> <tr><td align="left"><span><a href="/amember/plugins/protect/downloads/download.php?file=thirdfile.mp3">Third Audio File</a><blockquote class="content">Description of file goes here</blockquote></span></td></tr> </table> </body> <footer> **************** Side Note: I edited the "member.php" page so that the "downloads" link would not show up under the "Your Subscriptions" section. The reason for this is that I do not want my members to access the download directory and see all the files available as one long list. I prefer they access the files via my manually created pages based on how I organize or group the files. Hope this helps and makes sense.