Closed (fixed)
Project:
Drupal.org CVS applications
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 May 2010 at 14:12 UTC
Updated:
2 Jul 2010 at 13:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
attila.fekete commentedOnly the filter is available at the moment. Module attached to this comment. If the colorpicker module is installed and enabled (http://drupal.org/project/colorpicker), it's easier to pick a player color.
The earlier version (http://drupal.org/node/755092) has been fixed.
Thank you for your review!
Comment #2
wadmiraal commentedHi,
I installed your module, but nothing happened. Don't see any settings, went to filters and didn't see a new filter in the list, created a node with a [soundcloud] tag (which shouldn't work anyway, not having enabled the filter) and it didn't work (as expected).
So I looked closer at your code. You're module is called "soundcloud_filter". So each hook should be prefixed with soundcloud_filter and not just soundcloud.
won't work.
will. Check the rest as well.
And BTW: http://drupal.org/coding-standards. Not a biggy, but I must point it out ;-)
Comment #3
wadmiraal commentedI changed that line of code (was the only one that was not correct) and now the module does work. But the music won't play. But that is not an issue with the module, because when I tried embedding directly from Soundcloud (with their code), it didn't play either. I'm no expert with Soundcloud, only made an account to test your module.
Cheers
Comment #4
attila.fekete commentedHi,
Thank you for your review! I have fixed 2 hooks that were prefixed badly: hook_filter() and hook_filter_tips(). I checked the module, and now it works.
I have included examples on the filter tips page, so you can check with those.
But here are some soundcloud tracks to test:(copy the entire row)
And a filter configuration page is also available, where the player default setting can be changed (this is where the colorpicker module is recommended, but not required :) )
Thank you again, for the review!
Comment #5
avpadernoComment #6
wadmiraal commentedOk,
This time everything's seems fine.
(The music still doesn't play, but I must check my server or firewall I guess, I don't think it has anything to do with this module.)
I don't know how picky the top guys are when it comes to coding standards (http://drupal.org/coding-standards), but maybe you should consider cleaning your code up a bit. You commented some lines that are no longer necessary, so you might as well delete them. You might also consider documenting your functions a bit, in case someone else wants to patch your code.
Nice work
Comment #7
avpaderno