User Tools

Site Tools


installation

This is an old revision of the document!


Installation

Stack is a fully customizable TCG script, and it is somewhat different from other or current trading card game scripts, so please read the documentation in its entirety to know how to install, configure and use Stack to manage your TCG.

The usage of Stack will allow you to add basic pages for your TCG such as information about your TCG and such through the admin panel—pretty much a content management system like WordPress! However, there are some complex PHP scripts that aren’t allowed to be fully hosted via the database, hence, Stack comes with a list of snippets or plugins that you can add on your page, which will then be explained further.

Pro-tips and Hints

  1. Just like any other scripts, I will do my best to fully explain these documentations as neatly and as concise as possible for both installing and using Stack for your TCGs. Please do keep in mind that Stack is different from other scripts there is, so make sure to read the entirety of this documentation.
  2. Once Stack has been installed and you're logged in on the admin panel, kindly read through whatever instructions there is on the documentations before you change anything. Although most of the input fields have their specific guidelines, they are brief and only stands as a reminder/notice. If you think a certain part of the script should be explained more, please feel free to suggest it to me through our community forum.
  3. Before converting TCGs that uses MyTCG or any other script to Stack, backup your databases first! You can do this by using phpMyAdmin or similar from your host and then Export the tables you have for your TCG. If you don't have access to your database, you will have to contact your host.

Fresh Installation

If this is your first time installing Stack CMS, carefully follow these step-by-step instructions.

  • Create a database first to use for Stack. You can do this via your server's control panel under the MySQL Databases option. If you don't have any control panel access, contact your host to make the database for you. Make sure to remember your database credentials since you will be needing them later on.
  • Download the latest version of Stack from the website. Unzip or extract the file/archive to a temporary location on your hard drive. The unzipped archive must have the following structure:

  • Go to the /admin folder and then open the class.lib.php file. Change the variables to match your database settings. If you don't know what the values of the database variables are, ask your host for these. Below are the following explanation about these variables:

    $db_server = 'localhost';        // The database server, usually localhost
    $db_user = 'myUsername';         // The username for your database
    $db_password = 'myPassword';     // The password for your database
    $db_database = 'stack_db';       // The name of your database

    Please do keep in mind that your host/account's database server is usually localhost by default. However, some hosting providers have different database servers, like DreamHost—which is dependent on your host's domain (e.g. mysql.domain.tld). So, if localhost doesn't work for you and the script tells you that it can't connect to the server, ask your host for the correct database server.

  • Copy all the files and folders of the unzipped archive into your website's root path where you want to run your TCG. Kindly take note that Stack's admin panel is located at the /admin folder, so all the PHP files outside this folder is what will be displayed on your main TCG's site.
  • Once done, direct your browser to run the /install folder and then follow the 2-step installation to setup your TCG. The supposed URL to run the install should be:
installation.1753093415.txt.gz · Last modified: by paperains