WordPress.org

Support

Support » Plugins and Hacks » LeagueManager » [Resolved] how can I change the option of when results will be updated?

[Resolved] how can I change the option of when results will be updated?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Where is the function for the current match day?

    isCurrMatchDay

    I can change this match day to show the results of the before match day :).

    When you introduce the score you update the result in matches league and standing….
    if you want to update 3/4 days later introduce the score later on
    the plugin is automatic dont accept any delay.

    Ok, but I can’t to do that. I need the score when the match day is done and a few days later, Thanks for reply ;).

    try this code in a text widget:
    [matches league_id=21 match_day=1]
    Change the id and the match day and you can see the result as match you want.

    Is not perfect but it works. Thanks :).

    I found it!!

    In the plugin folder lib/core.php line 391. Change this:

    elseif ( $current && $match = $this->getMatches( "league_id = '".$this->league_id."' ANDseason= '".$this->season."' AND DATEDIFF(NOW(),date) <= 0", 1 ) )

    For this:

    elseif ( $current && $match = $this->getMatches( "league_id = '".$this->league_id."' ANDseason= '".$this->season."' AND DATEDIFF(NOW(),date) <= X", 1 ) )

    Just change 0 by X, where X is the days after the matchday.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] how can I change the option of when results will be updated?’ is closed to new replies.
Skip to toolbar