This is more of a Drupal distribution, known as LaunchBuzz, where it help users to create a single frontpage viral campaign website with very little configuration. Users are able to capture visitors' e-mail subscription and track the amount of successful referrals based on the generated registered link.
This project consists three (3) items and each of these have further details that contributes to this project. Therefore, I am actually applying to approve 3 different projects into Drupal.org:
- LaunchBuzz installation profile
Sandbox: http://drupal.org/sandbox/jonloh/1360618
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/jonloh/1360618.git launchbuzz - LaunchPlug module
Sandbox: http://drupal.org/sandbox/jonloh/1363556
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/jonloh/1363556.git launchplug - LaunchSkin theme
Sandbox: http://drupal.org/sandbox/jonloh/1364454
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/jonloh/1364454.git launchskin
I've set up a demo site which can be viewed here: http://launchbuzz.gix.my
This distribution is only developed for Drupal 7.x only.
If I have missed anything out, please do let me know. I would really wish this project to be out for the Drupal community to use :)
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | drupalcs-result.txt | 1.52 KB | klausi |
Comments
Comment #1
patrickd commentedYou got some coding style errors, please try fixing them using http://ventral.org/pareview.
If you got any questions on this, please ask!
Comment #2
jonloh commentedThanks patrickd! Great tool there ;)
As question though - I'm see-ing alot of
Whitespace found at end of line, but I checked my file, I don't see any extra whitespace found at the end of line. Could you kindly advise how am I able to resolve that?Comment #3
patrickd commentedThe problem is that you editor seems to have auto-indenting turned on. so you got many lines like (# is a whitespace):
Comment #4
jonloh commentedThanks! I've settled most of the errors except for this:
I already ended the file with a single new line character, but it still doesn't seem to be solved :(
Comment #5
patrickd commentedPlease stop pushing to the master branch and see the instructions on top of the review results.
I checked lp_referral.js and it does not have a single new line at the fileend, maybe you'r using windows encoding?
Comment #6
jonloh commentedWoops sorry. I've branched it out and will remove the master branch.
However, I'm still getting errors even though I've added a new single line, as shown in the image here:
http://imageshack.us/photo/my-images/812/lpreferral.jpg/
As you can see, I've added the new line in line 10. Even though I remove the new line at line 10, I'll still have the same error stating that the file must end in a single new line character. Other files doesn't seem to have a problem on this.
And my editor is set to Unix Line Endings (LF).
Thanks!
Comment #7
patrickd commentedThat's strange, but now I also got the new line in my editor.
But this is not a big problem, if you get this solved later it's okay.
Comment #8
jonloh commentedAlright, then I'll leave it for now while I check out on the other files to make sure the coding standards are fine.
Thanks!
Comment #9
patrickd commentedsorry but, please don't review your drupal distribution by ventral.org, this will currently break the server :/
Comment #10
jonloh commentedCleaned up codes accordingly to Drupal coding standards and branched out the 3 items to its own branch 7.x-1.x.
Awaiting for review! :)
Comment #11
klausiReview of the LaunchPlug 7.x-1.x branch:
This automated report was generated with PAReview.sh, your friendly project application review script. You can also use the online version to check your project. Go and review some other project applications, so we can get back to yours sooner.
manual review:
lp_report_top_referrals(): make sure to run all user facing text through t() for translation.
Review of the LaunchSkin 7.x-1.x branch:
manual review:
base.css: Please format it according to the CSS coding standards http://drupal.org/node/302199
LaunchBuzz: do not copy Drupal to your drupal.org installation profile repository. You should only have your installation profile there and optionally a drush make file.
Comment #12
jonloh commentedSorry, I don't quite get what you mean on this. Could you kindly explain in a little more detail on what I should do? Or if there's any documentation on this, that would be great.
Comment #13
jonloh commentedNevermind, I found what it meant to not have Drupal core files together with the installation profile. I've made the changes accordingly and awaiting for review.
The base.css is actually generated from HTML5 boilerplate, which defaults in the compressed CSS. I have other CSS stylesheet files that are in proper format to allow overwrite on the base.css. Hence, would it be alright if I can maintain base.css as the compressed CSS? Plus, it does help to decrease the file size a little bit.
Comment #14
patrickd commentedSorry for the long delay! I had a raw look on it:
LaunchBuzz installation profile
LaunchPlug module(s)
If the referral module needs alterations in the settings form, these alterations should be done by the referral module itself (hook_form_form_id_alter())
// Avoid query duplication.have you tested this? is this really an issue, I mean is this possible? I got no idea..'restrict access' => TRUE,this hook menu option is only for really critical permissions that make the user able to kind of take down the whole site or other security issues. I don't think that's the case hereregards
Comment #15
klausiClosing due to lack of activity. Feel free to reopen if you are still working on this application.
Comment #15.0
klausiAdded --branch 7.x-1.x command for Git.