Shoal Summit Solutions › Forums › MSTW League Manager Plugin (& Add-ons) › Am I doing something wrong?
Tagged: league manager
- This topic has 22 replies, 3 voices, and was last updated 8 years, 10 months ago by Mark.
-
AuthorPosts
-
February 12, 2016 at 5:56 am #3509
If I add a game…say Alabama vs Auburn, why doesn’t that game show up in Auburn’s schedule as well?
February 12, 2016 at 6:41 am #3510Are 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.
-MarkFebruary 12, 2016 at 6:47 am #3511I 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?
February 12, 2016 at 6:51 am #3512I 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…
February 12, 2016 at 11:31 am #3513You 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).
February 12, 2016 at 11:45 am #3514The 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]
February 12, 2016 at 12:29 pm #3515Thanks 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?
February 12, 2016 at 8:46 pm #3516Not 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,
-MarkFebruary 25, 2016 at 6:32 am #3523I’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.
February 25, 2016 at 7:41 am #3524Have 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.
February 25, 2016 at 4:29 pm #3525You 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,
-MarkFebruary 25, 2016 at 5:48 pm #3526Regarding 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
February 26, 2016 at 1:47 pm #3527I 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
February 26, 2016 at 1:48 pm #3528Wordpress (latest version)
PHP Version 5.4.45
February 26, 2016 at 2:46 pm #3529Very 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.
-
AuthorPosts
- You must be logged in to reply to this topic.