Search found 123 matches

by rxu
Sun Mar 12, 2017 8:35 am
Forum: [3.x] Discussion
Topic: [RFC][3.3.x] Supported PHP versions
Replies: 31
Views: 45785

Re: [RFC][3.3.x] Supported PHP versions

Was any choice made so far? :)
by rxu
Sun Feb 19, 2017 2:36 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 187895

Re: [RFC] Integrate s9e\TextFormatter

Thanks. There's a lot of things we still don't know about that stuff. var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[url]','[/url]', '[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME...
by rxu
Sun Feb 19, 2017 12:30 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 187895

Re: [RFC] Integrate s9e\TextFormatter

If you try to put the following text into the code bbcode tags: var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[url]','[/url]', '[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- ...
by rxu
Sun Jan 22, 2017 1:53 pm
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 187895

Re: [RFC] Integrate s9e\TextFormatter

I would, although I have no clue where I could be useful (excepting real bbcode definitions and/or testing).
by rxu
Sun Jan 22, 2017 6:37 am
Forum: [3.2/Rhea] Merged RFCs
Topic: [RFC] Integrate s9e\TextFormatter
Replies: 168
Views: 187895

Re: [RFC] Integrate s9e\TextFormatter

Having 2 bbcodes - one without and another with the = sign, like that: [ref]{TEXT}[/ref] <span style="font-weight: bold;">{TEXT}</span> [ref={COLOR}]{TEXT}[/ref] <span style="font-weight: bold; color: {COLOR};">{TEXT}</span> And the former isn't parsed but the latter is. Is that intended or a bug?
by rxu
Sat Dec 17, 2016 2:00 pm
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13803 / PHPBB3-13891 - Reparsing text
Replies: 65
Views: 73949

Re: PHPBB3-13803 / PHPBB3-13891 - Reparsing text

What about that (within the reparser's base.php) /** * Gets the current reparser plugin class name */ public function get_name() { $reflection = new \ReflectionClass($this); return $reflection->getShortName(); } and then generate_text_for_storage( $text, ... $unparsed['enable_url_bbcode'], 'reparse....
by rxu
Sat Dec 17, 2016 11:50 am
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13803 / PHPBB3-13891 - Reparsing text
Replies: 65
Views: 73949

Re: PHPBB3-13803 / PHPBB3-13891 - Reparsing text

Well yes, but reparser handles more places (posts, PMs, polls, forum rules, group descriptions, signatures), so having just 2 options is kind of not enough.
by rxu
Sat Dec 17, 2016 11:39 am
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13803 / PHPBB3-13891 - Reparsing text
Replies: 65
Views: 73949

Re: PHPBB3-13803 / PHPBB3-13891 - Reparsing text

Thanks. At the brief look, it seems that 'reparse' mode name is not used later anywhere in the code, so changing it to reparser plugin name shouldn't hurt.
by rxu
Sat Dec 17, 2016 11:12 am
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13803 / PHPBB3-13891 - Reparsing text
Replies: 65
Views: 73949

Re: PHPBB3-13803 / PHPBB3-13891 - Reparsing text

Well, in mediaembed extension we're trying to prevent signatures from reparsing media links in them. The point is to catch the reparser plugin name in the listener (say, user_signature) to disable the media tag while reparsing.
by rxu
Sat Dec 17, 2016 10:54 am
Forum: [3.x] Tickets Discussion
Topic: PHPBB3-13803 / PHPBB3-13891 - Reparsing text
Replies: 65
Views: 73949

Re: PHPBB3-13803 / PHPBB3-13891 - Reparsing text

JoshyPHP, what would be the best way to adjust reparser so that we could pass to event the reparser plugin name being used?