Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: Shadow Wolf on February 03, 2007, 03:05:23 PM

Title: Using SMF BBCode in Joomla?
Post by: Shadow Wolf on February 03, 2007, 03:05:23 PM
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?
Title: Re: Using SMF BBCode in Joomla?
Post by: Orstio on February 03, 2007, 03:22:49 PM
It should be possible to create a content bot that runs the content through parse_bbc().
Title: Re: Using SMF BBCode in Joomla?
Post by: Shadow Wolf on February 03, 2007, 03:35:33 PM
Content bot?
Title: Re: Using SMF BBCode in Joomla?
Post by: Orstio on February 03, 2007, 03:52:48 PM
Here, try the attached file.  Install it in your Joomla Mambot installer.
Title: Re: Using SMF BBCode in Joomla?
Post by: Shadow Wolf on February 03, 2007, 05:00:09 PM
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:
http://wow.guildregister.com/forum/index.php?topic=2.0

(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:
http://wow.guildregister.com/index.php?option=com_content&task=view&id=12&Itemid=2
Title: Re: Using SMF BBCode in Joomla?
Post by: Orstio on February 03, 2007, 05:02:42 PM
How is your custom BBC done?  Did you install a mod for that?
Title: Re: Using SMF BBCode in Joomla?
Post by: Shadow Wolf on February 03, 2007, 05:26:55 PM
Yes there was a SMF mod called WoW Item Stats:
http://custom.simplemachines.org/mods/index.php?mod=247
Title: Re: Using SMF BBCode in Joomla?
Post by: Shadow Wolf on February 04, 2007, 11:10:54 PM
Is this nor possible because the BBCodes I'm using is through a mod?
Title: Re: Using SMF BBCode in Joomla?
Post by: Orstio on February 04, 2007, 11:31:14 PM
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.