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.
If this is your first time installing Stack CMS, carefully follow these step-by-step instructions.
/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.
/admin folder, so all the PHP files outside this folder is what will be displayed on your main TCG's site./install folder and then follow the 2-step installation to setup your TCG. The supposed URL to run the install should be:http://yourdomain.com/install/ <- If you have your TCG on a domain http://tcg.yourdomain.com/install/ <- If you have your TCG on a subdomain
/install folder and its files.If you have Stack CMS currently installed and you wish to upgrade it to a newer version, carefully follow these step-by-step instructions.
http://yourdomain.com/upgrade/ <- If you have your TCG on a domain http://tcg.yourdomain.com/upgrade/ <- If you have your TCG on a subdomain
If your upgrade is successful, it should show a prompt message and the list of upgraded sections with a as a success indicator. Then click the Delete button to delete the /upgrade folder and its files for security purposes.