Adds the ability for users to vote and rate your NextGEN Images. Simple options give you the ability to limit who can vote on what.
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.
You need to add a small tag to the gallery display template.
For image voting:
For image voting, add the following tag:
<?php echo nggv_imageVoteForm($image->pid); ?>, to the gallery display template.
For gallery voting:
For gallery voting, add the following tag:
<?php echo nggv_galleryVoteForm($displayed_gallery, $gallery); ?>, to the gallery display template.
For NGG 1.x, you can find the gallery templates in the
/plugins/nextgen-gallery/view/ directory. For the default shortcode,
[nggallery id=x], you
add the tag to the
gallery.php file. If you add the
template attribute to your shortcode, you need to alter the appropriate template. eg:
If you use the
[nggallery id=x template="caption"], you need to add the tag to the
For NGG version 2.x, you need to add the tag to the
template. This will only work for galleries inserted WITHOUT selectiong a template from the gallery display options.
NGG v2.x templating system can be confusing for some users. Please see this page for more info on which templates are used.
Please be aware, for image voting, the form needs to be placed inside the
foreach() loop in those templates, as that loop is outputting each image.
I find the best place to put the tag is AFTER the
<div class="ngg-gallery-thumbnail"> is CLOSED.
For gallery voting, be sure to place the tag outside of the foreach, or it will show more than once on the page.
Absolutely. This plugin intentionally adds very little styling to the voting forms, but it does provide 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 view more info on those votes. You can also see more information on the voting results under the 'Top Voted' menu option.
Requires: 2.9.1 or higher
Compatible up to: 3.8.3
Last Updated: 2014-4-14
7 of 19 support threads in the last two months have been resolved.
Got something to say? Need help?