Slide Ad is a simple module that allows show a little box in the bottom of page while user is scrolling.
You can configure the design, width or more using CSS and HTML.
What can I do?
- Show Social Media buttons
- Call to actions about a product or article
- Show Offers
- Show Ads
- Whatever!
Sandbox: http://drupal.org/sandbox/soncco/1441362
Screenshot: http://i40.tinypic.com/4hblsn.png
This module works in D7
Reviews
http://drupal.org/node/1432692#comment-5821184
http://drupal.org/node/1431366#comment-5821406
http://drupal.org/node/1511646#comment-5822406
http://drupal.org/node/1511560#comment-5832042
http://drupal.org/node/1359516#comment-5832432
http://drupal.org/node/1500258#comment-5836390
http://drupal.org/node/1352548#comment-5836404
http://drupal.org/node/1336934#comment-5836478
http://drupal.org/node/1517856#comment-5836952
Other reviews
http://drupal.org/node/1524230#comment-5855604
http://drupal.org/node/1503992#comment-5855624
http://drupal.org/node/1511646#comment-5855648
http://drupal.org/node/1494434#comment-5855706
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | Slide Ad.txt | 7.3 KB | shivachevva |
Comments
Comment #1
shivachevva commentedIt appears you are working in the "master" branch in git. You should really be working in a version specific branch. The most direct documentation on this is Moving from a master branch to a version branch. For additional resources please see the documentation about release naming conventions and creating a branch in git.
Review of the master branch:
Drupal Code Sniffer has found some code style issues (please check the Drupal coding standards).
Please see the attachement file.
Comment #3
migmedia commentedThis is quiet usefull module.
Some issues I found:
better set it in module line 71 && 100 $content = variable_get('slidead_content', t('Hello world! This is the welcome message for my site.'));
I see no vulnerability issue.
Hth
Micha
Comment #4
soncco commentedThank you, I will work in it :)
Comment #5
patrickd commentedPlease don't assign application issues to yourself (only the current reviewer should do this).
Comment #6
soncco commentedI have finished the changes. Another observation?
Comment #7
migmedia commentedThere are still issues in codestyle, see here: http://ventral.org/pareview/httpgitdrupalorgsandboxsoncco1441362git
please fix them.
Hint: There are drupal-style-checker for various editors (vim, eclipse, text-wrangler etc. => http://drupal.org/project/drupalcs), you get a adhoc review while developing.
Micha
Comment #8
migmedia commentedok, pareviewsh is pleased.
I found an old point which I had overseen till now:
the handling of the text_format-field `slidead_content` is not properly implemented.
The way implemented now the input of the user (admin) wouldn't be checked and direct pasted in the page. In my understanding just mild security issue, because of the needed permission for administrating this `block`.
Micha
Comment #9
soncco commented@migmedia Thank you for your observations, I was tried to fix that.
Comment #10
migmedia commentedI miss the second point: Converting the user input to a formatted output (line: 111) via check_markup().
Using an input-filter moves the security-responsibility to the admin ;-)
Micha
Comment #11
soncco commentedOne more time
Comment #12
migmedia commentedOk, all of my points are fixed! If I had something to say about, I would promote your module for getting full-project-status. :-)
Maybe a good time to give your project-presentation (http://drupal.org/sandbox/soncco/1441362) some love. E.g. put that linked screenshot on that page to illustrate the usefulness of slidead at first sight.
Oh wait: The last changeset brought new codestyle issues. (Indention and trailing whitespace... )
Pls fix thees issues too: http://ventral.org/pareview/httpgitdrupalorgsandboxsoncco1441362git
Micha
Comment #13
soncco commentedThanks Micha, standards done! I'm working on 7.x-1.x
Dumb Question: How can I add a linked screenshot like node/xxxxx? or How can I create a node with my screenshot?
Comment #14
patrickd commentedTo directly add screenshots, you need to be a git vetted user
Alternative you can simply upload your images https://drupal.org/node/add/image and put them into your project page with image tags
Comment #15
soncco commentedThank you pattrickd. I've added the screenshot on my project page... (close enough)
Comment #16
migmedia commentedLooks good. Congratulations, now I promote your module for getting full-project-status. :-)
Micha
Comment #17
soncco commentedThank you Micha. I'm crying :).
Comment #18
klausiYou have not listed any reviews of other project applications in your issue summary as strongly recommended here: http://drupal.org/node/1011698
Comment #19
soncco commentedThanks klausi. The last observations are solved, I'm preparing for review some projects.
Comment #20
soncco commentedWrong comment deleted...
Comment #21
soncco commentedSome reviews
http://drupal.org/node/1432692#comment-5821184
http://drupal.org/node/1431366#comment-5821406
http://drupal.org/node/1511646#comment-5822406
http://drupal.org/node/1511560#comment-5832042
http://drupal.org/node/1359516#comment-5832432
http://drupal.org/node/1500258#comment-5836390
http://drupal.org/node/1352548#comment-5836404
http://drupal.org/node/1336934#comment-5836478
http://drupal.org/node/1517856#comment-5836952
Comment #22
klausiDon't forget to add the review bonus tag and to add the review links to the issue summary.
Comment #22.0
klausiAdding screenshot
Comment #23
soncco commentedBonus.
Comment #24
musikpirat commentedWent through the code and found no obvious errors. Whatever that means, due to me being a pretty greenhorn. :)
Comment #25
itsekhmistro commentedHi,
manually reviewed:
slidead.js - are you sure you need to call JQuery selectors without "context"
To prevent processing of all document and dublicating attached eventListeneres each time the attachBehabiours is called you should use
see what I mean?
Also automated review:
Apart from this the code of the module looks ok and ready. Thanks for your work.
Comment #26
soncco commentedThanks @itsekhmistro, your observations has been solved.
Comment #27
klausiDon't forget to set the status to "needs review" if you want to get a review. See http://drupal.org/node/532400
Comment #28
soncco commentedUpdating status.
Comment #29
klausimanual review:
Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #30
soncco commentedThank you for your help @klausi
My last reviews:
http://drupal.org/node/1524230#comment-5855604
http://drupal.org/node/1503992#comment-5855624
http://drupal.org/node/1511646#comment-5855648
http://drupal.org/node/1494434#comment-5855706
Comment #30.0
soncco commentedReview links
Comment #31
luxpaparazzi commented1. You should add your GIT URL to this page: http://git.drupal.org/sandbox/soncco/1441362.git
2. Parareview does not find any automated errors.
3. I would suggest adding a larger image to your project page, and probably more text.
4. I would suggest putting html into template files or template functions, not directly into hook_page_build().
As I did not see any bigger problems, in this not so big project, I put "reviewed & tested by the community.
Comment #32
klausimanual review:
As the permission thing is not a security problem (no one but user 1 can have access to the administration page currently), I think this is ready to go.
Thanks for your contribution, soncco! Welcome to the community of project contributors on drupal.org.
I've granted you the git vetted user role which will let you promote this to a full project and also create new projects as either sandbox or "full" projects depending on which you feel is best.
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.
As you continue to work on your module, keep in mind: Commit messages - providing history and credit and Release naming conventions.
Thanks to the dedicated reviewer(s) as well.
Comment #33
soncco commentedPermissions fixed.
Thanks to all, I've learned so many things in last weeks.
Comment #34.0
(not verified) commentedMore review
Comment #35
avpaderno