Traq Project Forum

Full Version: BBCode plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
So I created a BBCode plugin, it parses bbcode in ticket description and comments and adds a nice editor.

[attachment=5]

[attachment=6]

Instalation is fairly simple, just download the zip file, upload the plugins folder in it to the root of traq and then install the plugin from it's xml file.

[attachment=4]

If you don't want the editor you can delete "plugdir" and "JS inclusion" hooks and voila Wink
All that work on the plugin system has played off. Great work!.

I will have to add a feature to disable hooks so people don't need to delete them to disable parts of the plugin.
It sure did, it's a nice system there might be some hiccups but it's still in development so no problem Wink

For my next plugin i wanted to create a lightbox for attached images but then I saw that attachments are not working yet Big Grin

Maybe I'll create WikiSyntax plugin next Wink
It doesn't work for me, I installed id and uploaded it correctly but the editor doesn't show up.

What should I do now?

But anyway nice addon. Wink
What version of Traq are you using? Cause it needs the newest svn trunk to work, not Alpha 1.
Using the newest SVN trunk Wink
I think there was a bug in v0.0.1, check this one out:
[attachment=10]
Version 0.0.3 is just an update to use the new hooks names, so it will work for version >= Traq2 Alpha 2 (revision 296).

[attachment=12]
Just thought I'd let you know that I've installed this plugin on the official Traq site.
I'm honored Wink
Pages: 1 2 3
Reference URL's