Releases for sf 1.4
| Version |
License |
API |
Released |
|
0.1.2alpha
|
MIT license |
0.1.2alpha
|
25/05/2011 |
|
0.1.1alpha
|
MIT license |
0.1.0alpha
|
20/05/2011 |
Releases for sf 1.3
| Version |
License |
API |
Released |
|
0.1.2alpha
|
MIT license |
0.1.2alpha
|
25/05/2011 |
|
0.1.1alpha
|
MIT license |
0.1.0alpha
|
20/05/2011 |
Changelog for release 0.1.2 - 25/05/2011
Other releases
Release 0.1.2 - 25/05/2011
Release 0.1.1 - 20/05/2011
alBBCodeParserPlugin
Based on the PECL extension BBCode http://php.net/manual/en/book.bbcode.php, this plugin adds an escaping method ESC_BBCODE that parses your content and replaces bbcode by html.
You define all the bbcode tags you need in a settings file. Thanks to the PECL extension, the plugin is really light, only one helper and a settings file.
Installation
(or download and unzip in your /plugins directory or checkout with SVN)
Clear your cache
$ symfony cc
Configuration
The plugins comes with a configuration file:
This is the default configuration that defines all the tags parsed. You can modify or add more by copying this file in your /lib/config (at any stage).
Usage
Extend the plugin
To add your own tags :
BBCode PECL extension simply uses an array as paramaters
http://www.php.net/manual/en/function.bbcode-create.php
The plugin transforms the bbcode yml in the settings in an array for bbcode_create.
All you have to do is copying the settings.yml and add your tags.
Changelog
>First release
This plugin is sponsored by Alcyonis