How to Install

Follow the instructions below to successfully install STHS v2 Web Portal.
 

 

How to upgrade to STHS v2 Web Portal

You can upgrade from version 1 web portal, but you need to have all the upgrades installed to 2.5.   The database needs to be completely upgraded.  If you missed one upgrade, the upgrading process will fail.

So you can do two things, open up all the SQL files in all the upgrades and run each one one your database prior to backing it up.  Then back it up and then run the upgrade.

If you don't feel comfortable doing this, then you can buy the Upgrading Service offered.

 

 

How to configure STHS v2

  1. Buy a copy of SimonT Hockey Simulator at http://sths.simont.info
     
  2. 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.
     
  3. Enable the CSV/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 configure STHS v2 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 Byet Hosting.
     
  • 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.
     
  • 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)

 

Final Steps

  • Go on your FTP client and go and make sure you have 'READ' and 'WRITE' permissions  checked on the 'File' and 'Images' folders.

    VIDEO: FTP File and Folder Permissions
     

  • Once all the previous steps are finished, go to your website.  The SIM Hockey League web portal should redirect to an Install screen and ask you to click the 'Install' button.
     
  • After it is installed, 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 CSV/XML files that the STHS generated.  This is how the site is updated.

 

Recap Our Steps

  1. Backup old database offline
  2. Backup old website offline
  3. remove old website off live server
  4. Download new portal
  5. extract files from zip
  6. open simhl-setup.php
  7. enter the host, username, password and domain into it and save it
  8. upload all new files to www
  9. go to your www and it would give you an install screen
  10. you click the install button

 

Installation Video