WordPress.org

Forums

LeagueManager
[resolved] Show next match in widget doesnt work, Translation Error (21 posts)

  1. Briesmi
    Member
    Posted 1 year ago #

    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!!

    https://wordpress.org/plugins/leaguemanager/

  2. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. Briesmi
    Member
    Posted 1 year ago #

    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.

    Thanks!!

  4. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    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...

  5. Briesmi
    Member
    Posted 1 year ago #

    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!

  6. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    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...

  7. Briesmi
    Member
    Posted 1 year ago #

    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 ;(

  8. Briesmi
    Member
    Posted 1 year ago #

    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.

    Greetings!

  9. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  10. ravanta17
    Member
    Posted 1 year ago #

    Sorry,
    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?

  11. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  12. ravanta17
    Member
    Posted 1 year ago #

    This is the link page of the my blog
    http://www.crlazio.info/wp/?page_id=80

    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

  13. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  14. ravanta17
    Member
    Posted 1 year ago #

    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).

  15. ravanta17
    Member
    Posted 1 year ago #

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

  16. LaMonte Forthun
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  17. ravanta17
    Member
    Posted 1 year ago #

    The function working after the new version di wordpress. And in the documentation, after exict the Parameter limit, now it's disappear

  18. ravanta17
    Member
    Posted 1 year ago #

    Sorry for my mistakes

    The shortcode working before the new version of wordpress. And in the documentation before exict the parameter "limit". Now it's disappear.

  19. Briesmi
    Member
    Posted 1 year ago #

    i went back to a earlier version, and now all shortcodes are working fine!

    forgot the latest update , its alpha!!

  20. newyorkjenn
    Member
    Posted 9 months ago #

    Hello,

    Sorry for jumping on this thread but I am having the same problem. My matches are not showing in the widget, but my standings are. It is hard to understand this thread so I am hoping there is an easier explaination or help....

    Thanks a ton

  21. djeclipse
    Member
    Posted 8 months ago #

    I am finding the same thing. Schedules show in the widget but not matches.

    I am also not able to view the full match schedule on the site, just the upcoming matches.

    Is there a fix for this?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • LeagueManager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.