I don't know that you're going to find a 'reasonable' way to do this in phpbb3. The bbcode in post and sigs have identifiers. It's not as simple as calling a function/method.
Out of the box, any html you enter into the word censor in html character encoded and displays as the characters, does not render. This is a very easy fix.
As of 3.0.6
Open cache.php, at or around line 96, find:
Code: Select all
$censors['replace'][] = $row['replacement'];
Replace with :
Code: Select all
$censors['replace'][] = html_entity_decode($row['replacement']);
Now here's the problem:
Yes, your html in the replacement text will now render.
This will also render within linked topic titles, which is going to cause a mess. Can see problems with censors within post bbcode, etc. Most of the time, this should just create validation issues, which so long as they don't interfere with your users experience... who cares. But, depending on how you're using this, I could see potential to create a mess.
The simple fix for topic/subject links is to simply add strip_tags when the censor_text function is called on them. I would imagine that there are a ton of places that would need to be updated for this. I may look into it more later.