Open Wolfsblvt opened 9 years ago
The BBCodes from phpBB are hardcoded into ABBC3. Since you are adding on to those BBCodes rather than making custom BBCodes (which might have been easier for integration in general) other exts like ABBC3 will need to hardcode yours too.
If you set a template switch for each of your BBCodes, so there is S_BBCODE_MENTION
and S_BBCODE_MENTION_EQ
available for example, then I could hard your BBCodes into ABBC3 too. Like:
<!-- IF S_BBCODE_MENTION -->An ABBC3 mention icon<!-- ENDIF -->
<!-- IF S_BBCODE_MENTION_EQ -->An ABBC3 mention= icon<!-- ENDIF -->
Anyway that's the first idea that comes to my mind. You may have other ideas.
This is how a few core BBCodes are handled, for example, <!-- IF S_BBCODE_QUOTE -->
Nice that you've seen this issue here (:
Yeah, my bbcodes are used to be something like "core bbcodes" and not custom bbcodes. It would be difficult when I would allow the user to actually modify the mention bbcode, and I need additional parsing for it, so this was the solution I found.
Your solutions sounds fine to me. So if it is not possible (or not easy) to inject my bbcodes to your extension, the other way round would work fine as well.
I think this is the way I'll take then.
If the extension "Advanced BBCode Box 3.1" is activated, BBCodes will not be displayed in it.
So there needs to be some kind of integration for this official extension.