Viewing 1 replies (of 1 total)
  • Plugin Author AntoineH

    (@antoineh)

    The calculation can run in two different modes: one is via AJAX calls. If you can find a way to call the calculation method the same way the admin-ajax.php script from WP does, that may work. The calculation method is called until a certain value is set (return values are in JSON).

    The other option is running without AJAX calls. In this method (enable it via the ‘FOOTBALLPOOL_RANKING_CALCULATION_NOAJAX’ constant in wp-config) the requests are ‘normal’ GET requests and the next URL (if not finished) is echoed in a <script> tag in the response.

Viewing 1 replies (of 1 total)

The topic ‘Recalculate scores after php database update’ is closed to new replies.