|
||||
|
|
FHM Mods This is the place to check for mods for both FHM11 and previous versions. |
![]() |
|
Thread Tools |
![]() |
#1 |
Minors (Double A)
Join Date: Mar 2007
Posts: 109
|
FHM2Reports - OOTP-Style Web Reports
Hey everyone,
Thought I would announce FHM2Reports, an online league web report backbone. I've got the bases of the web module covered, including the django-backed database setup and ready to go. Feature List (to be released as I develop): Team Page (w/ team stats, player roster) Player Pages (w/ ratings, stats) Team Schedule League Schedule Grid Draft Module (w/ log-in and draft results output) My intent is to get player pages followed by team pages live as the first release. I will begin work on the draft module after I create the basic reports framework. There's a plethora of other features I could (and intend) to add-on to this project, but I'm going to keep it simple to start. Feel free to chalk up any other modules/reports/etc. you'd like to see in subsequent releases and I'll throw them up on a proposed feature list. Attached is my hello world: displaying the LW rating for player 1. Yes, there's absolutely zero formatting, but from a programming perspective, formatting/UI is much easier than getting the LW rating to display =) Brett |
![]() |
![]() |
![]() |
#2 |
Minors (Triple A)
Join Date: Feb 2008
Posts: 254
|
As a prospective programmer I'll be very interested to see how your project develops. Good luck!
|
![]() |
![]() |
![]() |
#3 |
Minors (Triple A)
Join Date: Jun 2009
Location: Toronto, Ontario
Posts: 282
|
This would be very useful for any online league!
I definately look forward to this! Good luck! |
![]() |
![]() |
![]() |
#4 | ||
Minors (Double A)
Join Date: Mar 2007
Posts: 109
|
Quote:
Quote:
Thanks for the support guys. I'm just about finished with my player page template (skaters only so far). I'll be rolling that out tonight for my online league, will post link/pictures. If there's anybody interested in the project that has a good understanding of CSS styling and would like to help work on the CSS-side of the project, please PM me. My CSS is stuck in 2007 so the styling will be basic/not sexy for a while. |
||
![]() |
![]() |
![]() |
#5 |
Minors (Double A)
Join Date: Mar 2007
Posts: 109
|
Update: Basic player page created. Still need to work through CSS (obviously), along with what ratings to display. I'm not sure that all the ratings dumped from the CSV match what's in the game--I actually haven't even played the game yet, other than to create the initial league file for our online league, and to run a couple test sims for the purposes of testing this project.
|
![]() |
![]() |
![]() |
#6 | |
Minors (Triple A)
Join Date: Jun 2009
Location: Toronto, Ontario
Posts: 282
|
Quote:
I wish I could help in some way, but I am not qualified. Would this integrate with a league that has already started? |
|
![]() |
![]() |
![]() |
#7 |
Minors (Double A)
Join Date: Mar 2007
Posts: 109
|
So long as you can click the 'generate csv' in the manage online league menu (the one where you create/download team files) then yes. As of right now, the CSV doesn't generate a table of historical stats, so the player stats would only be from that season and forward. Once I get the base league/team/player pages set, I'll be creating my own historical stats module until they get around to generating more tables from the game's database.
|
![]() |
![]() |
![]() |
#8 |
Hall Of Famer
Join Date: Dec 2001
Location: San Diego, CA
Posts: 2,163
|
Very excited for this project! Subscribing!
__________________
|
![]() |
![]() |
![]() |
#9 |
All Star Starter
Join Date: Jan 2003
Posts: 1,964
|
How is this project going? There are some leagues starting up than might be able to make use of web reports.
Appreciate the efforts! |
![]() |
![]() |
![]() |
#10 |
Major Leagues
Join Date: Jul 2010
Posts: 461
|
I am very interested in this project. Was wondering if I take the csv the game creates and add to it previous stats from previous seasons, would your utility still be able to create the html pages?
|
![]() |
![]() |
![]() |
#11 |
Minors (Rookie Ball)
Join Date: May 2009
Location: Toronto, ON
Posts: 47
|
Definitely interested to learn more!
|
![]() |
![]() |
![]() |
#12 |
Minors (Rookie Ball)
Join Date: Oct 2015
Posts: 29
|
Oddly enough my original account lost it's posting permissions (and there's a support ticket that's been pending another response for a few days now). Here's where I'm at thus far: a little bit of styling.
CodePen - Crisp table |
![]() |
![]() |
![]() |
#13 | ||
Minors (Rookie Ball)
Join Date: Oct 2015
Posts: 29
|
Thanks! Quote:
I've only got the basic team and league pages to create, and I'll probably make a rudimentary player search function for the first release. I've got to make a script to convert some data that's dumped, however, because the current format of the CSV dumps is bugged. Quote:
The endstate of the utility would be to save the yearly stats as they're updated. If you have previous years' CSV dumps of the stats table, then we could get that inserted into the table, I'd just have to figure out a way to make it user friendly and automated. i.e. the process is easy, but not if you don't know jack about MySQL. =) Thanks! |
||
![]() |
![]() |
![]() |
#14 |
Minors (Rookie Ball)
Join Date: Oct 2015
Posts: 29
|
Not sure why it didn't post, but here's a link to the styling sheet I've been working on for most parts of the page (only the player page portion is shown).
CodePen - Crisp table Also, my original account doesn't have posting privileges anymore, and I haven't a clue as to why. I've been back and forth on a support ticket for a few days, and nobody seems to understand what the problem is. Last edited by Breich; 10-13-2015 at 04:05 PM. |
![]() |
![]() |
![]() |
#15 |
Minors (Triple A)
Join Date: Feb 2008
Posts: 254
|
That's a very clean looking page. Love it!
|
![]() |
![]() |
![]() |
#16 |
Hall Of Famer
Join Date: Apr 2011
Location: Frankenthal, Germany
Posts: 3,054
|
Looks great !!
__________________
I'm going to have to meet my Maker some day. And if He asks me why I didn't let this boy play, and I say it's because he's black, that might not be a satisfactory answer. Happy Chandler, 1947 ![]() ![]() ![]() |
![]() |
![]() |
![]() |
#17 |
Minors (Rookie Ball)
Join Date: May 2009
Location: Toronto, ON
Posts: 47
|
How's this coming along? Would we be able to use a no frills version of this? The last update with the styling looked great!
|
![]() |
![]() |
![]() |
#18 |
Bat Boy
Join Date: Jan 2013
Posts: 3
|
Great project, but i'm just curious....how can you read those dat files....
I'm a programmer and i just wonder how people outside the development team ca 'easily' read their database data and create in-game editors or something like you do. Lovely project, but if you can tell me how for curiosity i'll be glad :P |
![]() |
![]() |
![]() |
#19 | |
Minors (Rookie Ball)
Join Date: Oct 2015
Posts: 29
|
Quote:
|
|
![]() |
![]() |
![]() |
#20 |
Bat Boy
Join Date: Jan 2013
Posts: 3
|
You mean reverse-engineer to the exported csv files right?
Yeah i didn't remember to see the option to export csv data and what it do. :X |
![]() |
![]() |
![]() |
Bookmarks |
|
|