Radio Streaming - 50% Lifetime Discount with purchase of any Joomla Web Radio Addon. Discount Code: STR15-Z
See Radio Streaming Plans

Results 1 to 4 of 4

Thread: Player Form module

  1. #1
    Super Moderator
    Join Date
    Mar 2012
    Posts
    183

    Player Form module

    --------------------------------------------------
    Topic Transfered from old forum
    --------------------------------------------------

    Whether this a bug or not, I find it confusing and am sure players would find it confusing too.

    The "Player Form" module allows for admin to set the number of matchdays over which the player form is measured. But the matchday measure uses fixture days rather than results days.

    As a consequence, if I set the module to reflect 2 matchdays, then the table displays the top players over the past two matchdays ... so far, so good.
    But, if I then enter & publish the next matchday fixtures, the table changes to reflect player performances over two matchdays, one of which has yet to be played, so effectively the table is showing player performances from just one matchday ... until the results have been entered for the new date, at which point the table will change again to reflect the new results.

    If the table was compiled from the most recent results matchdays, the table would change just once, when results are entered and published.

    As it stands the table changes twice for each matchday, once when results are added, then again when the next fixtures are published.

    Buddy
    Support Operator
    MultiHosting.com

  2. #2
    Super Moderator
    Join Date
    Mar 2012
    Posts
    183
    --------------------------------------------------
    Topic Transfered from old forum
    --------------------------------------------------

    nice we didn't thought about that issue, thank you for letting us know,

    here is a quick fix until we release an update

    edit the file

    <joomla directory>/modules/mod_masterleaguepro_playerform/helper.php
    ~ line 32

    from :

    $query="SELECT id ".
    " FROM `#__masterleaguepro_matchday` ".
    " WHERE season_id=$season ".
    " ORDER BY `date` DESC,id DESC ".
    " LIMIT 0 ,". $forMatchdays ;

    to

    $query="SELECT id
    FROM `#__masterleaguepro_matchday`
    WHERE season_id=$season AND id IN (SELECT DISTINCT matchday_id FROM `#__masterleaguepro_match` WHERE `status`=1)
    ORDER BY `date` DESC,id DESC
    LIMIT 0 ,$forMatchdays";
    Support Operator
    MultiHosting.com

  3. #3
    Junior Member
    Join Date
    Jul 2015
    Posts
    20
    One further detail could do with fixing.
    To set up the Player Form module, you need to specify the season and the league detail.
    If you have more than one season and carry the league name over to each new season (which would be normal?), this module just lists identical league names without reference to WHICH season each is associated with.

    The Top Players module does it exactly right, listing the league name (and associated season in brackets) so you can easily select the right one.

  4. #4
    Administrator
    Join Date
    Jul 2015
    Posts
    65
    We found the problem , there was an issue on the modules for Joomla 3.x that uses the "chosen select input" we will fix the issue on the modules soon. Normally the behavior of the module would filter the leagues by the season you selected.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •