Should the current set of hard-coded BBcodes be moved from being hard-coded to being pre-installed options?
There seems to be a number of requests to modify/remove these codes which currently is not possible without changing core code, but having them as options would give this added flexibility.
BBcodes
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.
If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Re: BBcodes
+1
Re: BBcodes
+1
Make them all pre-installed, editable / custom BBCodes.
However, what about
P.S.: Remove
Make them all pre-installed, editable / custom BBCodes.
However, what about
img
and url
? Don't they have some unique features that cannot be simply created via a custom BBCode? And color
should be tied to a color picker (although some data attribute or id will suffice I guess).P.S.: Remove
flash
?Re: BBcodes
I agree with this. I even tried to do that with the WYSIWYG editor. But the current
Tbh, tags like
quote
tag is too hard to make it work right. So I'm waiting for a solution.Tbh, tags like
img
and url
are "child's play" compared to the quote
tagRe: BBcodes
If quote is too difficult to remove from the code, and I can appreciate that it could be, then leave that hard coded as I suspect that virtually all boards use that feature anyway.
David
Remember: You only know what you know -
and you do not know what you do not know!
Remember: You only know what you know -
and you do not know what you do not know!
- 3Di
- Registered User
- Posts: 951
- Joined: Tue Nov 01, 2005 9:50 pm
- Location: Milano 🇮🇹 Frankfurt 🇩🇪
- Contact:
Re: BBcodes
Too much of cons I guess.
Those two should IMO stay there, quote as well.
Actually is http://prntscr.com/fosygh .. or am I mssing something?
Yes, Please.
Free support for our extensions also provided here: phpBB Studio
Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Re: BBcodes
It currently is, because it is hard-coded.3Di wrote: ↑Tue Jun 27, 2017 3:57 pm Actually is http://prntscr.com/fosygh .. or am I mssing something?
Re: BBcodes
The BBCode definitions are stored in the PHP sources but they are no different from custom BBCodes and it would be possible to store them in the database to make them editable.
If anyone wants to do it, here are the relevant sections: (you'd need to create a migration too)
If anyone wants to do it, here are the relevant sections: (you'd need to create a migration too)
- https://github.com/phpbb/phpbb/blob/ddc ... p#L73-L127
- https://github.com/phpbb/phpbb/blob/8e5 ... #L186-L187
- Remove the part in the ACP that prevents overwriting the default BBCodes.
→ Allows expert admins to overwrite the defaults. - Add the default BBCodes to the list shown in the ACP.
→ Lets all admins delete the default BBCodes and then complain that they don't work anymore. :sarcasm:
- 3Di
- Registered User
- Posts: 951
- Joined: Tue Nov 01, 2005 9:50 pm
- Location: Milano 🇮🇹 Frankfurt 🇩🇪
- Contact:
Re: BBcodes
Too much of Cons against Pros IMO.
And the sarcasm is appropriated, I wouldn't imagine how many support requests will be created and how many disappointed not-expert Admins who are blaming people here and there etc.. Nah.
It is a tricky situation, not easy to solve. If this is the goal.
BBcodes are a foundation very difficult to break-thru.
And the sarcasm is appropriated, I wouldn't imagine how many support requests will be created and how many disappointed not-expert Admins who are blaming people here and there etc.. Nah.
It is a tricky situation, not easy to solve. If this is the goal.
BBcodes are a foundation very difficult to break-thru.
Free support for our extensions also provided here: phpBB Studio
Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
Re: BBcodes
they should not be db options in the way the custom ones are. the way the standard ones should be handled is 100% from the bbcodes.html file as this allows for the most flexibility for customization for the style authors. Currently it is not handled this way by default