WordPress.org

Support

Support » Plugins and Hacks » NextGEN Gallery Voting » [Resolved] [Plugin: NextGEN Gallery Voting] Voting in Fancybox pop-up images?

[Resolved] [Plugin: NextGEN Gallery Voting] Voting in Fancybox pop-up images?

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

    @shauno

    Hi flickh

    I’m glad you like the plugin.
    That suggestion has come up before, and it’s really something I want to implement. The problem is the popup is generated by 3rd party javascript that my voting plugin doesn’t have enough control over to inject the required html.

    Hopefully I will find a nice way of handling this in the near future, sorry.

    Alright! Thanks for the reply.

    Is that js somewhere in the wordpress folders that I could add it myself?

    Plugin Author shauno

    @shauno

    As far as I remember, NGG uses the js that is included with the WP core. But you would need to catch the click event for the gallery image popoup, and then find a way of getting the associated voting form, and injecting it into the markup generated by the js.

    this is an awesome plugin thanks for it.

    I am after same functionality but would also be happy if the voting would show up when a single image is opened without the js.

    E.g. When I enable:
    Show ImageBrowser xThe gallery will open the ImageBrowser instead the effect.

    Shows the clicked images. It would do the job for me already if I could have the rating option there.

    Hope you can help me out here.

    Thanks a lot!

    Plugin Author shauno

    @shauno

    Hi orces

    You can add the voting tag <?php echo nggv_imageVoteForm($image->pid); ?> to the imagebrowser.php template in NGG’s view directory.
    The ajax loader image loads all stupidly by default, but you should be able to hide it with your CSS.

    Hello,

    I did what you suggested in your last post here: add the voting tag <?php echo nggv_imageVoteForm($image->pid); ?> to the imagebrowser.php template in NGG’s view directory.

    But I can’t seem to get rid of the loader.gif using CSS:
    .nggv-star-loader {
    display: none !important;
    }

    If I refresh my browser, it’s not there, but after I click on the NEXT button that damn loader shows up again.

    Any suggestions?

    Plugin Author shauno

    @shauno

    Hi csborgman
    The CSS should hide the loading gif on all pages. Perhaps when you click ‘next’ the site is loading a cached version of the CSS for that page.
    I can’t seem to see you site to check, as only your header loads.

    You can also just put the voting form tag outside of the ".ngg-imagebrowser" div. Then the NGG CSS won’t mess with the loading gif.

    Ah pity 🙁 Was hoping that this might be implemented in the premium version..

    Plugin Author shauno

    @shauno

    It’s very high on the priority list, don’t worry 🙂

    I am placing that image voter php script, but still, the like and dislike button does not appear on the popped up image.

    Any solution?

    Plugin Author shauno

    @shauno

    Hi artheme

    If you read the thread you are posting in, you will see that the plugin does not add the voting to the popup. It can only add the voting to the gallery list, and the ‘image-browser’ templates.

    I am new to Nextgen gallery. What is image browser?

    Plugin Author shauno

    @shauno

    It’s a setting in NGG that allows you to not show the large image in a popup, but in the page with scroll buttons for next and previous.

    Thank you for your answer…

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Resolved] [Plugin: NextGEN Gallery Voting] Voting in Fancybox pop-up images?’ is closed to new replies.
Skip to toolbar