|
||||
| ||||
|
|||||||
| FHM Mods This is the place to check for mods for both FHM12 and previous versions. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Major Leagues
Join Date: Oct 2018
Location: Langley, BC
Posts: 376
|
FHM Web Based Index
I help run a site where users are able to create a player that is used in FHM sims (https://simulationhockey.com). We switched from STHS to FHM6 a couple years ago and recently converted to using FHM8. Most players don't own FHM, they can't really see what happened in the game, so we rely on a web app that we created to show them the results of games, stats, standings, etc... Worth mentioning that the site is free, no one is making money through this site, it is just for fun.
We have 4 leagues running within this index, but they are all separate save files. I will provide some screenshots, but if you want to browse around yourself here is the link: https://index.simulationhockey.com/ For those interested in the code behind this site you can check it out on github here: https://github.com/esilverm/shl-index-ui That code is for the whole front-end, but might not have a lot of detail about how we import csv files into our mysql database, or what views and procs we have built on the DB side. If someone is interested in trying to make use of this feel free to reach out to me via PM and I can try to show you how it all works. Here are some screenshots of how it looks: ![]() ![]() ![]()
|
|
|
|
|
|
#2 |
|
All Star Reserve
Join Date: Oct 2021
Posts: 862
|
As a relatively new user at https://simulationhockey.com/, I can attest to just how great a tool this index truly is. Since creating a player on site, I've found myself referring to the index on a regular basis and have discovered it to be efficient, elegant and extremely user friendly!
![]() Big shout out to Teddy for being so gracious to share the source code! I know of a great many FHM leagues that could truly benefit from this! So do yourself a favor and check it out! ![]() Last but not least, I'm getting a strong vibe I know so well. It must be a Vancouver vibe! |
|
|
|
|
|
#3 |
|
Major Leagues
Join Date: Jan 2019
Posts: 443
|
Just something about how to '' import '' date in it.
Its kinda same way as STHS does or took way more time to update the index ? |
|
|
|
|
|
#4 |
|
Major Leagues
Join Date: Oct 2018
Location: Langley, BC
Posts: 376
|
This was a very complex project, it was easily several hundred hours to create the import scripts, database schema/views/procedures, and create the whole frontend. We are using node.js, mysql and a bit of bash for this project, it is more of a modern experience than what STHS offered. STHS's output was already HTML, so it was viewable without any additional work, but it doesn't look that great because it's just basic HTML. Someone had previously made a script to convert the csvs from FHM4 and earlier into html similar to what STHS would output, but there were so many changes in FHM5 that it stopped working.
|
|
|
|
|
|
#5 |
|
Banned
Join Date: Jul 2012
Posts: 70
|
This is absolutely awesome guys!
|
|
|
|
|
|
#6 |
|
Minors (Double A)
Join Date: Mar 2013
Posts: 131
|
It would be great to have a tool to convert those CSV into html or that tool you talking about in FHM 4 if someone could update this tool could be great too.
I wish i can understand those CSV files and understand how work a DB.... im doing everything manually in my league and its a good amount of time every year... |
|
|
|
![]() |
| Bookmarks |
|
|