adurotum: (You just do it like this.)
Ten ([personal profile] adurotum) wrote in [community profile] pairings_trade2013-08-07 01:14 pm
Entry tags:

MOAR CODE and also trades?!

Sup Pairings!

Ten rolling through again with another batch of code for those using websites to host their cards. I have them held in a folder here, but I'll also link each set of instructions below in case you're looking for something specific! I've also updated some of the code I linked before, so if you installed any code earlier, I would recommend re-installing them and re-reading the guides to make sure you've got the most up-to-date version.

Displaying ships on your collecting page I THINK I added in selecting your ship type and fixed a spacing issue since the last time I posted this code.

Displaying all 60 cards in an OT3 on your collecting page New code, I think! Handy for OT3 collectors who want to see all the cards they need for an OT3 at once.

Displaying ships on your mastery page I literally finished this one just this morning, and unfortunately I don't have a good number of ot3s/repeated mastered decks to properly test this one out. So! If you have repeated mastered decks and/or OT3s mastered, I'd really appreciate it if you gave me feedback on this code and whether or not it runs properly. as another note to mod-types, please ignore the mastery pairing for the ot3, I needed something to test out the display and didn't have any ot3s mastered yet 8( The cards displayed here don't add to my card count and I'll take down this example ot3 in a week.)

EDIT: If you were interested in having quotes displayed with your masteries/collecting decks, I drafted up two mini guides on how to alter your code to allow for quotes.

You can see examples of almost all the code on my site! If any of the code or my guides don't make sense/break your site horribly at any point, feel free to contact me through this post and I'll help clear things up. And because this is the trading comm and all, I am always open to trades! I'm especially looking for any gangsta decks (heels, tags, pallmall) so I can have a for-real ot3 mastery and lucky dog decks (luckydog x5, maddog, smuggle, assault) for... reasons...

Coding-wise, I'm going to take a little break in order to catch up on graphics and other things, but I'll be tackling mass decks next. If there's any other code you'd be interested in having, I'm open to suggestions! Thanks for your time o7

netbug009: Colors TCG - Netbug (Default)

[personal profile] netbug009 2013-08-07 08:45 pm (UTC)(link)
WHY ARE YOU SO AWESOME

(no subject)

[personal profile] netbug009 - 2013-08-08 00:26 (UTC) - Expand

(no subject)

[personal profile] netbug009 - 2013-08-08 01:30 (UTC) - Expand

(no subject)

[personal profile] netbug009 - 2013-08-13 02:06 (UTC) - Expand
cureelliott: (Default)

[personal profile] cureelliott 2013-08-07 11:46 pm (UTC)(link)
my page is so beautiful now and it's all thanks to you ;___;

(no subject)

[personal profile] cureelliott - 2013-08-07 23:59 (UTC) - Expand
needles: (emma; the promised neverland) (Default)

[personal profile] needles 2013-08-08 12:35 am (UTC)(link)
This is awesome! Thank you so much for all your hard work. I was wondering, would it be possible to have alternate text on the mastery/collecting pages? LIKE instead of the ship itself (ex Hope/Eldarian) it could be... well anything else (ex I'M HERE SOBA NI IRU KARA) or something. I ask because I'm one of those losers who associates her ships with song lyrics and it'd be neat if I could my mastery post over to my page yet keep that aspect of it. If not then please don't stress yourself out over it, I was just curious ♥

Have a free card for all your hard work uwu

(no subject)

[personal profile] needles - 2013-08-08 02:28 (UTC) - Expand
sujini: (ruki)

[personal profile] sujini 2013-08-08 03:49 am (UTC)(link)
I've no need for the codes but I want to drop by and say YOU ARE SO AWESOMELY WONDERFUL. because of you and your wonderful codes I *may* end up using something other than manually updating my trade post *teehee*

[personal profile] ankari 2013-08-24 04:40 am (UTC)(link)
TEN I'M SORRY FOR THIS i'm having trouble :( :( :( :( because since our etcg didn't come pre-installed, I installed the mastery mod myself and. I don't have the exact line you said to replace in step 2 /o\ otl stuck from the beginning can you help us i don't want to break something when i won't even know where to being to fix it

i'm copying my mastered.php code in a textarea... and i am... very sorry for this. i will shower you in appreciation cards later

(no subject)

[personal profile] starrytear - 2013-08-24 05:09 (UTC) - Expand

(no subject)

[personal profile] starrytear - 2013-08-24 05:29 (UTC) - Expand

(no subject)

[personal profile] ankari - 2013-08-25 22:11 (UTC) - Expand

(no subject)

[personal profile] ankari - 2013-08-25 23:54 (UTC) - Expand
orangepeels: (kurobas | satsuki!!!!)

[personal profile] orangepeels 2013-08-24 05:45 am (UTC)(link)
Hi Ten!!

I have some pre-existing badges already set up, herE: http://orange.sayhellotomark.com/tcgs/pairings.php?mastered

So if I were to replace my mastery codes with what you have here, what code would I use to show the decks I've already mastered (let's "gurrenxlagann" as an example)? Something like:



??

Thanks for the hard work~

(no subject)

[personal profile] orangepeels - 2013-08-24 06:22 (UTC) - Expand
inarticulate: Nancy from Enchanted (technology; beh)

[personal profile] inarticulate 2013-08-24 07:27 pm (UTC)(link)
Ten, slight problem that is me failing at PHP-- when I C&P'd your code, it broke my page? Something about a t string? 8|a I don't know enough about PHP to troubleshoot it myself, and my priority is page not being broken, so I just deleted the new code (pairings.php step) and everything seems to work fine, but I'm not quite sure how I managed to mess up C&Ping. Is there anything I can keep an eye out for in terms of that kind of error and the fixing of it when I try again? :(a

(no subject)

[personal profile] inarticulate - 2013-08-24 19:41 (UTC) - Expand
orangepeels: (Default)

[personal profile] orangepeels 2013-09-02 06:50 pm (UTC)(link)
SDFLKDSGA THANK YOU TEN I FINALLY SET UP MY PAGE ;;; it looks great~~ :DDD
kippi: My FFXIV character looking at a distant sunset (Default)

[personal profile] kippi 2013-09-10 11:12 pm (UTC)(link)
I'm sorry but I don't have the stuff you say to replace in step 2 sobs. I checked func.php, mastered.php, and pairings.php and none of them have it! I checked what you told ankari to replace but none of them have that either? Would it be too much trouble to help me figure out what I'm supposed to do?

(no subject)

[personal profile] kippi - 2013-09-10 23:41 (UTC) - Expand

(no subject)

[personal profile] kippi - 2013-09-10 23:47 (UTC) - Expand

(no subject)

[personal profile] kippi - 2013-09-10 23:57 (UTC) - Expand

(no subject)

[personal profile] kippi - 2013-09-11 00:02 (UTC) - Expand

(no subject)

[personal profile] kippi - 2013-09-11 00:10 (UTC) - Expand

(no subject)

[personal profile] kippi - 2013-09-11 01:17 (UTC) - Expand
saya: (BeruBara - Andre&Oscar (noooo))

[personal profile] saya 2013-09-24 05:02 pm (UTC)(link)
wanted just to say you are awesome
managed to install the first mod (will probably do the second mod, when the time comes when one day i will do ot3)

(no subject)

[personal profile] saya - 2013-09-25 06:13 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-09-25 06:39 (UTC) - Expand
saya: (Simon's Cat - Cat (uhn))

[personal profile] saya 2013-10-16 03:15 pm (UTC)(link)
HI! Sorry for the bother.
I'm trying to install the code for the showing the mastered decks (I finished one and am waiting for the approval). I thought to prepare myself and install the code, just the otp not ot3, ot3 will come later one day when I manage to get the 60 cards.

I did everything but I think I broke my code because
http://tcg.darkestsoul.net/parings.php?mastered <- it should show at least the headers, but it doesn't, so I think I did something wrong °_°

I have the thing for recalling the func in the header, and i have the code at the beginning and end page for footer. What am I doing wrong?

Thank you for your patience

(no subject)

[personal profile] saya - 2013-10-17 05:35 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 05:56 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 06:10 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 06:22 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 06:27 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 06:33 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 06:45 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 06:56 (UTC) - Expand

(no subject)

[personal profile] saya - 2013-10-17 07:02 (UTC) - Expand
majou: (Default)

[personal profile] majou 2013-10-28 08:11 pm (UTC)(link)
oooh i'm currently in the process of fixing up my trade post on needtakehave and this has helped a lot, so thank you! i have a question though.

how do i get blank cards (the 00s) to show up as well?

edit: alsooooo i need help with this error... here is my html for func.php if that'll help any. sorry for the trouble, and thanks in advance!
Edited 2013-10-28 21:45 (UTC)

(no subject)

[personal profile] majou - 2013-10-28 22:07 (UTC) - Expand

(no subject)

[personal profile] majou - 2013-10-28 22:12 (UTC) - Expand

(no subject)

[personal profile] majou - 2013-10-28 22:21 (UTC) - Expand

(no subject)

[personal profile] majou - 2013-10-28 22:37 (UTC) - Expand

(no subject)

[personal profile] majou - 2013-10-28 22:52 (UTC) - Expand

(no subject)

[personal profile] majou - 2013-10-28 23:01 (UTC) - Expand
eat: <user name=majorminus site=livejournal.com> (Default)

[personal profile] eat 2013-11-10 02:50 pm (UTC)(link)
this is like three months belated but wow you're super amazing for this, i jsut set up my site today and LMFAO YOU'RE A GODSEND so i just wanted to say thanks and you're great! ♥♥
portaling: (Default)

[personal profile] portaling 2014-01-15 08:10 pm (UTC)(link)
MONTHS BELATED BUT I had a question!

I want to collect the same deck as a ship (so, I want to collect ariadne-ariadne, since I doubt Shadow Labrys will ever get her own deck). But when I try and use your code, it just shows the cards that I've already collected and files the rest of them as "doubles", even if they're two individual collecting decks in my collecting section on etcg. Do you have any idea how I could fix this doubling problem?
portaling: (Default)

[personal profile] portaling 2014-01-15 08:11 pm (UTC)(link)
"shows the cards that I've already collected" as in, if i have 01, 01, 03, 04 collected it only shows 01, 03, 04 and then files 01 as a double, and not as a separate deck's card

(no subject)

[personal profile] fakejapanese - 2014-04-13 16:32 (UTC) - Expand

(no subject)

[personal profile] fakejapanese - 2014-04-13 16:56 (UTC) - Expand

(no subject)

[personal profile] portaling - 2014-04-16 22:50 (UTC) - Expand
akumanomiyu: (Default)

[personal profile] akumanomiyu 2014-04-13 03:18 pm (UTC)(link)
Hi! Sorry for bothering you but I have a problem with your mastery code °-°
If I click on my mastery badge I see this error:
Fatal error: Cannot redeclare get_logs() (previously declared in /home/zerograd/public_html/miyu/func.php:122) in /home/zerograd/public_html/miyu/func.php on line 136

I tried to paste everything from the start a few times (I always keep my old file before editing something) but the result is the same. I even asked the help of a friend more adept than me with coding but she couldn't tell me what it's wrong T_T
My page is here: http://miyu.silverblood.net/pairings.php

I can zip you my func and pairing files if you need them.

(no subject)

[personal profile] akumanomiyu - 2014-04-13 22:42 (UTC) - Expand

(no subject)

[personal profile] akumanomiyu - 2014-04-14 12:28 (UTC) - Expand
preternatural: (Default)

[personal profile] preternatural 2014-05-07 10:07 pm (UTC)(link)
Hi Ten! I've mostly gotten the code to work, but I'm getting an error in my easyTCG installation for all of my TCGs after editing mastered.php -
Parse error: syntax error, unexpected T_ELSE in /home/needtake_jen2/public_html/diamond/etcg/mastered.php on line 290.

I'm not sure what's going on with it, but I can't get the menu to open at all.

I've got a pastebin of my code here. Thanks, and so sorry to be a bother uwu

(no subject)

[personal profile] preternatural - 2014-05-08 03:55 (UTC) - Expand

(no subject)

[personal profile] preternatural - 2014-05-08 12:29 (UTC) - Expand

(no subject)

[personal profile] preternatural - 2014-05-12 12:15 (UTC) - Expand