Support » Plugin: LeagueManager » Show next match in widget doesnt work, Translation Error

  • Resolved Briesmi


    Since the update you cant switch to the next match in the widget, before update anything was fine. Please solve the issue or send me a link where i can download the 3.7.1 version!!

    U made big mistakes in the translation PO files, e.g on line 1371:

    #: view/standings-baseball.php:17

    1. there is no folder “view”, its templates!
    2. there is no file standings-baseball.php

    I’m totally frustrated!!

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author LaMonte Forthun


    The Widget issue is known and will be fixed soon.

    The PO files haven’t been touched, so if there are any issues in there, they have been there for quite some time. There are problems with those though that I need to fix due to a change in WordPress core code that has deprecated a translation method. To get LeagueManager code cleaned up, there are a number of things that have to be fixed.

    I apologize for your frustration, hopefully I’ll be able to get the issues resolved soon.

    Thanks for answering. I resolved the issue with the translation, hopefully the widget issue will be resolved, too. It would be nice if you could let me know what you changed in the widget code, cause i made some other fixes in the widget and dont want to lose them…

    E.G. on the next match mode i took a vs. between the icons of the teams (before tehre was nothing) and on the last match i changed the with a : between the results. i removed the season in the topic of the widget, too cause i dont like it.


    Plugin Author LaMonte Forthun


    I have code to fix the Widget, I finally tracked it down yesterday. The biggest issue is that in the last couple of weeks I’ve been pouring through the code to fix php strict errors, which has also turned up a few other things. That being said, there are a lot of files that have been touched, so I’m working on pushing out an interim update to fix the biggest issues, the Widget being one of them, then will release the rest. Or, I might decide to just get everything out, but that’ll take a few days probably. I think I’m going to make a couple of things optional in the Widget set up, Season and Group in the title aren’t going to be needed by everyone…

    Anyway, what I can do for you is send you links to the files that will fix the Widget issue so you can at least have that behind you and then the rest will come when they come, if that works for you. At that point, you can merge your changes in with the files as you wish. Just make sure you keep a clean copy of your code safe so that it’s not overwritten. I know I’m not telling you anything new or that you don’t already know, but I’ve lost a few custom changes myself on updates when I just forget what I had done and in what files I had done it in the rush to update a system…

    I know you had asked about American Football, I’d like to work with you to make the new sport file work as well as possible if you’re interested in helping with some ideas. Let me know what you’d like to see in the file and we can see what we can do to bring it together. One of the bigger changes that I’m working on is pulling the teams and players out of the league so that they are independent. That way players can move around, as we know they do in football (and most, if not all sports) and we can work with stats better…

    Thanks for the statement! If i can help you, i will!

    For me the widget in older version (3.7.1) was perfect, is it possible to use the old widget.php in the new version? Or if you could send me links to the widget files that have been changed i would be happy!

    Thanks again for your work!

    Plugin Author LaMonte Forthun


    If I can’t put out this release I’ve been working on for some time now, I’ll figure out what files changed and will post links. There was some JavaScript conflicts that I nailed down a couple of days ago, but I think it involved a few files. The problem wasn’t just in the widget.php file, it is a couple of the .js files as well. I will get you something…

    I found some other issues now. the 2 point rule does not work, for win it gives only 1 point, and in the extended table view the logos wont be shown, there is only a LOGO hint.

    When the update will be available? The new season started last weekend ;(

    Update: I made a new season, and now the scores works fine; the widget works fine, too.

    But: 1. The logos wont be shown in table on front- and backend (only the LOGO hint). On the widget the logos are correct.

    2. I got an issue with the shortcodes.

    [matches league_id=4 mode=all] Shows only the next matches, not all matches

    [matches league_id=4 mode=home] Shows nothing (blank)

    i dind tried other shortcodes, cause i only need this 2 ones.


    Plugin Author LaMonte Forthun


    mode=all isn’t needed, the default is to show all matches, then filter by using other methods. How are you trying to use mode=home? To get just home matches? I haven’t figured out what the original purpose of the ‘Home’ check is for on the team page, so it’s not something I’ve found a use for.

    Take ‘mode=all’ off, that should give you all matches for the league.

    Tell me what you want for mode=home, I’ll give you either the way it should be done or write something into the shortcode to do it.

    I can’t duplicate the two-point rule not working, which sport are you using?

    i have a problem with the widget “limit” in next e prev. It’s doesn’t work. Why?
    I use this short code
    [matches league_id=2 time=next limit=9 order=”date asc”]

    Can you help me?

    Plugin Author LaMonte Forthun


    What are you trying to do and what are you getting?

    I just took your shortcode and dropped it into my install, and it gave me the next 9 matches only.

    This is the link page of the my blog

    the page is generate with the following shortcode

    [note note_color=”#F9F6F4″ text_color=”#525252″ radius=”12″]RISULTATI[/note][matches league_id=2 mode=]

    [note note_color=”#F9F6F4″ text_color=”#525252″ radius=”12″]CLASSIFICA[/note][standings league_id=2 template=extend logo=true]

    [note note_color=”#F9F6F4″ text_color=”#525252″ radius=”12″]PROSSIMO TURNO[/note][matches league_id=2 time=next limit=9 order=”date asc”]

    the problem is that the third season not give me the next 9 matches, but the same match-day

    Plugin Author LaMonte Forthun


    I see nine matches on May 1, are there others that come before those? The time=next function gives you the next matches, which you’ve limited to nine. Are you trying to get something else?

    Yes, I try to show the match day in the first season (the nine match that play on 1 May) and the next round in the third season (the nine match that will play on the 4 May).

    It’s possibile that some conflict with new version of the wordpress? O another plugin?

    Plugin Author LaMonte Forthun


    So you want two match days, which would be the next 18 matches? When I’ve used it for match days, I’ve put a header over one, Match Day XX, then the matches for that match day, then another header for the next match day and the list of matches. If you want two match days run together, you should be able to do it with the limit of 18 matches (limit=18). If that doesn’t work, I’d need to see your match list for another option.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Show next match in widget doesnt work, Translation Error’ is closed to new replies.