Hello, this is a simple basic script you will be coding. It will display a list of folders based on the profile name the user is looking at. Will use the user profile hooks in drupal to find folders based on that username and return a list of links (generated by the subfolders name of the master username folder). Basically, the users array of folders become hyperlinks.
ie, say user was looking at user profile for Jane Smith on mysite.com. That page would have a box that was a list of Jane Smiths folders the user can click on. In actuality the path root/public_html/folder contained these folders: 1,2,3,4 and folder 5. The function would parse the names of them and return a list which are hyperlinks
<a href="[url removed, login to view] Smith&dir="./folders/1">1</a>
<a href="[url removed, login to view] Smith&dir="./folders/2">2</a>
<a href="[url removed, login to view] Smith&dir="./folders/3">3</a>
The goal simply to link to specifically formed URLs that contain the username and the folder name. We have a page that scans the folder for mp3 playback already built so this is the missing code.
Bidder will just provide the code snippet that will achieve this goal since I can create the panel for it.
Probably the best way to integrate this functionality into a custom drupal module, which will provide a block for you, so you can reuse in the site anywhere (eg.: in panels)