Viewing 15 replies - 1 through 15 (of 21 total)
  • Short answer, you can’t.

    Slightly longer version:
    I did start working on a way to pre-set the voting options for new Galleries and Images, but hit a snag.
    From what I saw, the problem is there seems to be multiple ways to upload images to NextGen, but no generic hook that fired for me to save the voting options on those new images.

    Hopefully I will find the time to re-look at it, and come up with a solution.

    Sorry I can’t help more yet

    Thread Starter _minatory

    (@_minatory)

    And can I do it in the phoMyAdmin? By some command to db?

    Hmmm, I’ve never thought about doing that.
    Looking at the db schema, I think it would just as much work getting all the new image ID’s, and running a query.

    Ok, I finally have gotten around to looking deeper into this, and it turns out there was a perfect hook in the add image function of NextGen.

    I have committed v 1.4, which has added a place to set the default voting options for new Galleries and Images.

    Please let me know what you think, or if there are any problems (I only did very basic testing)

    Hi, yourr votin don’t work in every image. I put code to imagebrowser.php

    I did the code and you’re right. It doesn’t look great. Is there a way to modify this so that voting only comes up when an image is clicked on (not with the thumbnails). For example it would be great if it worked in conjunction with NextGens built in thickbox setting. Also it would be good to be able to edit the non-user message which appears when you select “user votes only” and you are not logged into the site.
    But this might just be exactly what I am looking for. Thanks!

    bengo-matus: I have no idea what you mean dude :). Have you read the FAQ? What part doesn’t work?

    gmotola: The front end dev guys I work with always seem to make magic with a little css.
    About the popup, unfortunately that’s not gonna be easy. Thick box is built into WP, not NGG. Probably possible, but it would take a bunch of custom code.

    Well, I like your plugin. It’s working.
    Apart from these thanks I wanted to tell what might be the best way to include the image vote into the imagebrowser.
    Add the line <?php echo nggv_imageVoteForm($image->pid); ?>in the div-Tag
    <div class="ngg-imagebrowser-desc"> which is located in the file /wp-content/plugins/nextgen-gallery/view/imagebrowser.php at line 32.
    At the end the line should look like this:
    <div class="ngg-imagebrowser-desc"><p><?php echo nggv_imageVoteForm($image->pid); ?><?php echo $image->description ?></p></div>

    The description could be a good hook to include the imagevote automatically.

    shauno> if I put code to gallery.php, voting is not visible. If I fut code to imagerotator, voting is same for all pictures.
    brainslush> do not work for me

    When I have show results selected and the average is fraction the stars disappear and I only get text saying something like current average is 3.5 stars. Is there anyway to have the stars stay and just round up or down to the nearest star or even have a half star?

    https://aigaslc100show.com/peoples-choice/

    At my work also did not vote on the single image

    Am I missing something?

    I click the options for voting on images and when I go to the gallery I see nothing… It works for the gallery as a whole but not for individual images.

    Is anyone else having this problem? Does anyone have a working gallery that let’s you vote on images that I can look at?

    I am having the same issue as jasoncoffee. I have a gallery of 27 images and I would like to enable voting on each image. Is there anyway to do it without going into the image file?

    I need the same here for each image…..

    It was all working perfectly fin with the 1.4 version of NGG Voting plugin.
    But there was a recent update to the NGG itself, and after that upgrade, the NGG Voting never worked again… ??
    I tried de/activating the plugin, even removing and reinstalling the plugin, but in vain ??
    Anyone knows how to renable it after an NGG update?

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘[Plugin: NextGEN Gallery Voting] Voting for every image’ is closed to new replies.