Thread: StatsLab13
View Single Post
Old 05-01-2013, 01:48 PM   #99
congotim
Minors (Rookie Ball)
 
Join Date: Aug 2012
Posts: 48
Quote:
Originally Posted by fhomess View Post
Can you clarify why you need to have the division not specified? If you're in a league with only 1 division, there is still a division identifier for the 1 division that exists. I can see a desire to add a wild card standings option. What other use case is there that you're looking for.

As for top performers, there's always a question of exactly what you mean by that. Here's a sample of a stat leaderboard:
Code:
widget.php?league_id=100&sub_league=0&stat=vorp&topX=5
In this case, the sub_league is optional, so you could report on the entire league if you want. Use "pvorp" for pitcher VORP if that's what you're going for.

The reason for not having the division specified was that i wanted to show the full standings for the entire league, if possible. I am using this on the front page of my home screen (Championship League Baseball | Where the Winning Doesn't Come Easy). Right now I have not been able to find a wordpress widget that displays php for me so I am using iFrames which I hate... That said, I would love to be able to use one or two iFrames rather than 6.

As for the stats, I like being able to list guys by VORP. Is there any way to get it to show the stats too or am I out of luck? One final question that may limit firther questions: Is there a list of usable functions for the widgets.php page so I can tinker some on my own. I have no idea what does or doesnt work other than what you have showed me so far
congotim is offline   Reply With Quote