As I didn't found a simple BBCode plugin for Mantis 1.2, I created mine...
Installation
Copy the directory "MantisSimpleBB" to your "plugins" directory in Mantis.
Log as administrator and go to the "Manage", "Manage Plugins" page (manage_plugin_page.php).
Click on the "install" link corresponding to "Mantis SimpleBB".
Set "1" as priority (this plugin has to be the last to parse the strings).
Note: In "MantisBT Formatting" configuration, "URL Processing" have to be set to "Off".
Usage examples
Text formatting:
Code: Select all
- [B]some string in bold[/B]
- [I]some string in italic[/I]
- [U]some string underlined[/U]
- [S]some string strikeouted[/S]
- [LEFT]some string left aligned[/LEFT]
- [CENTER]some string left aligned[/CENTER]
- [RIGHT]some string left aligned[/RIGHT]
- [COLOR=red]some string in red[/COLOR]
- [COLOR=#FF0000]some string in color #FF0000[/COLOR]
- [SIZE=4]some string in size 4[/SIZE]
Code: Select all
- [QUOTE]Some quote[/QUOTE]
- [QUOTE=User]Some quote from User[/QUOTE]
- [CODE ]some code[/CODE ]
Code: Select all
- [URL=http://url_to_my_site.com]display name[/URL]
Code: Select all
- [IMG]http://url_to_my/picture.jpg[/IMG]
- [IMG=http://url_to_my/picture.jpg]
(note: by default, Mantis display only images hosted on the same server)
I hope this will help...