Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This module integrates the PEAR BBCodeParser project into Drupal. Other than the existing bbcode module, which can be used as is, you will need the PHP PEAR extension and the parser installed on your server. Also your PHP include path must contain your PEAR directory (which is usually added during PEAR installation).
However, there are some differences I consider as advantages (this is why I started this different approach):
While bbcode module bases on simple regexes, the PEAR approach is better in dealing with nested structures, which is really helpful with e.g. quotes.
The PEAR project may be easily extended with custom filter classes which you may place in the filters directory (you need to understand the corresponding PEAR project documentation). It is planned that this module will recognize them and you can simply enable or disable them on a per-input format base.
That said, you may also easily clone and alter existing filter classes, while bbcode module lacks an override API and changes need to be done directly in the module code.
This module does not provide any graphical extensions such as toolbars for convenient editing. It simply parses BBcode as good as possible.