November 21, 2024, 04:36:58 PM

Author Topic: New BBCode  (Read 26828 times)

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
New BBCode
« 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
« Last Edit: November 25, 2013, 05:59:54 PM by pixelgeek »
  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
Re: New BBCode
« Reply #1 on: November 17, 2013, 09:26:41 PM »
The pop-up should look like this.
  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
Re: New BBCode
« Reply #2 on: November 17, 2013, 09:29:38 PM »
BTW the code is usable by anyone you just need to know the card number for it to work

The format is

Code: [Select]
[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 :-)

  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.

lettucemode

  • Guest
Re: New BBCode
« Reply #3 on: November 17, 2013, 10:05:03 PM »
The ones you posted work for me. Windows 7, latest version of Chrome.

Where can we look up the card numbers?

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
Re: New BBCode
« Reply #4 on: November 17, 2013, 10:10:59 PM »
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
  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.

Zuberi

  • Rules Guru
  • Playtester
  • Legendary Mage
  • *
  • Posts: 2504
  • Banana Stickers 57
    • View Profile
Re: New BBCode
« Reply #5 on: November 17, 2013, 10:17:53 PM »
I just want to say that this is really awesome.

Oh, and they work fine for me. Windows 7, latest version of Chrome.

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
Re: New BBCode
« Reply #6 on: November 25, 2013, 05:47:08 PM »
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
  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.

Zuberi

  • Rules Guru
  • Playtester
  • Legendary Mage
  • *
  • Posts: 2504
  • Banana Stickers 57
    • View Profile
Re: New BBCode
« Reply #7 on: November 25, 2013, 08:12:45 PM »
They look perfect to me. Rounded corners and drop shadow = check.

Fentum

  • Sr. Mage
  • ****
  • Posts: 353
  • Banana Stickers 2
    • View Profile
Re: New BBCode
« Reply #8 on: November 26, 2013, 02:31:20 AM »

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.

sIKE

  • Playtester
  • Legendary Mage
  • *
  • Posts: 4172
  • Banana Stickers 18
  • Ugh
    • View Profile
Re: New BBCode
« Reply #9 on: December 16, 2013, 01:42:56 PM »
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].
  • Favourite Mage: Malakai Priest

Amadseer

  • Official Lorekeeper of Etheria
  • New Mage
  • *
  • Posts: 36
  • Banana Stickers 0
    • View Profile
Re: New BBCode
« Reply #10 on: December 17, 2013, 12:15:09 PM »
I noticed pop ups for the Druid vs. Necromancer cards aren't showing up yet when I put in those codes.

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
Re: New BBCode
« Reply #11 on: December 17, 2013, 12:31:08 PM »
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
  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
Re: New BBCode
« Reply #12 on: December 17, 2013, 12:31:58 PM »
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
  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.

haslo

  • Jr. Mage
  • **
  • Posts: 51
  • Banana Stickers 1
    • View Profile
Re: New BBCode
« Reply #13 on: December 18, 2013, 03:27:34 AM »
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?
« Last Edit: December 18, 2013, 03:29:17 AM by haslo »

pixelgeek

  • Global Moderator
  • Sr. Mage
  • *****
  • Posts: 444
  • Banana Stickers 2
    • View Profile
    • Zac's Gaming Blog
Re: New BBCode
« Reply #14 on: December 18, 2013, 08:13:35 AM »
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
  • Favourite Mage: Adramelech Warlock
Arcane Wonders Web Guy
Problem with the forums or website?

Send me a PM

Words to live by: I commit strongly to defending my wand.   Precisely so that I don't lose it.