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

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)
majou: (Default)

[personal profile] majou 2013-10-28 10:07 pm (UTC)(link)
ah okay thank you!

and it's all showing up as one line in my notepad file, so i don't think that's the problem :(a i c/ped everything just as was instructed, so i'm not sure where i could have gone wrong...
majou: (Default)

[personal profile] majou 2013-10-28 10:21 pm (UTC)(link)
oh woops aslaf TY FOR CATCHING THAT... but yes i just fixed those, and the error is still up
majou: (Default)

[personal profile] majou 2013-10-28 10:37 pm (UTC)(link)
this is the last chunk of html there. line 919 is the very last line with the ?> and im not really sure what to do with that... i tried deleting it, but then the bracket above it was the error, etc.
majou: (Default)

[personal profile] majou 2013-10-28 10:52 pm (UTC)(link)
okay, when i do that i get this error:

Fatal error: Cannot redeclare show_masteredpair() (previously declared in /home/needtake_angie/public_html/healing/func.php:648) in /home/needtake_angie/public_html/healing/func.php on line 754

and then i remove one } and get the previous error about the last line again :(
majou: (Default)

[personal profile] majou 2013-10-28 11:01 pm (UTC)(link)
oh god how did that happen... but you're right, that totally fixed it. I'M SORRY FOR WASTING SO MUCH OF YOUR TIME WITH THIS but thank you so much for helping me, i really appreciate it ahhhhh u_u;;; ♥