This plugin adds the ability for users to vote and rate your NextGEN Galleries and Images. Simple to understand options give you the ability to limit
This plugin adds options that can allow your users to vote on (more like rate) your Galleries and Images. There are options to limit which Gallery/Image to allow voting on, if the user needs to be registered and logged in, if they can vote more that once, and if they can see the current results.
For Galleries it's easy. You just need to enable voting on the gallery, and the voting form will automatically be appended to the gallery. There is some basic styling, but the markup has got plenty of classes and ids that you should easily be able to hook into with your own stylesheets to make suit your site.
For images there's an extra step. First you need to enable voing on the specific images you want. Then you need to add a tag to the gallery template from NextGEN Gallery. I'm going to use NextGEN version 1.9.6 to as the example, but it should be pretty much the same for all versions:
Between line 38 and line 53 in /nextgen-gallery/view/gallery.php is the loop that shows each image in a specific gallery. You need to add the following tag anywhere in that loop: <?php echo nggv_imageVoteForm($image->pid); ?>.
That will output the vote form where you put it. Personally I like to place it on a new line after the close <a> tag (new line created 45)
Do not put inside the <a> tag that wraps the image in some of the templates, or the link will conflict with the voting process.
This plugin intentionally adds very little styling to the voting forms. It does provded plenty of ids and classes allowing you to style it to fit in with your site.
Under the Gallery or Image options, the current average vote show along with how many votes have been cast. Click on the number of votes cast to show more info on those votes.
Requires: 2.9.1 or higher
Compatible up to: 3.5.1
Last Updated: 2013-3-26
Downloads: 67,297
25 of 30 support threads in the last two months have been resolved.
Got something to say? Need help?