PHP bbcode

Get help developing custom BBCodes or request one.
User avatar
JoshyPHP
Code Contributor
Posts: 1046
Joined: Mon Jul 11, 2011 12:28 am

Re: PHP bbcode

Post by JoshyPHP » Tue Jan 17, 2017 11:53 pm

It can, it just isn't.

If the argument is that it is possible then we're in agreement: it is indeed possible to support server-side syntax highlighting for PHP sources. Or for any language, for that matter. It's not implemented because it's clunky and a bit slow, and it's better implemented as an extension.
I wrote the thing that does BBCodes in 3.2.

LavIgor
Registered User
Posts: 541
Joined: Mon Apr 28, 2014 1:47 pm

Re: PHP bbcode

Post by LavIgor » Tue Jan 17, 2017 11:59 pm

JoshyPHP wrote:
Tue Jan 17, 2017 11:53 pm
It's not implemented because it's clunky and a bit slow, and it's better implemented as an extension.
Why wasn't your extension integrated into phpBB core then (it is in fact just one line, but a helpful one)?
Maybe with a config setting for it to be optional (I do not find any reasons for it to be switched off, however).
Because highlighting really improves readability.

User avatar
JoshyPHP
Code Contributor
Posts: 1046
Joined: Mon Jul 11, 2011 12:28 am

Re: PHP bbcode

Post by JoshyPHP » Wed Jan 18, 2017 12:02 am

I don't know, maybe it's not deemed important enough. I think we simply never discussed it. You can try opening a feature request on the tracker.
I wrote the thing that does BBCodes in 3.2.

Post Reply

Return to “Custom BBCode Development and Requests”