Asking here before I try the absolute landfill that the phpBB community forums seem to be 
Does anybody know if it's possible to get the censored words list to parse BBCode?
I'm trying to implement a way to post custom icons in line with text. So far there is about 170 svg icons, which I intended to convert into two font files using free svg > font services. Each of those fonts would get a custom code tag, [twsfont1] and [twsfont2], which would be replaced by an HTML span.
The censored words list would then change something like what the user types, following this chain:
This would then result in the 'aquila' icon being added to the text. This is the current list of icons, but there will likely be more added in the future.
As it stands the censored words don't parse BBCode, so the result is that something like [twsfont2]G[/twsfont2] gets posted instead.
There's probably an easier way of doing this (definitely easier than messing around with two font files!
) but it was the only way I could think of making it work.
Does anybody know if it's possible to get the censored words list to parse BBCode?
I'm trying to implement a way to post custom icons in line with text. So far there is about 170 svg icons, which I intended to convert into two font files using free svg > font services. Each of those fonts would get a custom code tag, [twsfont1] and [twsfont2], which would be replaced by an HTML span.
The censored words list would then change something like what the user types, following this chain:
[aquila] -> [twsfont2]G[/twsfont2] -> <span style="font-family:twsfont2;">G</span>
This would then result in the 'aquila' icon being added to the text. This is the current list of icons, but there will likely be more added in the future.
As it stands the censored words don't parse BBCode, so the result is that something like [twsfont2]G[/twsfont2] gets posted instead.
There's probably an easier way of doing this (definitely easier than messing around with two font files!