gwBBCode is go!
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: guild wars, gwbbcode