Forum Replies Created
-
AuthorPosts
-
Thanks Mark. The challenge is that Total Points is not an available field under Update Records, so we can’t manually enter the Total Points as there is no place to enter them.
Hi Mark,
The mstw_league_schedule_2 did the trick for our current needs. I appreciate you looking into this for us.
-OG
Thanks Mark. You are correct on the time/result. Previously, we would hide the time column on mobile devices (to make the schedule tables more mobile-friendly) even before the game, so having the two columns made sense, but I do think having them as one column makes sense.
As far as column order, the example you provided has DATE, HOME, VISITOR, TIME/SCORE, LOCATION much like ours. However, we can’t order the columns to operate as DATE, VISITOR, TIME/SCORE, HOME, LOCATION. Basically, we want to have VISITOR before HOME, because our audience is used to the Home team/venue being after the Away team.
When I disable the LMAO plugin, the schedule table does reorder to DATE, VISITOR, TIME/SCORE, HOME as I have dictated in the columns order on the Schedule Tables dashboard, but as soon as I reactive the LMAO plugin, the frontend re-orders back to DATE, HOME, VISITOR, TIME/SCORE, so I do think there might be a bug introduced through the ‘meets’ capability.
-OG
November 28, 2023 at 8:32 am in reply to: Adding Goals For Per Game and Goals Against Per Game to Standings Table #7219Hi Mark,
Thanks for the reply. You are correct in assuming that these fields would not impact the standings order. They are for display purposes only, however, they would ideally be calculated by the plugin using the autofill feature.
I called them Goals For Per Game and Goals Against Per Game (as I didn’t want to cause confusion with the Points system used in LM which references points earned for W/L/T). In basketball, Points Per Game (PPG) and Opponents Points Per Game (OPPG) are both standard statistics used by all the major news orgs/leagues. Please some examples below (some of the sites use different names for the category like PTS/G).
ESPN, CBS Sports, NCAA, NBA
Hopefully this makes sense.
-OG
Hi Mark,
This solution of updating the rank in the Records section will work in a pinch, and I like it’s flexibility for specific tiebreaker scenarios, especially late in the season.
During the season, however, having to manually update the rank numbers, partially diminishes the value of the automated standings, because there would still be a manual element to the standings table updates.
I think our solution will be adding PHP that just puts the row number in the specific row on standings tables. So if we have 7 rows, the first column would look like…
1
2
3
4
5
6
7Because the standings are updating automatically correctly, those numbers being display-only/static in the table, shouldn’t be an issue.
Hi Dan. We had the same idea and it possible through the shortcode incantation.
For the date you can add,
date_format='XXX'
as well astime_format='YYY'
.You can replace the XXX and YYY with a string. This is a helpful guide: https://www.php.net/manual/en/datetime.format.php.
For example, we wanted Sat 11/25 as our date, so we used
date_format='D n/j'
.You don’t need to know any code, because you can bake this into your shortcode, as seen below.
[mstw_league_schedule_table league="boys-basketball" season=2023 show_nonleague=1 show_meets=0 date_format='D n/j' time_format='g:i A']
Hope this helps!
-
AuthorPosts