I have installed and enabled BBcode, BUEditor, Extensible BBcode and Advanced Forum modules on my site. I would like use BBcodes to post the topics in forum. When I post the topic with any value [for e.g [b]this is a test data[/b]] and submit the posting I see the raw data displayed without BBcode formatting.

Not sure what is going wrong. I see the errors in the drupal logs.

Warning: preg_match_all(): Compilation failed: unrecognized character after (?< at offset 5 in XBBCodeFilter->process() (line 42 of /var/web/sites/all/modules/xbbcode/xbbcode.filter.inc).
Appreciate your help.

Thanks

Comments

VM’s picture

have you enabled the needed filters on the text format in use? reading the README.txt file included in the module folder should aid.

The error is from the Extensible BBcode module and should be researched in the issue queue of the module in question.

suneel.kumar’s picture

Thank you @VM. Your suggestion to refer the readme.txt file was helpful. Issue got fixed.

I have noticed [code] tag not working. Any suggestion how to fix?

VM’s picture

core's code tag is <code> If you are referring to bbcode tag, I suggest looking at that modules settings/styling/etc.

Also of note simply stating that something isn't working isn't very helpful. Please elaborate.