Search found 363 matches

by JoshyPHP
Tue Jun 27, 2017 11:36 pm
Forum: [3.x] Discussion
Topic: BBcodes
Replies: 20
Views: 8908

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) https://github.com/phpbb/p...
by JoshyPHP
Mon May 15, 2017 6:35 am
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 131066

Re: [RFC] Integrate s9e\TextFormatter

That's a software crash, nothing we can do about it. Try linking PHP against a more recent version of PCRE and be sure to report the error with a good trace/dump at PHP's bug tracker.
by JoshyPHP
Wed May 03, 2017 3:16 pm
Forum: [3.x] Discussion
Topic: BBCODE rendering Issues
Replies: 12
Views: 6011

Re: BBCODE rendering Issues

I guess you'd probably rerun the migration thing that reparsed them from 3.1 to 3.2.
by JoshyPHP
Wed May 03, 2017 9:05 am
Forum: [3.x] Discussion
Topic: BBCODE rendering Issues
Replies: 12
Views: 6011

Re: BBCODE rendering Issues

You need to purge the cache from your ACP or from CLI.
by JoshyPHP
Tue May 02, 2017 10:33 am
Forum: [3.x] Discussion
Topic: BBCODE rendering Issues
Replies: 12
Views: 6011

Re: BBCODE rendering Issues

B & I tags are very old spec and were replaced by strong and em Replaced in XHTML but then HTML5 came along and everything old became new again. Frankly I don't think it matters. Google uses em for the bold, non-italicized keywords in their search results. DuckDuckGo uses b for the same bold, non-i...
by JoshyPHP
Tue May 02, 2017 9:23 am
Forum: [3.x] Discussion
Topic: BBCODE rendering Issues
Replies: 12
Views: 6011

Re: BBCODE rendering Issues

For future reference: to stop creating linebreaks you need to remove the enableAutoLineBreaks rule from the code. To create paragraphs, createParagraphs and/or breakParagraph rules on a per-tag basis, or enable the ManageParagraphs rules generator to create paragraphs in every context that allows th...
by JoshyPHP
Fri Apr 07, 2017 6:08 pm
Forum: [3.x] Style Development
Topic: Some minor full editor improvements
Replies: 20
Views: 15441

Re: Some minor full editor improvements

No, you need to do it in an extension. Something like that but with Litedown instead of FancyPants.
by JoshyPHP
Fri Apr 07, 2017 9:56 am
Forum: [3.x] Style Development
Topic: Some minor full editor improvements
Replies: 20
Views: 15441

Re: Some minor full editor improvements

allow the current default BBCODES to parse into markdown equivalents and then parse it through markdown ;) You don't have to turn one into the other. If you toggle the Litedown you get most of the Markdown syntax alongside normal BBCodes. You can try it out in Flarum's sandbox if you're wondering: ...
by JoshyPHP
Thu Mar 30, 2017 4:28 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 131066

Re: [RFC] Integrate s9e\TextFormatter

Don't wanna abuse your help but a point in the right direction on where to look for about the error (Text formatter? phpbb 3.2?...), would be helpful. The best way would be to post in the 3.2 support forum with the exact definition of your BBCode, what you type in the post editor to test it, what y...
by JoshyPHP
Thu Mar 30, 2017 1:16 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 131066

Re: [RFC] Integrate s9e\TextFormatter

COLOR doesn't accept empty strings so it works as intended but if you use a token that accepts empty strings you can do something like @ref != ''. You can't use the token itself (e.g. {COLOR}) in XPath expressions though.