Am I doing something wrong?

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #3509
    Gridiron
    Participant

      If I add a game…say Alabama vs Auburn, why doesn’t that game show up in Auburn’s schedule as well?

      #3510
      Mark
      Keymaster

        Are you using League Standings or League Manager? (I realize I have not established a forum for the latter.) If we are talking League Manager, does the game show up in League Schedule? Check that you are using the same league and season for the league and team schedules.
        Let me know.
        -Mark

        #3511
        Gridiron
        Participant

          I am using League Manager. I was wondering why I couldn’t find a forum for League Manager…I assumed they were one and the same.

          Should I be using League Standings if I want schedules to populate from one team to another?

          #3512
          Gridiron
          Participant

            I am learning that the MSTW plugins are not as fully developed as I had hoped. We are launching a major sports site with legit writers and are hoping to pull live data such as schedules, rosters, scores, etc. from Sport Radar using the MSTW plugins.

            Should I be looking in another direction, or can these plugins be modified adequately to use on our site? I am not a php developer if you had not guessed…

            #3513
            Mark
            Keymaster

              You should not be using League Standings. It does not support schedules. Do you have a page with the broken short code for Auburn games? Or can you at least send me the exact short code you are using? If the league schedule is working I believe you are going something wrong for Auburn’s team schedule (short code).

              #3514
              Mark
              Keymaster

                The MSTW plugins do not support live data feeds from SportsRadar. I believe SportsRadar has a set of front end “widgets” that might give you what you want. I don’t know if they are WordPress widgets or not.

                SportsRadar also provides an XML data feed. The MSTW plugins could easily read, store, and display that data.

                FWIW, based on my experience with WP sports themes and plugins, and on what you have written, you are not going to get what your are looking for without a custom site – theme and plugins and custom code to glue everything together. You can probably get a 75-80% solution out of the box, but it sounds like you are looking for 100%.

                If you would like to kick some ideas around, send me an email with your phone number. [email protected]

                #3515
                Gridiron
                Participant

                  Thanks again for the response. While my boss is actually hoping to get 100%, we are realistically shooting for 80% 🙂

                  The plan was to parse the XML feeds and display that info on the site using MSTW. Have any of your customers done that successfully?

                  #3516
                  Mark
                  Keymaster

                    Not that I am aware of. But it’s no big deal. SportsRadar offers a collection of APIs. They claim to be RESTful and WordPress just introduced a built in core support for REST APIs. Some are apparently XML and some are apparently JSON (or both). That all may be goobly-gook to you, but it’s pretty standard and straightforward (once you’ve sorted through the devils in the details). SportsRadar offers a 90 day trial for developers with access to all data feeds. It certainly wouldn’t take that long to test out feeding Schedules & Scoreboards and/or League Manager. I’d be interested in supporting this for you if you are interested.
                    Regards,
                    -Mark

                    #3523
                    Gridiron
                    Participant

                      I’m sorry for disappearing…we are moving the site to a new theme and building an app at that same time so I’ve been a little busy.

                      I would very much appreciate your support in testing the connections between Sport Radar and MSTW. I discussed it with my boss and he wants to make it clear that we are not looking for a proprietary solution and anything we create in conjunction with Shoal Summit is yours to use as you please. It’s our opinion the WordPress plugin space is sorely lacking in dynamic data/feeds and if MSTW could package a plugin or series of plugins that help authors create feature rich sports sites you could probably corner that market. We’ve been searching high and low and MSTW is the closest we’ve come.

                      A little background…we are a collection of sportswriters and I’m a designer with some web development background. We want to create team pages that function similarly to the team pages on CBS Sports. http://www.cbssports.com/collegefootball/teams/page/FLA/florida-gators

                      Each team page should include a schedule, next/last game, standings, roster and related news. I can send a pdf screenshot of what I was given if it helps you visualize.

                      I’ve set up a test server on another domain at http://www.boilersports.com so I can test out the new theme and iron out bugs. I am installing your plugins today…maybe you can tell me which I should skip. I am currently planning on installing the league manager, schedules and scoreboards and teams rosters.

                      #3524
                      Gridiron
                      Participant

                        Have you seen instances of League Manager not being compatible with a theme? I’ve installed League Manager on two local dev installs with no issue, but when I try to install it on BoilerSports.com I receive this error: Parse error: syntax error, unexpected ‘[‘ in /home/boilers/public_html/wp-content/plugins/mstw-league-manager/includes/mstw-lm-update-records-class.php on line 631

                        If I comment out line 631-647 I can upload the plugin with no problem.

                        #3525
                        Mark
                        Keymaster

                          You can certainly accomplish all this (perhaps because I use sites like CBS Sports as models in developing the plugins), but it will take some work at the site/theme level to glue things together. League Manager should provide all your schedule and standings displays. Team Rosters can provide your roster displays. I know you don’t need League Standings, and am pretty sure you won’t need Schedules & Scoreboards.

                          Regards,
                          -Mark

                          #3526
                          Mark
                          Keymaster

                            Regarding the parse error: This is not a theme issue, it’s a WordPress/PhP issue. I found the error. It parses correctly on both my sites and your development box. So if I might ask, what versions of WordPress and PhP are you running on those boxes?

                            I have committed a patch to the development tree. You can download the development version from the League Manager Developers tab on WordPress.org You only need the mstw-lm-update-records-class.php file.

                            Thanks for catching this.

                            -Mark

                            #3527
                            Gridiron
                            Participant

                              I updated the mstw-lm-update-records-class.php file and now get this error.

                              Parse error: syntax error, unexpected ‘[‘ in /home/boilers/public_html/wp-content/plugins/mstw-league-manager/includes/mstw-lm-update-records-class.php on line 634

                              #3528
                              Gridiron
                              Participant

                                Wordpress (latest version)

                                PHP Version 5.4.45

                                #3529
                                Mark
                                Keymaster

                                  Very interesting. It works on both my sites. Line 634 on my version is:

                                  $meta_data['rank'] = each( $_POST )['value'];

                                  Does that match your version? There’s no syntax error I can see. each() returns an associative array with ‘key’ and ‘value’ elements.

                                  WordPress recommends using PhP 5.6. I wouldn’t thing that’s an issue, the each() function is not new. Have you tried to run on both your environments?

                                  Let me know.

                                Viewing 15 posts - 1 through 15 (of 23 total)
                                • You must be logged in to reply to this topic.