Support » Plugin: Football Pool » Increase Input Max Value

  • Resolved anderson849

    (@anderson849)


    Hi,

    Great plugin! Is there a way in which I can change the max value for the score input? Currently the max I can select is 255.

    Many thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author AntoineH

    (@antoineh)

    You’ll have to change the database fields that store the values for predictions and match outcomes from tinyint to a value that allows bigger numbers.

    Fields: home_score, away_score
    Tables: pool_wp_predictions, pool_wp_matches

    Just be carefull when updating the plugin. If I change the DB, WordPress will execute the update script and change the tables; possibly ‘truncating’ your values.

    • This reply was modified 5 months ago by  AntoineH.
    anderson849

    (@anderson849)

    Brilliant! Thanks a lot for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.