Browse > Home /

| Subcribe via RSS

gwBBCode is go!

August 19th, 2008 | 2 Comments | Posted in Gaming

After fiddling around for awhile, I finally got gwBBCode to work again. I made a simple 5 line plugin to call the parser on a post submit. Should be a bit more maintainable that way. There is a subtle problem that I can’t track down though…

Posting a build works fine… like so:

[build prof=W/Mo name="Current Build" Str=2 Axe=12+1 Tac=8+4 Hea=10 Pro=1 Smi=1][Cyclone Axe][Bonettis Defense][Gladiators Defense][Executioners Strike][Dismember][Axe Twist][Vigorous Spirit][Sprint][/build]

Posting individual skills as icons borks my layout (I need to do some CSS-Fu to fix that) but wierder is that when posting text links, the first text link appends a closing <p> tag, any that follow it don’t… so to post text links I have to surround them in a <span> or <div> tag… like:

[[Cyclone Axe] [[Bonettis Defense] [[Gladiators Defense] [[Executioners Strike] [[Dismember] [[Axe Twist] [[Vigorous Spirit] [[Sprint]

I’m not really sure which script is at fault, Wordpress or gwBBCode. But, it works, which is what matters… :-)

Edit: It seems it all only works on the main page and not others (for example, the post’s page itself….) trying to track down why not now.

Edit 2: I have no idea why it isn’t applying when you visit this post itself…. having them display on the index page is better than not at all though, so it’ll do for now…

Tags: ,
  • Tweets

    • I also got 5 free Live Arcade games this morning for some reason... must have used my 1-month gold trial during a promotion or something... 2 days ago
    • I'm quite liking the "New Xbox Experience", the Miis... ahem... I mean Avatars look pretty cool, more clothing would be nice though! 2 days ago
    • So, Wrath is finally here, Angel is level 71 and I've started a Deathknight for those times when a break is needed... 1 week ago
    • More updates...
  • Meta