the playlist.module has a popup player out of the box - that's what the site above is using. I think they have just created an "album" playlist for each album so the track info/details links back using the audio.module to the lyrics and details.
I notice they have edited the default mp3player that comes with the playlist.module. normally you can click on the right mouse button in the pop up player and download the song.
not sure how they did the pop up lyrics though. it's using the audio.module but I'm not sure how they got it to display just the song title and lyrics in the window.
thanks Marlow. I'm friends of the band and helped get their website ported to Drupal recently. It's still a work in progress, but, it's become easier for their webmaster to update and manage.
Just a quick note about the popup player...that comes out of the box with the audio.module + playlist.module.
The album preview pages are simply PLAYLISTS with some extra theming from the out of the box layout and the popup player comes as default. I.e.install the audio.module and then install the playlist.module. Setup an individual playlist for each album and then we tweaked the theming of playlists to make them look like they are here:
The lyrics links are actually the audio nodes - using the main body as the lyrics and I've added an extra path argument to the node.module so it recognises that it is a popup node link, rather than a regular link.
not sure if that makes sense or not, but, Drupal is superb as a band/artist website management tool. Drop me an email if you want a help with the audio/playlist stuff. the popup player that comes with the playlist module allows you to edit the flash player itself, so it's completely customisable.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
i've hidden the "audio" menus and now have the playlist node thingy called Album Preview with the "info" links going to old Audio pages...
the only problem i had was that registered users could download songs but the Playlist thingy let everyone download the songs until i made all the songs individually non-downloadable...
so the free songs are now done as file attachements to nodes...
I've modified the flash popup player to disable the DOWNLOAD THIS FILE option (When you have the pop up player playing, if you click on the right mouse button, the default allows users to download the file).
You can modify the player.swf yourself by downloading the source and if you have flash (I think it was done in FlashMX which is a free 30 day trial download from macromedia.com). I can email you my modified player if you don't mind the typeface and colours used.
To counter people guessing the links to download the audio files, we uploaded low quality versions of the songs with a joint stereo setting. the band are pretty cool about people hacking/guessing the links to download the audio, so it's not a big deal. I've offered to setup a downloads shop for them using the quickfile.module which is a work in progress, so fans will be able to buy the songsas downloads.
Not sure if it's of use, but, I've also tweaked the playlists theme (created by the playlist.module) to look like this, if you have a few albums/catalogue and don't like the look of the default playlists:
the nice thing about the playlist.module, is that you can create a MYSPACE style music preview...you know the way when you go to a myspace page there are a few songs you can click on straight away? well, you can setup a front page playlist and put it in a block.
Anyway..drop me an email if you need a hand with anything. the audio.module + playlist.module have both been very well thought through and were very useful for that band site..they have 6 albums, so there was quite a bit of catalogue to manage. It's still a work in progress though.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
yeah, i'll email you for that flash player you edited as i have Flash but it might take me ages to figure out how to edit it myself....
i will try next to get the quickfile.module working...
i noticed there were two sets of style sheets for the players and also .theme files... i'm not a technical person but i will muddle through to make tweaks to the layout....
i like how you changed INFO to Lyrics.... i think for our site i would like to change INFO to { notes } should i just look through those files until i find "info" and then change it?
before opening the flash source file (.FLA filename extension) open the actionscript file (it should be called something like xspf_player.as in a text editor like notepad.exe or a mac equivalent and scroll down to the very bottom. At about line number 435, you should see this:
//customized menu
var my_cm:ContextMenu = new ContextMenu();
my_cm.customItems.push(new ContextMenuItem("Stop", stopTrack));
my_cm.customItems.push(new ContextMenuItem("Play!", playTrack));
my_cm.customItems.push(new ContextMenuItem("Next", nextTrack));
my_cm.customItems.push(new ContextMenuItem("Previous", prevTrack));
my_cm.customItems.push(new ContextMenuItem("Download this song", function(){getURL(playlist_array[track_index].location,"_blank")},true));
my_cm.customItems.push(new ContextMenuItem("Add song to Webjay playlist", function(){getURL("http://webjay.org/poster?media="+escape(playlist_array[track_index].location),"_blank")}));
my_cm.customItems.push(new ContextMenuItem("About Hideout", function(){getURL("http://www.hideout.com.br","_blank")},true));
//my_cm.customItems.push(new ContextMenuItem("Crossfade", function(){}));
//my_cm.customItems.push(new ContextMenuItem("Mando Diao - Paralyzed", function(){}));
my_cm.hideBuiltInItems();
What you need to do is either edit or remove the lines you don't want. Save the edited file and then open the Flash source (.FLA extension) in FLASH
Once in Flash you can change typefaces, font size, colours etc. and when you PUBLISH the FLASH file it will pick up the edited actionscript changes you made for the menu.
I hope that makes sense...it's a while since I did that, so I can't remember whether it's Flash MX or Flash 8 that you need to edit the player.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
I'm not an expert at Flash, but, if you go to the VIEW menu (I think) and select LIBRARY..a tab opens up with each individual element of the flash player. I found that a handy way of zooming in on an element I wanted to edit. If you double click on the INFO element, you should be able to select the text and edit it in place.
Hope that helps...
dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
When you click on a link for the lyrics, it opens a popup window(myspace style). What it's really loading is *just* the main body of the audio node (minus headers/footers blocks).
Using the same technique, the tabbed navigation for the online shop simple loads the node body into the tab...using ajax.
Here's what the album page (node) looks like normally:
It was done in 2 steps that weren't very elegant - I'll revisit it and try and come up with a neater way of doing it, but..to answer your question:
Step 1: I added these lines to the node.module (that site is done using Drupal 4.7) to the function node_page() { function so it knew what to do when presented with a link with /popup> at the end of it. You can probably use something more elegant like "trim" or summat, but, I originally did this for them for the lyrics - they liked the way myspace let you pop up the lyrics when playing a song.
That's it. Please note that I'm swamped at the moment so I'll come back to this another time and try and work out a more elegant and simple way of achieving the same result. there's bound to be a better way of doing it....but, the bottom line is that once you have the "popup" callback implemented, you can do the window popup like the lyrics popup on that site or replicating the tabbed navigation page here: http://www.thefourofus.org/wip/online_shop
I've emailed it to you Phil. Am swamped at the moment but I will get back to this at some stage. What I would like to do is investigate the possibilities of using the same tabbed navigation for the standard Drupal edit/view tabs.
So the full page doesn't have to reload when you click between edit/view....think VIEW/EDIT instead of ALBUMS/SINGLES at that link.
later
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
i have also been toying with this (getting the local tasks to reload without a page refresh) a bit. A few thoughts/issues to think about are:
-URL or path updates in the address window?
-Auto Saving? Is the drupal autosave module applicable?
-At what point in the page building process would it be best to implement these features (ie at time of themeing, or?)
Hi Dublin Drupaller. Just read your post re: this... I am using xspf_slim.swf... you mention downloading source for the regular player-is that available somewhere on the Drupal main site?
Anyway thanks for your generosity re: tips on this. I didn't even realize people could download by right-clicking on the player once playback has started and since I am streaming some demo materials by various artists I work with (http://www.butlerrecording.net/), this could be a big prob-I doubt any of them want their stuff distributed in this way.
Although it's worth noting that even if you implement the above tweak to the player, it's still relatively easy for someone to work out a download link anyway.
My take on it is, if someone is going to go to such lengths to steal a song download...they probably wouldn't have bought it in the first place and there are so many ways for people to 'record' a stream or other, unless you build a fort-knox style site around the audio, there's little point.
I find if you make the songs available in a decent quality (not itunes quality) and in a convenient way, with No Apple-style DRM rubbish, people usually buy it.
Edited: It's only in the pop-up player that you get the right-click download link thing.
hope that makes sense
Dub
P.S. Nice site, by the way. Looks very clean and very intuitive moving around. That metal_ape track is great, I like it.
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
there are far more better ways of doing this, but, to answer your question, it's a very simple CCK node type with a php snippet (pasted below) that pulls up the gigs in that way - with the alternate shading (style classes for table rows (TR) gigs-even and gigs-odd ).
The snippet creates tables to present the gig listing and a simple node-content_gigs.tpl.php to put the time/venue/date/links data into columns.
The snippet also sorts the gig dates by the $field = 'field_date__time_on_stage_value'; rather than when the gig was added to the site.
<?php
print "<table><TABLE cellPadding=8 width=600 border=0>
<TBODY><TR bgcolor=\"#f4f4f4\"><TD vAlign=center align=left><STRONG>Date</STRONG></TD><TD vAlign=center align=left><STRONG>Venue</STRONG></TD><TD vAlign=center align=left><STRONG>Lineup</STRONG></TD><TD vAlign=center align=left><STRONG>Ticket Info </STRONG></TD></TR>";
//define limit, cck content type and the cck content field I want to sort the query by
$nlimit = 20;
$contentname = 'node_content_gig';
$field = 'field_date__time_on_stage_value';
// construct the query
$query = "SELECT *
FROM $contentname
ORDER BY $field ASC";
// run the query
$result1 = pager_query(db_rewrite_sql ($query), variable_get('default_nodes_main', $nlimit));
// run the zebra lines code
$comment_count = 1;
//extract the output
while ($node = db_fetch_object($result1)) {
static $comment_count;
$comment_count++;
if ($comment_count % 2) {
$output2 .= '<tr class="gigs-even">';
$output2 .= node_view(node_load(array('nid' => $node->nid)), 1);
$output2 .= '</tr>';}
else {
$output2 .= '<tr class="gigs-odd">';
$output2 .= node_view(node_load(array('nid' => $node->nid)), 1);
$output2 .= '</tr>';}
}
// print the results.
print $output2;
print "<TR bgcolor=\"#f4f4f4\" height=\"6\">
<TD colspan=\"4\"></TD>
</TR></TBODY></TABLE>
<!-- end tours --><p>More dates to be announced soon.</p>";
?>
Please note, that site is still a wip (work in progress) and normally I try and avoid using tables where possible, so when I get a chance, I'll update this thread later with more the efficient way of doing it.
hope that answers your question.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
how come the playlist's mp3 player ignores Drupal's settings for what files are downloadable and by whom?
is this what you guys call a "bug"?
so, basically the way around this is to do what Dublin Drupaler dude mentions above and edit out the "download this mp3" feature from the player?
also, it is not just the right-click on player to download problem, i had previously had my sight allow downloads from audio nodes for certain roles only but it looked like the playlist was checking of downloads were simply allowed (to any role) and then put a download link viewable to everyone, even guests!
so if downloads of audio nodes have to be disabled now, do you guys just put the mp3 as an attachment to the audio node that then is downloadable by user's role?
is there any way to count downloads of attached files?
It's probably worth pointing out that every 'listen' is actually a download. The mp3 player that comes with the audio.module actually downloads the whole song to the visitors computer. It isn't really streaming it. It's just starts playing the song about 10 seconds after it started to download.
So if a visitor, after previewing a few songs, goes to their temporary internet files folder, they can probably pick out the mp3 files by looking at the file size.
If they really wanted to, they could look at the source html, guess the link to the audio and type in a link such as:
If you're using the audio.module to let people preview music that's available on CD or to buy, the only way around it is to clip the previews to 60 seconds or reduce the quality of the audio previews to something like 128kbps joint stereo, which is just below itunes quality and at the same time sounds okay, as a preview.
The mp3 player that the audio.module uses was created by someone else and the right-click "download this song" option was built in.
It's something that should really be flagged in the readme.txt for the audio.module because it's not obvious until you actually notice it by right clicking.
not sure whether there is a download counter with the module.
take a look at the ecommerce.moudle which should allow you to sell your full files, and store them on your drupal site.
The premium module may be a way to sell these mp3 files as well as the lm_paypal module. it would take some close inspection on a test installation before installing these onto your live setup.
As a tip, especially if you're coming from a payloadz experience is download and try out the quickfile.module. It works brilliantly with Drupal 4.7 and Drupal 5 RC1 and accepts paypal.
misunderstood is correct that the ecommerce suite is worth looking at, especially if you have a large catalogue and you want to allow fans to put MP3 files into a cart and then pay using paypal/other, but, for selling singles/full album downloads, the quickfiles.module is superb. It's like an out-of-the-box payloadz for your own site.
I don't use it at the moment because micropayments are only available to the Paypal merchants in the USA at the moment (at least the last time I looked).
The Drupal band site I referred to earlier ( http://www.thefourofus.org ) uses CCNOW for credit card album sales (CCNOW reports music sales to soundscan and they take a hefty comission about 7% or 8% in total) and www.artists-first.net for digital downloads (they report to the official chart companies in the UK and Ireland so the sales count towards the weekly charts). The Artists first solution also offers mobile SMS payment, which is a bonus. A lot of kids in the UK, Ireland and Europe who don't have credit cards find it easy to buy using their mobile. It's very quick and simple.
that's my website so i can give you some tips but i'm a drupal newbie so it might not be as helpful as you need...
this site is running on drupal 4.7 which i believe is out of date now that 6.1 is out... i have recently played around with drupal 5.x and 6.1 and everything looks completely different so if you are using those setup will be different...
basically what you are seeing is the Audio module and the playlist module thingy...
once you get those installed it is pretty straightforward to customise it... again if you are using version 5 or 6 it looked completely different and much more complicated to me and i am still lost with it which explains why i haven't upgraded yet, heh heh...
will i get it. i was using audio module 5x and that feature is not yet included. i switch to drupal 4.7 with audio and playlist 4.7 also. http://bebong.uni.cc here's my site..
my only problem now is i want to modify my playlist page/node that will look like this
Comments
I like this
I like the way the following site uses the audio module to display the lyrics as the main body.
simple and clever.
http://www.thefourofus.org/wip/classified_personal_album_preview
Phil
thanks, hey i like their music!
insteresting layout...
its also kinda cool how you can launch the player and then browse the site...
on our site, you gotta stay on the audio page to listen.... hmm...
i might need to add stand alone player...
thanks dude!
rawk on!
..
the playlist.module has a popup player out of the box - that's what the site above is using. I think they have just created an "album" playlist for each album so the track info/details links back using the audio.module to the lyrics and details.
I notice they have edited the default mp3player that comes with the playlist.module. normally you can click on the right mouse button in the pop up player and download the song.
not sure how they did the pop up lyrics though. it's using the audio.module but I'm not sure how they got it to display just the song title and lyrics in the window.
phil
pop up player..
thanks Marlow. I'm friends of the band and helped get their website ported to Drupal recently. It's still a work in progress, but, it's become easier for their webmaster to update and manage.
Just a quick note about the popup player...that comes out of the box with the audio.module + playlist.module.
The album preview pages are simply PLAYLISTS with some extra theming from the out of the box layout and the popup player comes as default. I.e.install the audio.module and then install the playlist.module. Setup an individual playlist for each album and then we tweaked the theming of playlists to make them look like they are here:
http://www.thefourofus.org/wip/classified_personal_album_preview
http://www.thefourofus.org/wip/off_the_record_album_preview
The lyrics links are actually the audio nodes - using the main body as the lyrics and I've added an extra path argument to the node.module so it recognises that it is a popup node link, rather than a regular link.
not sure if that makes sense or not, but, Drupal is superb as a band/artist website management tool. Drop me an email if you want a help with the audio/playlist stuff. the popup player that comes with the playlist module allows you to edit the flash player itself, so it's completely customisable.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
hi Dub!
i haven't had time to try the playlist module...
what i have done, is i found this player/store http://notetoselfdontdie.com/members/node/61 -= see bottom of page
the only problem is that they only work with USA customers at the moment....
they automatically make a sample file which is something i have been begging for in drupal for a while now...
AND they track the cities where you are selling downloads so that you can plan where you want to go on tour...
perhaps some smart Drupal guru could knock up something liek this but even better?
i think i might have to go with the playlist option and then put paypal purchase links underneath it...
rawk on!
i've just installed the playlist module thingy...
this RAWKS!
the podcast link doesn't seem to be working right off the bat but i don't really need that...
now, if it could automatically make sample files, heh heh....
thanks dude!
http://notetoselfdontdie.com/members/node/176
i've hidden the "audio" menus and now have the playlist node thingy called Album Preview with the "info" links going to old Audio pages...
the only problem i had was that registered users could download songs but the Playlist thingy let everyone download the songs until i made all the songs individually non-downloadable...
so the free songs are now done as file attachements to nodes...
quick one
if you're looking for help, give me a shout...
I've modified the flash popup player to disable the DOWNLOAD THIS FILE option (When you have the pop up player playing, if you click on the right mouse button, the default allows users to download the file).
You can modify the player.swf yourself by downloading the source and if you have flash (I think it was done in FlashMX which is a free 30 day trial download from macromedia.com). I can email you my modified player if you don't mind the typeface and colours used.
To counter people guessing the links to download the audio files, we uploaded low quality versions of the songs with a joint stereo setting. the band are pretty cool about people hacking/guessing the links to download the audio, so it's not a big deal. I've offered to setup a downloads shop for them using the quickfile.module which is a work in progress, so fans will be able to buy the songsas downloads.
Not sure if it's of use, but, I've also tweaked the playlists theme (created by the playlist.module) to look like this, if you have a few albums/catalogue and don't like the look of the default playlists:
http://www.thefourofus.org/wip/cp_album_preview
the nice thing about the playlist.module, is that you can create a MYSPACE style music preview...you know the way when you go to a myspace page there are a few songs you can click on straight away? well, you can setup a front page playlist and put it in a block.
Anyway..drop me an email if you need a hand with anything. the audio.module + playlist.module have both been very well thought through and were very useful for that band site..they have 6 albums, so there was quite a bit of catalogue to manage. It's still a work in progress though.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
cool...
hey thanks dude!
yeah, i'll email you for that flash player you edited as i have Flash but it might take me ages to figure out how to edit it myself....
i will try next to get the quickfile.module working...
i noticed there were two sets of style sheets for the players and also .theme files... i'm not a technical person but i will muddle through to make tweaks to the layout....
i like how you changed INFO to Lyrics.... i think for our site i would like to change INFO to { notes } should i just look through those files until i find "info" and then change it?
again, thanks so much for your advice!
-gerard
quickone..re: the playlist.module flash player
Hi Gerard,
The flash I emailed you was the edited version..you can't open & edit that with Flash. I thought you just wanted to overwrite your player with the one being used here: http://www.thefourofus.org/wip/classified_personal_album_preview
You need to download the original flash source file....here's some tips:
xspf_player.asin a text editor like notepad.exe or a mac equivalent and scroll down to the very bottom. At about line number 435, you should see this:I hope that makes sense...it's a while since I did that, so I can't remember whether it's Flash MX or Flash 8 that you need to edit the player.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
quick one re: changing INFO to lyrics
HI Gerard,
I'm almost certain it's in the FLASH SOURCE file.
I'm not an expert at Flash, but, if you go to the VIEW menu (I think) and select LIBRARY..a tab opens up with each individual element of the flash player. I found that a handy way of zooming in on an element I wanted to edit. If you double click on the INFO element, you should be able to select the text and edit it in place.
Hope that helps...
dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
ajax nodes and shop layout
Hi Dub.
Quick question: I'm trying to recreate the way you did the music shop (using ajax htmlrequest I assume).
http://www.thefourofus.org/wip/online_shop
I can see from the links that there is an extra ending to the normal drupal links - is that what pulls out the node so ajax can plop it into the tab?
I like the way it's organised and was trying to do something recently with blogs, like an ajax blog using Drupal.
Is it possible you can post up how you did that online shop layout here?
I think all I need is how to prepare the node for the ajax control and I can work it out from there.
thanks
Phil
lyrics.
I used the same method as for the lyrics.
http://www.thefourofus.org/wip/fingerprints_album_preview
When you click on a link for the lyrics, it opens a popup window(myspace style). What it's really loading is *just* the main body of the audio node (minus headers/footers blocks).
Using the same technique, the tabbed navigation for the online shop simple loads the node body into the tab...using ajax.
Here's what the album page (node) looks like normally:
http://www.thefourofus.org/wip/albums
Here's what the album page looks like using the /popup/ argument:
http://www.thefourofus.org/wip/node/222/popup
And here's how it looks when it's in the tabbed navigation (click on the album tab)
http://www.thefourofus.org/wip/online_shop
It was done in 2 steps that weren't very elegant - I'll revisit it and try and come up with a neater way of doing it, but..to answer your question:
Step 1: I added these lines to the node.module (that site is done using Drupal 4.7) to the function node_page() { function so it knew what to do when presented with a link with
/popup>at the end of it. You can probably use something more elegant like "trim" or summat, but, I originally did this for them for the lyrics - they liked the way myspace let you pop up the lyrics when playing a song.Step 2: I added a "is this a popup?" check in the audio-node.tpl.php file
That's it. Please note that I'm swamped at the moment so I'll come back to this another time and try and work out a more elegant and simple way of achieving the same result. there's bound to be a better way of doing it....but, the bottom line is that once you have the "popup" callback implemented, you can do the window popup like the lyrics popup on that site or replicating the tabbed navigation page here: http://www.thefourofus.org/wip/online_shop
The ajax I used can be found here:
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/
hope that makes sense..it sorta fit with the ajax style message board they have.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
post your node.module
thanks dub. can u post your node.module? I keep getting error messages when trying to add in the snippet you posted.
phil
emailed
I've emailed it to you Phil. Am swamped at the moment but I will get back to this at some stage. What I would like to do is investigate the possibilities of using the same tabbed navigation for the standard Drupal edit/view tabs.
So the full page doesn't have to reload when you click between edit/view....think VIEW/EDIT instead of ALBUMS/SINGLES at that link.
later
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
+1 for tabbed (ajax or ahah) local task (view, edit,etc) menus
i have also been toying with this (getting the local tasks to reload without a page refresh) a bit. A few thoughts/issues to think about are:
-URL or path updates in the address window?
-Auto Saving? Is the drupal autosave module applicable?
-At what point in the page building process would it be best to implement these features (ie at time of themeing, or?)
Editing player.swf to remove right click downloading
Hi Dublin Drupaller. Just read your post re: this... I am using xspf_slim.swf... you mention downloading source for the regular player-is that available somewhere on the Drupal main site?
Anyway thanks for your generosity re: tips on this. I didn't even realize people could download by right-clicking on the player once playback has started and since I am streaming some demo materials by various artists I work with (http://www.butlerrecording.net/), this could be a big prob-I doubt any of them want their stuff distributed in this way.
Best,
CDB
quick one..
It's been a while since I looked at that CDB. I did post a how-to here:
http://drupal.org/node/90875#comment-181947
Although it's worth noting that even if you implement the above tweak to the player, it's still relatively easy for someone to work out a download link anyway.
My take on it is, if someone is going to go to such lengths to steal a song download...they probably wouldn't have bought it in the first place and there are so many ways for people to 'record' a stream or other, unless you build a fort-knox style site around the audio, there's little point.
I find if you make the songs available in a decent quality (not itunes quality) and in a convenient way, with No Apple-style DRM rubbish, people usually buy it.
Edited: It's only in the pop-up player that you get the right-click download link thing.
hope that makes sense
Dub
P.S. Nice site, by the way. Looks very clean and very intuitive moving around. That metal_ape track is great, I like it.
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
Calendar?
Hello Dub,
Great info!
Do you know which calander module is used for the upcoming dates/Tour Dates on the http://www.thefourofus.org site??
Thanks for any help!
n
quick one
Hi Elgrillo,
there are far more better ways of doing this, but, to answer your question, it's a very simple CCK node type with a php snippet (pasted below) that pulls up the gigs in that way - with the alternate shading (style classes for table rows (TR)
gigs-evenandgigs-odd).The snippet creates tables to present the gig listing and a simple node-content_gigs.tpl.php to put the time/venue/date/links data into columns.
The snippet also sorts the gig dates by the
$field = 'field_date__time_on_stage_value';rather than when the gig was added to the site.http://www.thefourofus.org/wip/tours
Please note, that site is still a wip (work in progress) and normally I try and avoid using tables where possible, so when I get a chance, I'll update this thread later with more the efficient way of doing it.
hope that answers your question.
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
ah, now i get it...
i'm not really a Flash user so i was a bit lost there for a moment until you posted that, heh heh...
ok, for some reason my Flash MX app won't open the .FLA file i just downloaded via that link...
but i dropped in your action script and .SWF files and it works...
for some reason the slim player still allows downloads, even though your action script file shows that removed...
i cleared the browser cache and same problem... maybe its cached on the server side?
anyway, thanks so much for your help...
it occured to me, one could add a "buy this song" or "download song" menu on the right click thingy and have it send you to the online store...
heh heh...
i'm gonna try that as soon as i can figure out why it won't open in my Flash app....
http://NoteToSelfDontDie.com/
i probably won't explain this right but...
how come the playlist's mp3 player ignores Drupal's settings for what files are downloadable and by whom?
is this what you guys call a "bug"?
so, basically the way around this is to do what Dublin Drupaler dude mentions above and edit out the "download this mp3" feature from the player?
also, it is not just the right-click on player to download problem, i had previously had my sight allow downloads from audio nodes for certain roles only but it looked like the playlist was checking of downloads were simply allowed (to any role) and then put a download link viewable to everyone, even guests!
so if downloads of audio nodes have to be disabled now, do you guys just put the mp3 as an attachment to the audio node that then is downloadable by user's role?
is there any way to count downloads of attached files?
downloading audio
Hi Marlow,
It's probably worth pointing out that every 'listen' is actually a download. The mp3 player that comes with the audio.module actually downloads the whole song to the visitors computer. It isn't really streaming it. It's just starts playing the song about 10 seconds after it started to download.
So if a visitor, after previewing a few songs, goes to their temporary internet files folder, they can probably pick out the mp3 files by looking at the file size.
If they really wanted to, they could look at the source html, guess the link to the audio and type in a link such as:
http://www.example.com/audio/play/22
Which will allow them to download the full song.
If you're using the audio.module to let people preview music that's available on CD or to buy, the only way around it is to clip the previews to 60 seconds or reduce the quality of the audio previews to something like 128kbps joint stereo, which is just below itunes quality and at the same time sounds okay, as a preview.
The mp3 player that the audio.module uses was created by someone else and the right-click "download this song" option was built in.
It's something that should really be flagged in the readme.txt for the audio.module because it's not obvious until you actually notice it by right clicking.
not sure whether there is a download counter with the module.
Phil
ah, that makes sense...
thanks for your help...
we have switched to just posting short clips of the songs and putting the full versions on the payloadz ecommerce site...
it would be nice to be able to securely host them on our server as we have reached our free bandwidth limit already on payloadz site...
take a look at the
take a look at the ecommerce.moudle which should allow you to sell your full files, and store them on your drupal site.
The premium module may be a way to sell these mp3 files as well as the lm_paypal module. it would take some close inspection on a test installation before installing these onto your live setup.
quickie..
Hi Marlow,
As a tip, especially if you're coming from a payloadz experience is download and try out the quickfile.module. It works brilliantly with Drupal 4.7 and Drupal 5 RC1 and accepts paypal.
misunderstood is correct that the ecommerce suite is worth looking at, especially if you have a large catalogue and you want to allow fans to put MP3 files into a cart and then pay using paypal/other, but, for selling singles/full album downloads, the quickfiles.module is superb. It's like an out-of-the-box payloadz for your own site.
I don't use it at the moment because micropayments are only available to the Paypal merchants in the USA at the moment (at least the last time I looked).
The Drupal band site I referred to earlier ( http://www.thefourofus.org ) uses CCNOW for credit card album sales (CCNOW reports music sales to soundscan and they take a hefty comission about 7% or 8% in total) and www.artists-first.net for digital downloads (they report to the official chart companies in the UK and Ireland so the sales count towards the weekly charts). The Artists first solution also offers mobile SMS payment, which is a bonus. A lot of kids in the UK, Ireland and Europe who don't have credit cards find it easy to buy using their mobile. It's very quick and simple.
here's a link to the quickfile.module
http://drupal.org/project/quickfile
hope that helps
Dub
Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate
can you please direct me how
can you please direct me how to make this
http://notetoselfdontdie.com/members/node/176
a popup playlist link beside login/register & comment link
thanks
well...
that's my website so i can give you some tips but i'm a drupal newbie so it might not be as helpful as you need...
this site is running on drupal 4.7 which i believe is out of date now that 6.1 is out... i have recently played around with drupal 5.x and 6.1 and everything looks completely different so if you are using those setup will be different...
basically what you are seeing is the Audio module and the playlist module thingy...
once you get those installed it is pretty straightforward to customise it... again if you are using version 5 or 6 it looked completely different and much more complicated to me and i am still lost with it which explains why i haven't upgraded yet, heh heh...
-gerard
thanks
will i get it. i was using audio module 5x and that feature is not yet included. i switch to drupal 4.7 with audio and playlist 4.7 also.
http://bebong.uni.cc here's my site..
my only problem now is i want to modify my playlist page/node that will look like this
http://www.thefourofus.org/fingerprints
if it's of any use..
dublin drupaller has started a thread on the arts & music group on groups.drupal.org explaining how he created that page.
http://groups.drupal.org/node/10869