Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: orinjuce on February 20, 2009, 10:45:34 PM

Title: Custom BBcode and Wowhead Tooltips
Post by: orinjuce on February 20, 2009, 10:45:34 PM
I've been trying to get Wowhead item links to work on my forum, I've added the Wowhead - Powered script to my forum, and set up a custom BBcode that works. My only problem so far is I don't know how to make another bbcode to change the item links color to the quality of the item.

For the HTML i used. I successfully got the color to change but the item link did not work alongside the [*item][/*item].

<a class="q{option}" href="http://www.wowhead.com/?item={number}">[{content}]</a>

For the BBcode I used
[item=19019][q=q5]ITEM NAME[/q][/item]

It seem I can only successfully have one and not the other.

I'm not really sure what else to do.

P.S. I've tried item stats and the script CraCkpot made, and both do not work.
Title: Re: Custom BBcode and Wowhead Tooltips
Post by: orinjuce on February 21, 2009, 01:02:54 AM
If someone could help me with setting up custom bbcode, I would be so thankful!

Or refer me to a a working script/mod that has been updated for SMF 1.1.8.