Install
HOW TO CONFIGURE STHS for SIM HOCKEY LEAGUE WEB PORTAL
- Buy a copy of SimonT Hockey Simulator at http://sths.simont.info
- Create your STHS league with the game. Make sure you enter the teams CITY name and PROTEAM NAME separately. That’s important for the web portal to function properly.

- Enable the XML export in the OUTPUT settings. The XML will go into the “CSVXML” folder of your game directory. Now your ready to move the XML to your website.

HOW TO SETUP SIM HOCKEY LEAGUE WEB PORTAL
- Get Domain and a webhosting package that supports PHP 4 or higher and a MySQL database 4 and higher. Web hosting can be purchased as low as $3.99 per month through GoDaddy.com
- Create the MySQL database. Name it `simhl`. If you want to use another name for the database then go into the "Database Backup" folder and open the "SIMHL-Database.sql" file up in Notepad. Rename the database from `simhl` to your new name on lines 11 and 13.
- Log into your MySQL client or website site and "Import" the 'SIMHL-Database.sql' file. That will create the database tables on your website.
- Set up your PHP database connection by going into the 'Connections' folder and open 'simhl-setup.php' in Notepad or any HTML editor. Fill in the proper username and passwords in the following variables.
$hostname_simhl = "10.0.0.1";
$database_simhl = "SIMHL";
$username_simhl = "USERNAME";
$password_simhl = "PASSWORD";
Also in this file you need to enter your;
Domain Name (Example http://www.simhl.net)
Site Name (Example, "National Hockey League")
Administrators E-mail address
Message Board URL (If left blank, no link will display)
The Administrator account that has has full power over the site
Final Steps
- Once all the previous steps are finished, go to your website. The SIM Hockey League web portal should be active at this point.
- Log into the site with the Administrators username and password that you set up in the 'simhl-setup.php' file.

- Go to the ‘Seasons’ page to create the initial season for the league.
- Go to the ‘Upload Files’ page to upload all the XML files that the STHS generated. This is how the site is updated.
Installation Video