CVS edit link for pwaterz
I have many motivations for wanting to become a planned contributor. I have been involved with Drupal now for about a year and have been loving every minute of it. Without Drupal I may not have my current job as the Lead Web Developer at Chicago Public Radio. I freelanced my first Drupal site for them which was inisdeandout.chicagopulicradio.org. They were please with my work and gave me the opportunity to do the famous This American Life site(
www.thislife.org). In the middle of completing that project they offered me the position. Sense then I have been working with Drupal almost every single day. We are currently in the final stages of releasing
www.chicagopublicradio.org as our 3rd Drupal site. One major contrib module that I will be wanting to contribute back to the community is the NPR Api module. I custom built a module that allows internal staff to pull any story or piece of content from npr api's and create nodes from that data. The module is currently customized for Chicago Public Radio, but once the new site get's launch I will be modifying it to work as a contrib module. The module I currently want to upload is a module that allows you to select a input filter for comments. This was implemented by the 'filter by node type' module but I felt it should be separated from that module and live on it's own. I have also done consulting work with Palantir and more specifically Larry Garfield. All in all I would really love to contribute to the Drupal. I am heavy follower of Linux(Debian is my flavor of choice :)) and enthusiastic about the power the open source world has gained over the past few years and will love to add to it.
Comments
Comment #1
pwaterz commentedThis is my comment input filter module. This module adds the ability to restrict and set the default for the input filter on comments. The settings are added to the content types comment settings.
Comment #2
svendecabooterCan you elaborate on the differences between this module and the Better formats module, which seems to provide similar functionalities (based on your brief description).
Comment #3
pwaterz commentedI did not know about that module. But after playing around with it for a bit I found a few differences. One difference is in configuration. On the content type settings page it forces you to share the allowed types for the node and for the comments. My module is specifically for comments. Second in my use case, Better Formats is way more than I needed. I just need control of the comments input filters and not the content types. Third it doesn't seperate the control between comments and node types, you have to enable the node type control to get control of the comment filters. Which is the same issue that I had with Filter by Node type.
The main reason that I really would like a CSV account is for the NPR module that I have developed. I can setup a demo for that if that would help the process along.
Comment #4
avpadernoHello, and thank you for applying for a CVS account.
In that case, you should use that module for the CVS application.
Comment #5
pwaterz commentedThat module is not complete yet. Won't be for a month or two.
Comment #6
pwaterz commentedAlright so I have a new module. Filefield audio insert. The module allows a user to embed audio into the body of nodes. This module is a CCK widget that extends the filefields functionality by adding an insert button after upload. This module is somewhat similar to insert expect it is for audio. It uses mp3player to handle the audio play back. On the settings for the cck widget you will be able to choose which mp3player settings you wish to use. It will also decompress gracefully if javascript is not enabled by just displaying a link to the piece of audio. Supports fckeditor, ckeditor, tinymce and all other wysiwygs. I still consider the module beta, but everything works thus far and would like to get some user feedback.
Comment #7
avpadernoComment #8
pwaterz commentedI added some new functionality:
-Added the ability to choose if the file name is linked or not when you setup the field
-Added the option to upload an image to use to insert instead of printing the name of the file
-added some t()'s
-fix a bug with some of the javascript embed code.
Comment #9
pwaterz commentedAlright so I have a stable version of the npr module now to. The description is in the first post.
Comment #10
svendecabooterPlease decide which of the 2 submitted modules should be up for review, so we can focus on one in particular.
Comment #11
pwaterz commentedPlease focus on filefield audio insert. Thanks.
Comment #12
svendecabooterComment #13
avpadernoThere is a Drupal function to use in such cases.
It's not a good idea to unconditionatelly include a file; it's better to include the file when necessary, or use the Drupal features that allow to report to Drupal which files need to be loaded in some cases (before a menu callback or a theme implementation is invoked, for example).
<?, when it is suggested to use the standard one (<?php).The first argument of
t()is a literal string, not a dynamic value like the value returned from a function, or the concatenation of two strings.In that case is not even necessary to pass the string to
t(). The purpose of the function is to translate strings, and HTML tags are not translated.Since the argument passed to the function is not the correct one, the argument will not translated, though.
Comment #14
pwaterz commentedI will get on the asap. Should have something by tonight or tomorrow.
Comment #15
pwaterz commentedAlright, I think I have made all the correction that you have asked. As far as the include goes, I actually just borrowed that method from the imagefield module, but I changed it to module_load_include. Thanks so much for your time.
Comment #16
avpadernoComment #17
pwaterz commentedHey guys, just wondering if anyone has had a chance to take a look? I understand it's the holidays and everyone has lots to do. Just excited to see if this can get contributed.
Comment #18
pwaterz commentedIs there anyone out there that can please please review my module?
Comment #19
pwaterz commentedThis has become very discouraging. I think this module would be very useful for a handful of people.
Comment #20
pwaterz commentedComment #21
lorinpda commentedHi,
I installed your module on a fresh Drupal 6.20 installation.
This is not a complete review, however I did find some issues that are easy to fix.
to
That was in filefield_audio_insert_all.js . And the in filefield_audio_insert.js I changed:
to
to
Those changes got the players to render and play the audio files.
or something to give it some padding between the player and text.I hope this helps.
I live in Chicago myself. A couple of my friends have been featured on "vocala". Thus I really wanted to reach out and help a fellow Chicagoan who is doing great work!
I gave the rest of your code a cursory review, didn't see any other issues. Please see if any of the changes I suggested make sense. The folks who review the Druapal cvs application truly have a daunting task. I'm also in the application queue. My recommendation is, help the folks out on Drupal.org by reviewing some of the other applications. I know that they are trying to recruit more folks to do the reviews:) Therefore, why not help out and review some of your fellow applicants : )
Again, hope that helps, Lorin.
Comment #22
avpadernoI am changing status as per previous comment.
Comment #23
pwaterz commented1. Fixed formatting issues.
2. As far as including an audio file goes, I feel that is unnecessary a quick google search of 'test mp3' returns all kinds of results.
3. Hook help has been implemented. Also did a screen cast located here http://www.lightondesigns.com/filefield_audio_insert_screen_cast.mov if the quality is to high let me know.
4. All code changes have been implemented
5. I don't want to insert any unnecessary text into the post. This might annoy some users. I don't believe it is that hard to just enter a space after it has been inserted.
6. Yes wrote the code to insert it multiple times. What if someone wants the audio at the top of the post and the bottom?
Thanks so much for your time. I really do appreciate it. I never thought to review other peoples module. I thought it was only up to the reviewers, but I will definitely take your advice and try and offer some support for others as well.
Again THANK YOU SO MUCH! :)
Comment #24
lorinpda commentedHi,
I reviewed the version posted in comment #23 on a Drupal 6.20 installation. Nice job, but still a few issues:
Again, nice job, really close.
Hope that helps.
Lorin
Comment #25
pwaterz commentedSorry about that. Here you go all fixed up :)
Comment #26
pwaterz commentedWoops forgot to upload here yea go.
Comment #27
pwaterz commentedWoops again, lol...I noticed I missed a base path line. Here you go.
Comment #28
lorinpda commentedHi,
I reviewed the version of your module posted in comment #27. Please check the last line of your README.txt file (so minor, I'm giving this a go :) ).
.....
All issues fixed. Coder reports no issues. Module works as expected. This code passes my inspection.
....
Great job.
.....
Hope that helps.
Lorin
Comment #29
pwaterz commentedThanks again. I really appreciate your help. Any module reviewers out there want to take a quick look ;)
Comment #30
avpadernoPlease read all the following and the links provided as this is very important information about your CVS Application.
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:Migrating from CVS Applications to (Git) Full Project Applications.
Comment #31
pwaterz commentedLink to my git sand box http://drupal.org/sandbox/pwaterz/1077332. Thanks for everyones time!
Comment #32
pwaterz commentedWhat does a guy have to do to get his module looked at? This process is so discouraging. I have like 5 other great modules that I really would love to give back to the drupal community but I can't. Having a hard time seeing the light at the end of the tunnel. Can some please please look at my module?
Comment #33
Poieo commentedpwaterz - Your audio insert module was exactly what I was looking for. But...can't get it to work.
I've installed your module and mp3player. If I print the audio insert filed on the node view set to display via mp3player, it works just fine. However, the actual file inserted into the node body just displays "You may need: Adobe Flash Player."
Any thoughts?
Comment #34
G Gavitt commentedI tired your module from comment # 27 and I am having the same exact problems as Poieo. I tried rolling back my version of the mp3player module with no luck. I am also assuming the field insert is supposed to work when it is set to hidden via the content type display EG like the insert module.
Comment #35
pwaterz commentedThis is because of a recent change in the new version of the mp3player module. I am currently working on a fix. I will post it as soon as I figure it out.
Comment #36
Poieo commentedThanks!
Drupal.org just finished a redesign, the community just launch Drupal 7, they just migrated to Git, and this week is DrupalCon. So you may need some extra patience for them to respond to your request for your module review...they'll get to it.
Thanks again for the great contribution!
Comment #37
Poieo commented@pwaterz - Any timeline for this fix?
Obviously no pressure to do so. But I have to make a decision between this module or taking another route asap.
Comment #38
pwaterz commentedI'll see if I can get it done tonight.
Comment #39
pwaterz commentedHere is the fixed verision that now works with mp3player 6.1. I have also updated the git repo as well.
Comment #40
Poieo commentedWorks like a charm! Thanks for your work. Look forward to your contributions.
Comment #41
G Gavitt commentedWorking great here as well... Thank you pwaterz!
Comment #42
lorinpda commentedHi.
I took a snapshot from git. Really minor:
$embed = str_replace('mp3player_1', 'mp3player_' . $delta, $embed);
I assume the CVS markers issue is the reason why the status on applications like yours was changed from "Reviewed and Tested by the Community" to "needs review" :) Thus please take care of formatting issues and I'll be happy to change the status back to "Reviewed and Tested by the Community" .
Hope that helps.
Lorin
Comment #43
pwaterz commentedDone. Thanks for your time.
Comment #44
pwaterz commentedComment #45
lorinpda commentedHi,
I inspected the latest snapshot of your git sandbox. You removed the CVS marker from one file listing (you main .module file). However, you did not remove the CVS markers from the rest of the file listings.
Hope that helps.
Comment #46
pwaterz commentedSorry I had made those changes, still getting use to git. It should be good now.
Comment #47
Poieo commented@pwaterz - Not sure it's appropriate to ask for a feature request when this isn't actually a module yet. But, if you could get this working with FileField Sources so you could attach files then insert them, that would round this thing out.
Comment #48
pwaterz commentedI did get it approved. But that is not a problem to make it work with filefield sources. I already have written 2 extentions to that module. I will be submitting those next to project. http://drupal.org/project/filefield_audio_insert, that donwload hasn't appeared yet but I have been told that can take up to 12hours to show up. Make a feature request on the module.
Comment #49
wookjr commentedI'm happy you created this module, it's exactly what I needed. I have one problem. I followed the installation instructions and watched the video. All went fine, but when I load up the page, the player says "file not found". Is there a setting I'm missing?
Comment #50
pwaterz commentedPlease go and download the project release at http://drupal.org/project/filefield_audio_insert. If you still are having problem please post an issue and I will be more than happy to take a look.
Comment #51
pwaterz commentedComment #53
rfaySomehow this application fell off the radar and got marked "fixed" by the requester (pwaterz) but it never was even RTBC. So setting to "needs review" and perhaps this can get done.
The sandbox somehow became a project and is at http://drupal.org/project/filefield_audio_insert
Comment #54
rfayThis was RTBC after a reasonable review in #28, right before the git migration. As a result, should be RTBC.
Comment #55
rfayGit vetted user role granted.
Thanks for your patience in this, and we welcome your contributions. Thanks so much.
And don't forget to come back and review somebody else's application every day :-) We have a terrible backlog.
Comment #56
sreynen commentedJust correcting the category.
Comment #57
temelkoff commentedpwaterz , what happens to your 2 extensions to filefield_sources module?
Filefield sources taxonomy and filefield sources node title.
Please give more info. I need exactly this kind of extension
Comment #58
pwaterz commentedhttp://drupal.org/project/filefield_sources_taxonomy
http://drupal.org/project/filefield_sources_node_title
Comment #61
avpadernoI am giving credits to the users who participated in this issue.