the problem & context

the problem: this is really just a danni and rose problem. we have all these pretty cards that NO ONE should touch. do not touch my pretty cards. do not try and take my pretty cards. but how do i MAKE SURE no one can make a trade for these pretty cards, and that they don't pull into my collecting every time i remaster superhumantaeyong?

the solution: edit every single file in etcg to make this new category. this one is a lot, so i really don't recommend it unless you're desperate like me.

caveats: it's a lot. you're tampering with a lot of things you probably shouldn't. that's about it.

the mod

  1. RIGHT NOW. BEFORE YOU DO ANYTHING. copy these files into a new folder for safekeeping. if anything goes wrong, which it likely will, this is your backup. these files:

explanation for those curious: trade.php, collecting.php, newtrade.php are all files that pull cards from your existing categories. cards.php is where you set priority for categories

explanation for step 2: you're literally making the new category

2.1

in your /etcg/cards.php file (the non-backup one), find this line (for me in new etcg, line 36):

else if ( $priority != 1 && $priority != 2 && $priority != 3 ) { $error[] = "Invalid priority value."; }

change to

else if ( $priority != 1 && $priority != 2 && $priority != 3  && $priority != 127 ) { $error[] = "Invalid priority value."; }