• Hey Guys,

    I am fairly new to pho and CSS coding. I creating an image rating website using NextGen voting. I am running the most current versions of both tools.

    NextGen Gallery Version 1.7.3 |
    NextGen Voting 1.7

    I have gone and edited the php file and added the script. in face I inserted it twice for testing purposes.

    Right now I can insert a gallery into a post and it will show the rating system. Other than that none of the other settings like : single image, slideshow, etc do not display the the rating system.

    From here I am looking to change the stars into bananas. right now I am using every post with a different picture. It is something that I am willing to change. If anyone can help me with this I would be happy to compensate.

    Thank you

    Travis

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author shauno

    (@shauno)

    Hey Travis

    What exactly is the problem? Is it that you can’t get voting to show for individual images?
    For that to happen, you need to enable voting on the image from the back end. Then you need to make sure you have inserted the tag as explained in the FAQ. Take care to insert the tag into the NextGEN template that you are using to display the images (by default, that is view/gallery.php.

    Once that is working, to change the image to a banana is simple. Have a look in the images directory in the NGG Voting plugin directory, and find the star.gif image. The image is 25px with, and 75px high. You can replace that image with what ever you want (make sure its the same size, or you’ll have to alter css too!)

    Thread Starter travisobvs

    (@travisobvs)

    Hey shauno,

    Thank you for your reply. I know that I changed the PHP correctly and was still have problems with the voting and implementation. There were a number of problems like the the rating system not working and not showing on particular pages.

    I will get home after work tonight and try everything again from scratch, If things persist I will post everything on here.

    Thank you again for your on going support.

    Hello, thanks for this very nice and useful plugin!

    I’m particularly interested on the image voting thingy, which works as expected as long as I display the images via the [nggallery] shortcode.

    However it is not working when displaying images via the [ngtags] shortcode. It displays the rating stars but when you try to vote, it shows the loading gif and after a short while it displays the following error-message: “There was a problem saving your vote, please try again in a few moments“.

    I hope there’s a fix for this, because I have built up my whole gallery system on image tags.

    Thanks in advance!

    I have the seme problem , user san vote only for gallerys , how can I fix it?
    sorry for my terrible english

    I’d like to know how to fix this issue as well! (for the separate images). I receive the error “There was a problem saving your vote, please try again in a few moments.” every time I try to vote for an image. Any help would be much appreciated!

    No matter where I put the code in gallery.php, I cannot get the ratings to show on the pics, only in the gallery view. Where exactly do you put the code?

    I’m using NextGEN Gallery 1.8.1 and Voting 1.8.2. For viewing the pics, I have it set to use Thickbox.

    Any help would be much appreciated. Thank you.

    Plugin Author shauno

    (@shauno)

    Are you trying to get the voting to show in the thickbox popup?

    Yes. The page is here:

    https://wp.humortimes.com/user-created-cartoons/

    (Site is in test mode)

    Thank you.

    Plugin Author shauno

    (@shauno)

    Sorry, can’t be done. As explained in multiple other posts requesting this, the thick box code is in the wordpress core. This means I cannot alter it in funky ways needed to add the rating.
    Maybe there could be some hackity JS that tries to inject the voting onload of the thickbox window, but meh.

    Oh, ok… guess I misunderstood what it could do.

    So putting the voting below each thumbnail is the closest we can get? Or is there another way to view each cartoon on a separate page, to get the voting box, and maybe even comments, on individual cartoons? … and still keep the gallery layout?

    Plugin Author shauno

    (@shauno)

    You can add the voting form anywhere you can get the pictures id. Anything else, is beyond the scope of the plugin.

    I did have a look at adding the voting to thickbox out of curiosity, and it’s not possible. Thickbox doesn’t expose any public onshow/onload type of events.

    You can add the voting form anywhere you can get the pictures id.

    … Do you know of a way of displaying the individual images from NextGEN Gallery and include the voting (and perhaps comments) for each one, and still keep the gallery format? You wrote the plugin for NextGEN, so was your intent just to have voting on the thumbnails, or am I missing something here? Thanks.

    Plugin Author shauno

    (@shauno)

    The intent of the plugin, is to allow voting on images (and galleries). The clue is in the name, “NextGEN Gallery Voting”. Let’s break that down: “NextGEN Gallery” – This is the gallery plugin that the images will be from. “Voting” – Now there’s a story behind this word. This word was chosen during an intense 3 day get away in the Bahamas, had by the top level management for this project. During that get away, these managers had many meetings that included words like “synergy”, “paradigm”, “fungible” and “empower”. But in the end, they decided to go with the low hanging fruit, and choose “Voting”. Ultimately, this would turn out to be the wrong choice, as some random schmuck pointed out “Rating” would have been more appropriate 2 weeks after release. But the business cards had been printed, so it was too late.

    But enough on the success story behind my multi million dollar software venture.
    You can show the voting form anywhere. It doesn’t even have to be near an image, MWHAHAHA (although that would be pointless).
    If you know the picture id, you can put the voting form in with the tag <?php echo nggv_imageVoteForm(10); ?> (where ’10’, is the picture’s id)

    *Some parts of this post may be fictitious.
    **Any and all offence taken at this post will be mocked even more.

    Very funny! I appreciate the hard work with no-doubt low financial rewards you’ve put into this, and I don’t mean to give you a hard time. Just trying to get this to work the best I can.

    Another question: Is there a way to reset the voting on all the images, so that there are no votes cast? Also, what happens to the voting data when you delete an image? Does the database need to be cleared of the voting data or anything?

    I’ve run into another problem. I started a new gallery, and uploaded new images, and somehow they all had ratings on them already when I looked at the gallery! The site is not public yet, so it’s not that people really voted on them.

    The new gallery is at https://wp.humortimes.com/1556/cartertoons/

    Please help!

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: NextGEN Gallery Voting] Problems with single images.’ is closed to new replies.