Using SMF BBCode in Joomla?

Started by Shadow Wolf, February 03, 2007, 03:05:23 PM

Previous topic - Next topic

Shadow Wolf

Joomla : 1.0.12
SMF : 1.1.1

I've installed SMF and Joomla and using a bridge between the two. I am not using SMF inside a Joomla wrapper and I have registration being handled through SMF.

My forum has a mod for the use of World of Warcraft, that allows the linking of items using bbcode. It links the item to a database so when you hover over the item you can see the item stats, effects, etc.

I would like to use that bbcode with Joomla and was hoping there was a way to do this since they were integrated. Then I can use the news section to post various things, linking items and players can hover over them to see the effects of them.

Is this possible?

Orstio

It should be possible to create a content bot that runs the content through parse_bbc().


Orstio

Here, try the attached file.  Install it in your Joomla Mambot installer.

Shadow Wolf

Quote from: Orstio on February 03, 2007, 03:52:48 PM
Here, try the attached file.  Install it in your Joomla Mambot installer.
Thank you. That partially worked. It seems to work with the defaul BBCode like [b, [i, etc. But doesn't seem to work properly with any of the custom BBCode.

In SMF when I type [ wowitem ] Sentry of Buckler [ / wowitem ], it will link the item pulling up the picture and stats if you hover over it. You can see an example of it here:
hxxp:wow.guildregister.com/forum/index.php?topic=2.0 [nonactive]

(sorry that the place looks messy ^_^ Still messing around with skinning and figureing out SMF and Joomla)

Now when I create a news post in Joomla, testing the various BB Code. Bold and Italic work but the WoW Item code doesn't seem to display properly. As you can see here:
hxxp:wow.guildregister.com/index.php?option=com_content&task=view&id=12&Itemid=2 [nonactive]

Orstio

How is your custom BBC done?  Did you install a mod for that?


Shadow Wolf

Is this nor possible because the BBCodes I'm using is through a mod?

Orstio

I'm not certain how that mod renders the code in SMF posts.  You'd have an easier time asking the mod author, and then adding that code into the bot I created for you.

Advertisement: