PM User Image (private message user image) is used to show the users profile picture in user auto complete suggestions box of Private Message module along with the user name. Default image can be used, if user has no profile image.
Sand Box Link :- https://drupal.org/sandbox/joshi.rohit100/2079287
PAReview: PAReview
Manually reviewd :-
https://drupal.org/node/1394920#comment-7821595
https://drupal.org/node/2048921#comment-7832597
https://drupal.org/node/2083109#comment-7833057
Reviewd :-
https://drupal.org/node/2085489#comment-7844391
https://drupal.org/node/2083831#comment-7844441
https://drupal.org/node/2083831#comment-7853897
Manual Review:-
https://drupal.org/node/2083831#comment-7857317
Comments
Comment #1
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxjoshirohit1002079287git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #2
joshi.rohit100Thanks ,
I have made changes in mode code. pls review it.
Comment #3
bappa.sarkar CreditAttribution: bappa.sarkar commentedPlease fix below
Comment #4
joshi.rohit100Thanks bappa.sarkar for your time.
I have implemented the changes suggested by you.
Please now chk again.
Thanks
Rohit Joshi
Comment #4.0
joshi.rohit100reviewd links
Comment #4.1
joshi.rohit100add PARview link
Comment #4.2
joshi.rohit100add manually reviewd link
Comment #5
pgautam CreditAttribution: pgautam commentedHi Rohit,
Can you please try to include CSS file (pm_user_image.css) conditionally instead of adding it through hook_init. Now this CSS (pm_user_image.css) is included on each and every page across the application.
~Paritosh
Comment #6
joshi.rohit100Thanks paritosh,
I have done the requested change.
Pls now chk.
Thanks
Rohit Joshi
Comment #7
joshi.rohit100Added PAReview: review bonus tag
Comment #8
tibezh CreditAttribution: tibezh commentedReview of the 7.x-1.x branch
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #9
joshi.rohit100Thanks @tibezh
Suggestions are implemented.
Rohit Joshi
Comment #10
swim CreditAttribution: swim commentedHey Joshi,
Your file pm-user-image.inc should most likely be pm_user_image.inc, also consider an easier file definition name like pm_user_image.admin.inc.
In pm-user-image.inc line 13, your wrapping
<strong>
tags inside your t function, these/ all HTML tags should be separated out like so,In pm_user_image.module line 78, please add some documentation for your autocomplete hook. HOOK_privatemsg_autocomplete.
In pm_user_image.module line 137, you don't need to underscore your hook permission name & maybe a description would be nice.
Your tpl file seems to have a lot of PHP, almost only PHP. I would try and separate this a little better only passing the required variables to your theme file.
Cheers,
Comment #11
swim CreditAttribution: swim commentedUpdated status.
Comment #12
joshi.rohit100Hi @hapax legomenon,
All your suggestions are now implemented.
Thanks
Comment #12.0
joshi.rohit100add manual reviewd link
Comment #13
joshi.rohit100adding PAReview tag
Comment #14
joshi.rohit100updated tag text
Comment #15
klausimanual review:
But otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Assigning to patrickd as he might have time to take a final look at this.
Comment #16
patrickd CreditAttribution: patrickd commentedYour project page description is very short.. also you could provide an actual link to the private message module.
There's already a tag "7.x-1.0" for an old state of your code. I suggest you delete it and re-tag the most current code with something like "7.x-1.0-beta1" shortly before you actually create the release.
The readme looks much better then your project page - but do you really think people will take a look at the readme rather than on the project page? Maybe you could try to keep their contents the same
Rather use preprocess-hooks and if possible try to put as few PHP code as possible into your tpl-files and functions. Many themers don't know PHP so well and when they need to override your php file you make it very hard for them if there's so much code there.
1 => t('External'),
Use constants with self describing names instead of numbers where appropriate.
Beside the issues klausi pointed out I couldn't find anything critical either, therefore this looks ready to go.
Thanks for your contribution!
I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Comment #17
joshi.rohit100@klausi, thanks for review and suggestions.
I have implemented your suggestions except check_plain() for height and width variable as if i remove check_plain(), PARview test gives me error.
@patrickd, thanks for your time.
I have deleted the old tag and created new one as per your suggestion. I have also updated the project page same as of README file
Please do a final look.
Thanks
Rohit Joshi
Comment #17.0
joshi.rohit100add manualy reviewd links
Comment #18
joshi.rohit100closing the issue
Comment #18.0
joshi.rohit100add manual review