EasyTCG is open-sourced software licensed under the MIT license.
Because the script utilizes the filter_var()
PHP function to validate emails and URLs, this script is compatible only with 5.2 and up. If you still want to use the script and you have some PHP know-how, you can go through the files and replace all occurances of filter_var() with a preg_match() equivalent, or remove it altogether at your own risk.
There are also known bugs for the filter_var()
function in PHP 5.2.13. If you have this version of PHP, you also will need to apply the modification mentioned above, or attempt to upgrade your PHP installation to a more recent version.
Follow these instructions if you are installing eTCG for the first time.
config.php
file (inside the 'etcg' folder). Change the database settings at the top of the file to match those of your eTCG database. You can also define your password salt. Treat your salt as a high security password (ie. long chains of random letters, numbers, and symbols are good). You wont have to remember your salt, so don't worry about that.func.php
to your trade post directory (NOT inside the admin panel directory). You can also upload trade.php
and tradeform.php
to this directory if you want to use the automated trade form.func.php
file, update the path to config.php
if you changed the name and/or location of your 'etcg' folder. install.php
(inside the 'etcg' directory) and follow the insructions on the page to set up your database. Remember to DELETE THIS FILE WHEN YOU'RE DONE.Follow these instructions if you are upgrading from an older version of eTCG. ALWAYS make a backup of your current files and database before attempting to upgrade
etcg/config.php
and etcg/install.php
files included in the download. You should continue to use your old config.php
file, and install.php
is only necessary for first-time installs - Do NOT attempt to run install.php
.