Please Log in or Create an account to join the conversation.
That would certainly be one way to do it.
[code:1]// If params ask for the playlist manager, deliver it. Otherwise, load the interface that allows visitors to add songs from this profile to their own.
if ($isME) { include('uploader.php'); } else {include('chooseplaylist.php';}[/code:1]
Then the interface for visitors to a profile would be placed in chooseplaylist.php, and as mentioned before, would require its own table to store data, and probably a parallel directory structure to the XSPFs stored for artists. The main functions in mp3tab.php might also require some loosening up (I guess the word is abstraction) so that they can accommodate adds and deletes to user playlists from profiles.
And like I mentioned, it would probably be best to instead make the flash player itself the interface for adding artist tracks to user playlists (like MySpace, basically).
Here's some karma. 'A' for effort.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Right. The benefit to a CB plugin is that more parameters can be made in the back end which can determine what features are enabled globally or not, i.e., an uploader, a playlist manager, genres, fields, artist/fan groups, whatever..
All that logic should be contained and be able to be accommodated in the plugin.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.