WordPress.org

Ready to get started?Download WordPress

Forums

Football Pool
Predictions not showing (8 posts)

  1. pjbursnall
    Member
    Posted 9 months ago #

    Hi,

    I can't get the predictions made by two test users to show using the [fp-predictions] shortcode. I've tried manually entering the code myself and using the visual editor button, but still the output on the front-end is the code itself, e.g. [fp-user-predictions match="22"]

    What have I got wrong?

    Thanks,
    Paul.

    http://wordpress.org/plugins/football-pool/

  2. AntoineH
    Member
    Plugin Author

    Posted 9 months ago #

    It seems that the button in the visual editor is adding the wrong code. That is definitely a bug. If you change the added code to [fp-predictions match="22"] it still doesn't work?

  3. pjbursnall
    Member
    Posted 9 months ago #

    That does work but no text is shown for the scores just the - where a number should show either side...

  4. AntoineH
    Member
    Plugin Author

    Posted 9 months ago #

    I can't really think of a reason why the predictions are not showing. The names and scores are shown in your situation, but not the predictions?
    Did you check if the predictions were saved in the predictions table?

  5. pjbursnall
    Member
    Posted 9 months ago #

    Yes predictions for both test users were saved and show as saved (deadline now passed) on the prediction page, but the shortcode output shows no scores.

    The default prediction page also returns message 'no user selected'.

    I have the plugin installed on two sites and have switched between 3 themes. Same problems on each?

  6. MarcToag
    Member
    Posted 2 months ago #

    Great plug-in!

    Is there an answer found for this problem already? I have the same problem and with the offered solutions I can see a score but no match.

    Hope to hear!

  7. AntoineH
    Member
    Plugin Author

    Posted 2 months ago #

    Scores are only shown with this shortcode after a recalculation is done in the admin. Did you do a calculation of the scores after the match was changed?

  8. AntoineH
    Member
    Plugin Author

    Posted 2 months ago #

    Sorry, ignore my last answer. That is not true :)

    A score should be shown if the match is finished and the end score is entered in the admin.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.