WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery Voting
SQL-Commands (4 posts)

  1. c-schaefer-foto.de
    Member
    Posted 2 years ago #

    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/

  2. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  3. c-schaefer-foto.de
    Member
    Posted 2 years ago #

    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?

  4. shauno
    Member
    Plugin Author

    Posted 2 years ago #

    I will add it to my to-do list.

    [ Signature moderated. ]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic