WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery Voting
[resolved] How do I make the voting form appear for images for version 2.2.2? (5 posts)

  1. dco22
    Member
    Posted 1 year ago #

    I read the FAQ "How do I make the voting form appear for images?
    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 tag (new line created 45) Do not put inside the tag that wraps the image in some of the templates, or the link will conflict with the voting process."

    How do i do this for version 2.2.2 i did not find the /nextgen-gallery/view/gallery.php

    http://wordpress.org/extend/plugins/nextgen-gallery-voting/

  2. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    Hi derekostler

    The FAQ answer you pasted gives the correct instructions. There most definitely is a gallery.php file in the wp-content/plugins/nextgen-gallery/view/ directory. If you cannot find that file in your site, then perhaps you need to delete and re-install NextGEN Gallery, as something might have gone wrong in the install (but I've never heard of that happening).

    Let me know if you still can't find it.

  3. dco22
    Member
    Posted 1 year ago #

    O wow I was looking in the NextGen Gallery Voting. Found it and put it in; however, the voting still does not work on individual pictures.

  4. dco22
    Member
    Posted 1 year ago #

    Just got it to work now!

  5. shauno
    Member
    Plugin Author

    Posted 1 year ago #

    Have you enabled voting for the images in the NextGEN Gallery 'Manage Gallery' screen?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic