Ten (
adurotum) wrote in
pairings_trade2013-08-07 01:14 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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

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

no subject
no subject
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
(no subject)
(no subject)
no subject
Have a free card for all your hard work uwu
no subject
How comfortable are you with coding? If you're okay with it, I can point out exactly where and what to add where, otherwise I can just do a full copy/paste of all the code already edited for you on your own doc with instructions.
(no subject)
Adding quotes to masteries
Addding quotes to collecting
(no subject)
no subject
no subject
I hope, if you do end up using any of the code here, they serve you well.
no subject
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
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
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
Uhh, how is the mastered paired deck being saved in your mastered section? The code I designed works in that the two singles decks are 'mastered' separately in the system then joined together with the code... if that makes sense...
(no subject)
(no subject)
no subject
no subject
Mmm, I think I actually need to see the page in its broken version to know for sure what went wrong; you changed all the calls to my headers/footers/etc to yours when you changed it, right?
(no subject)
(no subject)
no subject
no subject
no subject
no subject
I see you're on needtakehave as well, did you have etcg pre-installed or install it yourself?
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
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
(no subject)
(no subject)
(no subject)
no subject
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
Have you already doublechecked and made sure you followed all the steps, including notes about specific things that need to be changed (ie header/footer calls, using the correct function calls, etc)?
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
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!
no subject
And hmm, I don't know if this was just a c/p thing that happened from you c/ping things into pastepin, or copying things out of the doc, but make sure these lines:
look like this:
It looks like, from my side, parts of the code got put onto new lines when they should be one continuous line... if that makes sense? The code reader will read them as different pieces of code if that's the case and that would be where your error is coming from.
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
no subject
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?
no subject
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
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
(no subject)
(no subject)
(no subject)
(no subject)
no subject
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
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)