Search found 384 matches

by JoshyPHP
Thu Jun 29, 2017 1:01 am
Forum: [3.x] Discussion
Topic: BBcodes
Replies: 20
Views: 69188

Re: BBcodes

Templating is only half of it. Users want to modify their behaviour via the ACP.

Also you don't lose anything by having default templates in the ACP and per-style templates in bbcode.html.
by JoshyPHP
Tue Jun 27, 2017 11:36 pm
Forum: [3.x] Discussion
Topic: BBcodes
Replies: 20
Views: 69188

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

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

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

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

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 ...
by JoshyPHP
Tue May 02, 2017 9:23 am
Forum: [3.x] Discussion
Topic: BBCODE rendering Issues
Replies: 12
Views: 25749

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 ...
by JoshyPHP
Fri Apr 07, 2017 6:08 pm
Forum: [3.x] Style Development
Topic: Some minor full editor improvements
Replies: 20
Views: 62512

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

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 ...
by JoshyPHP
Thu Mar 30, 2017 4:28 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 446688

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