Arcane Wonders Forum
General Category => Website Support and Feedback => Topic started by: pixelgeek on November 17, 2013, 09:17:39 PM
-
Hey guys
As part of the SBB you will be able to post your spellbooks into the forum and have people view them and also view the cards.
To that end I have updated the forum's BBCode for the preview. Can people test to make sure that the previews appear and disappear when you mouse over them?
Some examples of the cards is the [mwcard=MWSTX1CKQ01]Sunfire Amulet[/mwcard].
There is also the [mwcard=MWSTX1CKJ02]Wizard's Tower[/mwcard] and [mwcard=FWE04]Force Crush[/mwcard].
Thanks
-
The pop-up should look like this.
-
BTW the code is usable by anyone you just need to know the card number for it to work
The format is
[mwcard=MWSTX1CKJ02]Wizard's Tower[/mwcard]
Make sure there aren't any spaces between the equal sign and the card number and you should be golden.
There will be a much easier way to do this in the near future but there isn't any reason why people can't play around now if they'd like :-)
-
The ones you posted work for me. Windows 7, latest version of Chrome.
Where can we look up the card numbers?
-
Where can we look up the card numbers?
Nowhere right now but I will ask Bryan if he is okay with me posting a list of card names and codes
This is the first part of integrating the SBB into the forum and you will soon be able to post entire spellbooks into the forum and have those previews pop up for the cards in the book
-
I just want to say that this is really awesome.
Oh, and they work fine for me. Windows 7, latest version of Chrome.
-
I did some more fiddling. Can people test the links in my original post to make sure that the cards are appearing with rounded corners and drop shadows?
Please force refresh your browser before testing to make sure that you have the most current style sheets and Javascript
-
They look perfect to me. Rounded corners and drop shadow = check.
-
I am running an ancient PC and the cards show up fine, but they have square corners. I am using Windows Internet Explorer, coal fired.
-
I did some more fiddling. Can people test the links in my original post to make sure that the cards are appearing with rounded corners and drop shadows?
Please force refresh your browser before testing to make sure that you have the most current style sheets and Javascript
Pixel. It appears that after the tag the text that follows is smooshed up against the last word between the tag. Look at the "and" after Wizard's Tower. It is correct in the source but not after it is interpreted.
There is also the [mwcard=MWSTX1CKJ02]Wizard's Tower[/mwcard] and [mwcard=FWE04]Force Crush[/mwcard].
-
I noticed pop ups for the Druid vs. Necromancer cards aren't showing up yet when I put in those codes.
-
I noticed pop ups for the Druid vs. Necromancer cards aren't showing up yet when I put in those codes.
The cards haven't been uploaded yet
-
It appears that after the tag the text that follows is smooshed up against the last word between the tag.
Its on my to-do list
-
I'd love to use these in forum posts, but it appears that I need to use some kind of card id and not the card name for them. Do I find those ids in the SBB, or is there an easier way to just say [popup=awesomecard] or something and just have that popup the awesomecard on hover?
-
I'd love to use these in forum posts, but it appears that I need to use some kind of card id and not the card name for them. Do I find those ids in the SBB, or is there an easier way to just say [popup=awesomecard] or something and just have that popup the awesomecard on hover?
I can add it to the SBB. I'm currently writing code for the new website and just waiting for the DvN card data to release a new version
-
@haslo
The card code you are referring too is at the bottom of each and every card, also included in the dataset of the Deck Editor in OCTGN. It is very simple to use.
What I really would like is a BB button on this screen that I am typing in.
-
What I really would like is a BB button on this screen that I am typing in.
It is on the list. :-)
-
@haslo
The card code you are referring too is at the bottom of each and every card, also included in the dataset of the Deck Editor in OCTGN. It is very simple to use.
_If_ I have the spellbook builder open in another tab. I just don't think that should be necessary :P I think there should be a button or something that allows me to type the card's name when I'm writing a forum post, and that then adds the correct BBCode for me, or I should be able to enter a BBCode that uses the card's name and not an arbitrary ID.
-
@haslo
The card code you are referring too is at the bottom of each and every card, also included in the dataset of the Deck Editor in OCTGN. It is very simple to use.
_If_ I have the spellbook builder open in another tab. I just don't think that should be necessary :P I think there should be a button or something that allows me to type the card's name when I'm writing a forum post, and that then adds the correct BBCode for me, or I should be able to enter a BBCode that uses the card's name and not an arbitrary ID.
Alas, from what I've seen of code muckers and the resulting code that this is quite a difficult feat that you ask from a coding perspective. Like water running up hill would be very nice too. The code and the resulting time it would take to figure out which Leather item you are referring too, and dealing with mis-spelling would be quite the nightmare. I counter if you have it up in the spellbuilder, you can easily grab the arbitrary ID and type it in between the TAGs that the BBCode button will create for us.
-
_If_ I have the spellbook builder open in another tab. I just don't think that should be necessary :P I think there should be a button or something that allows me to type the card's name when I'm writing a forum post, and that then adds the correct BBCode for me, or I should be able to enter a BBCode that uses the card's name and not an arbitrary ID.
There will be something like that added quite soon. I am finishing the theme for the new AW website and then have to add the DvN cards to the SBB. Once that is done I will finish the last few tools for the SBB
or I should be able to enter a BBCode that uses the card's name and not an arbitrary ID.
The card names have spaces, commas and possessive diacritics in them and those things are a PITA to parse across multiple browsers. The card numbers are much easier and the tool added to the SBB will make it easier to post the cards.
-
Pixel. It appears that after the tag the text that follows is smooshed up against the last word between the tag. Look at the "and" after Wizard's Tower. It is correct in the source but not after it is interpreted.
Should be fixed now
[mwcard=DNC20]Vine Snapper[/mwcard] and [mwcard=DNQ10]Meditation Amulet[/mwcard]
-
Should be fixed now
[mwcard=DNC20]Vine Snapper[/mwcard] and [mwcard=DNQ10]Meditation Amulet[/mwcard]
Thanks! Great work as always!
-
Another Test
[mwcard=DNC03] Devouring Jelly[/mwcard]
-
Works, IE11 - Windows 8.1
-
I was actually just making sure that the bbcode from the new card preview window was creating valid code.
Should be posted tomorrow with the DvN cards
-
What does the [mwcard=DruidAbilityOutline]Druid Ability Card[/mwcard] look like?
-
Probably not as awesome as the [mwcard=NECROMANCERABILITYOUTLINE]Necromancer Ability Card[/mwcard]
-
I don't know call me crazy, but why couldn't the code just be the card's Name.
Something like:
[card]dissolve[/card]
Simialr code used Here
http://www.temple-of-lore.com/community/viewtopic.php?f=4&t=39292
GRanted the current is just a mouse over and the other opens in another window, but the other is easier all the way around.
Hedge
-
The card names have spaces, commas and possessive diacritics in them and those things are a PITA to parse across multiple browsers. The card numbers are much easier and the tool added to the SBB will make it easier to post the cards.
-
I don't know call me crazy, but why couldn't the code just be the card's Name.
Something like:
[card]dissolve[/card]
Simialr code used Here
http://www.temple-of-lore.com/community/viewtopic.php?f=4&t=39292
GRanted the current is just a mouse over and the other opens in another window, but the other is easier all the way around.
Hedge
That's just a link to another page, i.e. which takes you away from the SBB itself, nothing close to what Pixel is doing. Think 19-nineties vs. 20-tens. The new solution works very well and should get better with time.
Now all we need is a dedicated card browser page and then the card browser integrated into the forums.
That's all just 10 minutes of code and we are all good! ???
-
only if the sbb works on your browser
-
The Forum Code export is working well, however the display is leaving something more desired. Too much spacing between each spell is the main thing. Aesthetically annoy, but functionally fine, the wrapping background is quite noticeable at the joints.
The spacing is the same on both Chrome and IE, and it looks like double spaced text.
-
Can you post an example?
-
[spellbook]
[spellbookheader]
[spellbookname]Offical MW Deck[/spellbookname]
[mage]A Beastmaster (Johktari) book[/mage]
[mage]built by the OCTGN SBB[/mage]
[/spellbookheader]
[spells]
[spellclass]Attack[/spellclass]
[mwcard=MW1A09]1 x Jet Stream[/mwcard]
[mwcard=MWSTX1CKA01]2 x Surging Wave[/mwcard]
[spellclass]Conjuration[/spellclass]
[mwcard=MW1J02]1 x Animal Kinship[/mwcard]
[mwcard=MW1J10]1 x Lair[/mwcard]
[mwcard=MW1J13]3 x Mana Flower[/mwcard]
[mwcard=MW1J15]1 x Mohktari, Great Tree of Life[/mwcard]
[mwcard=MW1J01]1 x Rajan's Fury[/mwcard]
[mwcard=MW1J22]3 x Tanglevine[/mwcard]
[mwcard=MW1W04]2 x Wall of Thorns[/mwcard]
[spellclass]Creature[/spellclass]
[mwcard=MW1C07]1 x Cervere, The Forest Shadow[/mwcard]
[mwcard=MW1C12]1 x Emerald Tegu[/mwcard]
[mwcard=MW1C14]3 x Feral Bobcat[/mwcard]
[mwcard=MWSTX1CKC09]2 x Giant Wolf Spider[/mwcard]
[mwcard=MWSTX1CKC04]1 x Makunda[/mwcard]
[mwcard=MW1C25]1 x Mountain Gorilla[/mwcard]
[mwcard=MW1C37]3 x Thunderift Falcon[/mwcard]
[mwcard=MW1C38]2 x Timber Wolf[/mwcard]
[spellclass]Enchantment[/spellclass]
[mwcard=MW1E01]2 x Bear Strength[/mwcard]
[mwcard=MW1E02]1 x Block[/mwcard]
[mwcard=MW1E03]1 x Bull Endurance[/mwcard]
[mwcard=MW1E07]1 x Cobra Reflexes[/mwcard]
[mwcard=MW1E13]1 x Eagle Wings[/mwcard]
[mwcard=FWE03]1 x Falcon Precision[/mwcard]
[mwcard=MW1E21]1 x Hawkeye[/mwcard]
[mwcard=MW1E27]1 x Marked for Death[/mwcard]
[mwcard=MW1E28]1 x Mongoose Agility[/mwcard]
[mwcard=MW1E29]1 x Nullify[/mwcard]
[mwcard=MW1E32]1 x Regrowth[/mwcard]
[mwcard=MW1E36]2 x Rhino Hide[/mwcard]
[spellclass]Equipment[/spellclass]
[mwcard=MW1Q02]1 x Bearskin[/mwcard]
[mwcard=MWSTX1CKQ02]2 x Hunting Bow[/mwcard]
[mwcard=MW1Q19]1 x Mage Wand[/mwcard]
[mwcard=MW1Q23]1 x Regrowth Belt[/mwcard]
[mwcard=MW1Q25]1 x Ring of Beasts[/mwcard]
[spellclass]Incantation[/spellclass]
[mwcard=MW1I02]1 x Battle Fury[/mwcard]
[mwcard=MW1I03]2 x Call of the Wild[/mwcard]
[mwcard=MW1I04]1 x Charge[/mwcard]
[mwcard=MW1I06]2 x Dispel[/mwcard]
[mwcard=MW1I07]1 x Dissolve[/mwcard]
[mwcard=MW1I12]1 x Force Push[/mwcard]
[mwcard=MW1I14]1 x Heal[/mwcard]
[mwcard=MW1I15]1 x Knockdown[/mwcard]
[mwcard=MW1I17]2 x Minor Heal[/mwcard]
[mwcard=MW1I19]1 x Piercing Strike[/mwcard]
[mwcard=FWI06]1 x Power Strike[/mwcard]
[mwcard=MW1I23]1 x Rouse the Beast[/mwcard]
[mwcard=MW1I25]1 x Shift Enchantment[/mwcard]
[mwcard=FWI08]1 x Sniper Shot[/mwcard]
[mwcard=MW1I29]1 x Vampiric Strike[/mwcard]
[/spells]
[cost]Total cost: 120 pts[/cost]
[/spellbook]
Link (https://dl.dropboxusercontent.com/u/58842665/fourmpost.txt) to code
-
I'll work on the tiling.
So are you referring to the spacing between the individual spells? I can fix that via CSS.
-
I'll work on the tiling.
So are you referring to the spacing between the individual spells? I can fix that via CSS.
Yes the spacing is huge, I have to scroll through three screens to see that book and my monitors are not huge but also not that small.
-
Spacing okay now?
-
Much better!
-
It seems like the site ignores any whitespace between the end of the tag and the next word.
[mwcard=MW1I09] Drain Power[/mwcard] note there is no space between that preview and the word "note" even though I inserted a lot of them.
[mwcard=MW1I09] Drain Power[/mwcard]
It also ignores newlines as I illustrate here.
If you click "quote" on this post you can see that the spaces and newlines are there.
-
As a temporary fix anyway, you can use any other command immediately after the "mwcard" command, and it will work. For example, here I've inserted a single space that I have bolded:
It seems like the site ignores any whitespace between the end of the tag and the next word.
[mwcard=MW1I09] Drain Power[/mwcard] note there is no space between that preview and the word "note" even though I inserted a lot of them.
[mwcard=MW1I09] Drain Power[/mwcard]
It also ignores newlines as I illustrate here.
If you click "quote" on this post you can see that the spaces and newlines are there.
-
Thanks for the tip Indy
-
Another nice to have, if possible, would be a copy button on the Card pop-up window...
-
Another nice to have, if possible, would be a copy button on the Card pop-up window...
I'll look into it
I'll also look into a fix for the BBCode spacing issue
-
I'll also look into a fix for the BBCode spacing issue
Spacing issue should be fixed now. I had to edit three tags to make it work >:(
-
So easy peasy greasy!