Title: [Plugin: NextGEN Gallery Voting] SQL-Commands
Last modified: August 20, 2016

---

# [Plugin: NextGEN Gallery Voting] SQL-Commands

 *  [c-schaefer-foto.de](https://wordpress.org/support/users/c-schaefer-fotode/)
 * (@c-schaefer-fotode)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-voting-sql-commands/)
 * Why dont you include some SQL-Commands in your plugin, that change the settings
   on existing pictures? Like
 * UPDATE `Datenbank_name`.`wp_nggv_settings` SET `voting_type` = ‘1’
    or UPDATE`
   Datenbank_name`.`wp_nggv_settings` SET `enable` = ‘1’,
 * That would make the setup easier.
 * [http://wordpress.org/extend/plugins/nextgen-gallery-voting/](http://wordpress.org/extend/plugins/nextgen-gallery-voting/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [shauno](https://wordpress.org/support/users/shauno/)
 * (@shauno)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-voting-sql-commands/#post-2441646)
 * Most of the questions about the plugin are people not able to copy and paste 
   the tag into the template. Not the type of person who should ever be running 
   raw SQL on data.
 * If you are comfortable editing a database directly, the table structure should
   make enough sense to do what you need. It’s pretty basic.
 * What are you trying to achieve exactly, maybe I can help more with that?
 *  Thread Starter [c-schaefer-foto.de](https://wordpress.org/support/users/c-schaefer-fotode/)
 * (@c-schaefer-fotode)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-voting-sql-commands/#post-2441657)
 * Thanks for your answer.
 * I am asking me why you dont add a button to the backend which says
    “enable Voting
   on all existing images” and which runs the command UPDATE Datenbank_name.wp_nggv_settings
   SET enable = ‘1’ in the database?
 *  Plugin Author [shauno](https://wordpress.org/support/users/shauno/)
 * (@shauno)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-voting-sql-commands/#post-2441668)
 * I will add it to my to-do list.
 * _[ [Signature moderated.](http://codex.wordpress.org/Forum_Welcome#Signatures)]_

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: NextGEN Gallery Voting] SQL-Commands’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextgen-gallery-voting.svg)
 * [NextGEN Gallery Voting](https://wordpress.org/plugins/nextgen-gallery-voting/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery-voting/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery-voting/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery-voting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery-voting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery-voting/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [shauno](https://wordpress.org/support/users/shauno/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-voting-sql-commands/#post-2441668)
 * Status: not resolved