Skip to content

Counts tcg cards for trading. Works with eTCG by Bloo.

Notifications You must be signed in to change notification settings

savwiley/tcgCardCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tcgCardCounter

This little JS mod provides your site with a tool to count cards in the trade posts and in eTCG. Installation and customization is (or should be) very easy. If you have any problems, please send in an issue or feel free to contact me on Discord.

📥 Download Files

🛠️ How to install in Trade Posts

⚒️ How to install in eTCG

Install in Trade Posts

On site button On site counter

  1. Upload tradeCount.js to your site.

  2. On whatever pages you want the script to appear (or in your footer.php if you have one), input this before the last </body> tag with a link to the script you just uploaded:

<script src="SITE-URL/tradeCount.js"></script>

  1. Wherever you'd like your button to appear on your site, input the html below. I personally put mine at the top of my trading page and in trading piles.

<button class="cardCountButton">Card Counter</button>

  1. Now we add the css. Feel free to use this time to customize the look to however you prefer. Once that's done, it's time to install. You can either take the code that's in tradeCountStyle.css and paste it into the stylesheet you're already using (recommended) or you can upload the file to your site and link it in your header.php or at the top of any file you're using the mod. It would look something like:

<link rel="stylesheet" type="text/css" href="tradeCountStyle.css">

  1. Don't forget to reupload any edited file to your site.

  2. That should do it. If you have any problems, please send in an issue.

^TOP

Install in eTCG

eTCG button eTCG counter

  1. Upload eTradeCount.js to your site.

  2. In your site's eTCG folder, download footer.php.

  3. Make quadruple sure you back this file up to its current version BEFORE we start messing with it.

  4. Scroll down to the bottom and add this before the last </body> tag with a link to the script you just uploaded:

<script src="SITE-URL/eTradeCount.js"></script>

  1. Reupload your new footer.php file to the eTCG folder on your site.

  2. If something goes wrong, reupload the old footer.php you backed up a moment ago and make sure eTCG still works like it's supposed to before trying to fix the mod. If the problem persists, please send in an issue.

^TOP

About

Counts tcg cards for trading. Works with eTCG by Bloo.

Resources

Stars

Watchers

Forks

Packages

No packages published