Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get BBCodes working with Advanced BBCode Box 3.1 #4

Open
Wolfsblvt opened this issue Feb 4, 2015 · 2 comments
Open

Get BBCodes working with Advanced BBCode Box 3.1 #4

Wolfsblvt opened this issue Feb 4, 2015 · 2 comments
Assignees
Milestone

Comments

@Wolfsblvt
Copy link
Owner

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.

@Wolfsblvt Wolfsblvt self-assigned this Feb 4, 2015
@Wolfsblvt Wolfsblvt added this to the 1.1.0 milestone Feb 4, 2015
@iMattPro
Copy link

iMattPro commented Feb 5, 2015

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 -->

@Wolfsblvt
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants