Restore [issue][/issue] template button in the editor Topic is solved

About this bulletin board and the Pale Moon website

Moderators: FranklinDM, Lootyhoof

JustOff

Restore [issue][/issue] template button in the editor

Unread post by JustOff » 2019-11-22, 12:27

Before the forum was updated, the editor had an "issue" template button, could you please restore it?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35583
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Restore [issue][/issue] template button in the editor

Unread post by Moonchild » 2019-11-25, 23:03

This got mangled when updating to phpBB 3.2, apparently. Another reason for people who are still on 3.1 or below not to upgrade.

All BBCode stuff was converted to a parser language that I had to give myself a crash course in. It should be available again now though.
Unlike the way it's always been, this parser/template language is now required for anything more than the absolute basic text replacement stuff for BBCode. The reason for this is that the phpBB devs externalized it into a plugin module instead of using own code. This does not make it in any way accessible for the average board admin. I was only able to figure it out because I'm a fast learner and was able to analyze some other converted code that did work.

When asking for help on the phpBB forums to verify that what I wrote was actually correct, and how to re-parse post text since it was apparently needed for it to be picked up by old posts since their automatic conversion was bodged (and I wasn't at all informed that this process happened, either, when "upgrading"), I was called "a self-entitled user" and "the cause for attrition in FLOSS software"... :problem:
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

JustOff

Re: Restore [issue][/issue] template button in the editor

Unread post by JustOff » 2019-11-26, 12:52

Cool, thank you! Just one more thing, though. Wouldn't it be better to also add UXP as a default?

Code: Select all

[issue=UXP][/issue]

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35583
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Restore [issue][/issue] template button in the editor

Unread post by Moonchild » 2019-11-26, 12:59

Not possible because the default is historically pale-moon, and can't be changed. Since the phpBB devs made this change it's also no longer possible to have multiple tags defined with the same name.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

JustOff

Re: Restore [issue][/issue] template button in the editor

Unread post by JustOff » 2019-11-26, 13:06

I understand the background, but can't you just add =UXP to the template?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35583
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Restore [issue][/issue] template button in the editor

Unread post by Moonchild » 2019-11-26, 14:53

no
it can't be done. I already told you
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

JustOff

Re: Restore [issue][/issue] template button in the editor

Unread post by JustOff » 2019-11-26, 15:13

Ok, thanks for clarifying. Sorry for asking again, I didn't quite understand the answer the first time.

Locked