• Resolved reinispro

    (@reinispro)


    Hello!
    I just updated your plugin to the newest version – 2.5
    And as it was written there will only be left full calculation.
    The problem is that whenever I recalculate anything there pops up that window where it asked to choose from smart or full calculation in earlier versions. But now it just pops up and it is blank, at the top it just says “Score and Ranking calculation” and in the bottom right there is cancel.
    Is that ok?
    I thought maybe everything is calculated so fast that way I can push cancel. But I’m not sure.

    https://ww.wp.xz.cn/plugins/football-pool/

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

    (@antoineh)

    First try to empty your browser cache. Could be that the old scripts are still loaded. If this doesn’t change the behavior, then try the NOAJAX setting in your wp-config, maybe this shows an error that doesn’t appear in the popup.

    define( 'FOOTBALLPOOL_RANKING_CALCULATION_NOAJAX', true );
    Thread Starter reinispro

    (@reinispro)

    Ok I’ll do that, but the thing also is that it does the calculation, it’s just that pop-up window doesn’t show anything

    Thread Starter reinispro

    (@reinispro)

    Thread Starter reinispro

    (@reinispro)

    It seems to work now with define( ‘FOOTBALLPOOL_RANKING_CALCULATION_NOAJAX’, true );
    But now I have different problem
    After game has ended in predictions I can see I got full score points, but when I open ranking there is 0 pints for me, and yes I have recalculated scores

    Plugin Author AntoineH

    (@antoineh)

    It should at least show some information. Even if it only takes 1 second.

    http://s31.postimg.org/lxy2qa063/2016_04_19_22h12_34.png

    Thread Starter reinispro

    (@reinispro)

    Hmm…
    With NOAJAX that pop up window disappeared and I got new submenu under football pool called “score recalculation”

    Plugin Author AntoineH

    (@antoineh)

    But now I have different problem
    After game has ended in predictions I can see I got full score points, but when I open ranking there is 0 pints for me, and yes I have recalculated scores

    I don’t think the calculation has finished if it shows 0 points. Can you look in the database if there is data in the scorehistory tables (there should be 2 tables and one of them has the data).

    The table should have a row for your user ID, with the following values:

    type = 0 (=match)
    source_id = [the match id]
    score = [your full points award]
    full = 1
    total_score = [your full points award] + [your previous score; if any]

    Plugin Author AntoineH

    (@antoineh)

    With NOAJAX that pop up window disappeared and I got new submenu under football pool called “score recalculation”

    Yes, that’s correct. The setting just uses a different way of calculating the score. If you select the new menu item then the calculation starts and refreshes the page for every calculation step. This helps debugging certain problems because if an error occurs, then it is not ‘hidden’ in the AJAX request.

    Thread Starter reinispro

    (@reinispro)

    is there any way we could contact privately?

    Plugin Author AntoineH

    (@antoineh)

    My email address is at the bottom of the help page.

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

The topic ‘Score and Ranking calculation’ is closed to new replies.