NextGEN Gallery Voting
[resolved] Code to Display voted images of a gallery to user (2 posts)

  1. davidcrespo
    Posted 3 years ago #

    What would be the code to display the voted images of a gallery?
    I need to display it to my user, let step I will try to add the cancel vote option to user.

    All the best,


  2. shauno
    Plugin Author

    Posted 3 years ago #

    Hi David
    So you are trying to display a list of images that have 1 or more votes? You aren't going to be able to just call a function from the plugin, but it's possible if you know a little SQL.

    The votes are stored in a table named wp_nggv_votes, where the column pid is the image's pid in NGG's wp_ngg_pictures table. You should be able to write a query to join the 2 tables and get that list you want.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery Voting
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic