Description
This module wraps the open source JustGiving SDK, allowing it to be easily used by Drupal 7 modules. It then provides a sub module which creates a block showing the top 10 fundraisers for the charity with links to their donation page. On the roadmap is open sourcing more of the project (http://toughnbuff.childrenssociety.org.uk) , including profile integration, enabling a full JustGiving campaign to be run with it.
pareview : http://pareview.sh/pareview/httpgitdrupalorgsandboxtimmarsh2542942git
Git clone command
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/tim_marsh/2542942.git justgiving
Project Page
https://www.drupal.org/sandbox/tim_marsh/2542942
Differences from similar projects
This module is geared towards a community taking on a campaign - much like toughnbuff, rather than a single user showing their data, or soliciting donations (which are covered by 2 sandbox modules)
https://www.drupal.org/sandbox/tr33m4n/1760988 - focussed on a single users donations, rather than at the campaign level
https://www.drupal.org/sandbox/KrisPomphrey/2202035 - JustGiving for webforms - doesnt integrate with the user, and is a more manual integration
Manual Reviews of Other Projects
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | d7review.png | 151.69 KB | rashid_786 |
Comments
Comment #2
tim_marsh commentedComment #3
gaja_daran commentedHi Tim,
Manual Review:
I am unable to enable justgiving_charity_leaderboard module. Getting following error.
Fatal error: Call to undefined function __justgiving_client() in /var/www/drupal/sites/all/modules/custom/2542942/modules/justgiving_charity_leaderboard.module on line 84If justgiving_charity_leaderboard module required justgiving module then set as dependency module.
If I enable both module then I get following error.
Fatal error: Class 'JustGivingClient' not found in /var/www/drupal/sites/all/modules/custom/2542942/justgiving.module on line 156Kindly fix it.
Thanks.
Comment #4
gaja_daran commentedComment #5
tim_marsh commentedAh - ok , thankyou .
The first one is me not getting the dependencies right - I'll fix that now.
The fatal error is the library not being found, do you think I need to add more information about downloading the 3rd party library in the Read-me ?
Comment #6
tim_marsh commentedThankyou again for the feedback
to remedy the errors I have
Comment #7
tim_marsh commentedThankyou again for the feedback
to remedy the errors I have
Comment #8
PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxtim_marsh2542942git
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 #9
yonko.tsvetkov commentedHello,
I tested Justgiving module on my drupal test site.
1. Git clone created module directory with name "2542942".
I enabled module without errors but module directory name has to be changed to justgiving.
Edit:
to
2. Pareview review show some errors:
-------------------
3. Would be good to add pareview review link( http://pareview.sh/pareview/httpgitdrupalorgsandboxtimmarsh2542942git ) in the issue summary.
Comment #10
tim_marsh commentedHi Thanks for that, @yonko.tsvetkov , this is the first module Ive submitted so keen to get it completely right,
Ive fixed the pareview errors for the install file.
I'll get the function names changed tonight- its an old habit using __modulename to denote 'private' methods - those not meant to be called outside the module
Comment #11
tim_marsh commentedcurrent pareview status: http://pareview.sh/pareview/httpgitdrupalorgsandboxtimmarsh2542942git
actions taken:
Comment #12
rashid_786 commentedHi Tim,
Thanks for your contribution,
I tried test the module on my local machine found some issues.
* You should mention git clone command along with directory name on review page on top as @Yonko recommended.
* When i downloaded the library and extract it, i found the different structure from the one you mentioned help requirement so i get error and unable to test this module. Pls refer attached file.
Comment #13
tim_marsh commentedComment #14
tim_marsh commentedHi @rashid_786
thanks for your review , I've updated the issue.
with regards to the library -
I had this in the readme
which explains how to put the library into the right location.
Its now this
notice the PHP, that should be correct now
Comment #15
rashid_786 commentedAutomated Review
Pareview says: error in README.md.
It would be nice to put the link to your pareview review on the issue summary.
Manual Review
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #16
klausi@rashid_786: you did not identify any security issue in your review? Please only add the tag if you find an actual security problem.
Comment #17
tim_marsh commentedComment #18
tim_marsh commented@rashid_786 - Ive
,
,
the only thing pareview lists are 2 warning for unused variables. I think that these aid the readability of the code, but can be removed if required.
Comment #19
sheldonkreger commentedI noticed that you set several variables. You need to implement hook_uninstall() and use variable_del() to clear them out when the module is uninstalled.
Quick output from my Grep:
Comment #20
sheldonkreger commentedOther than issue in previous comment, I think this is ready to go. I don't think unused variables throw warnings in PHP and are therefore harmless. Correct me if I"m wrong :-)
Comment #21
tim_marsh commented@sheldonkreger - brilliant review - thankyou . I'll get that done.
Comment #22
tim_marsh commentedIve updated as per the last review - all variables are now removed when their owning module is uninstalled .
Comment #23
sheldonkreger commentedSince this meets all the manual review criteria and the variable deletion issue has been fixed, I'm marking this as RTBC.
Comment #24
opdavies+1
Comment #25
tim_marsh commentedIs there anything I can do to move this forwards - as its been reviewed and tested for 29 days now ?
Comment #26
opdaviesSee https://groups.drupal.org/node/142454.
Comment #27
chandeepkhosa commented+1
Comment #28
tim_marsh commentedComment #29
damienmckennaThanks for your contribution, Tim!
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.
Thanks to the dedicated reviewer(s) as well.