• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Help needed with a BB Code Media Site

#1
I'm not great at setting up media sites (I suck at regex I guess >>)

I want to allow my users to use FFXIV's new tooltip codes. I've already embedded the JS needed and verified it works when I manually parse HTML in a post, however I want to see if I can make a media site automatically detect and parse the HTML for normal users.

Here is a link to what I am talking about.
http://na.finalfantasyxiv.com/lodestone/special/fankit/tooltip/

This is an example of what a link might look like.

HTML:
<a href="http://na.finalfantasyxiv.com/lodestone/playguide/db/item/598abb7dd01/" class="eorzeadb_link">Excalibur Zeta</a>
There should be 3 fields that have variables.

na.finalfantasyxiv.com/lodestone/playguide/db/item/598abb7dd01/ and the name of the item ...>Excalibur Zeta</a>