Board updated to phpbb 3.3.9

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

I haven't installed it yet, I always wait a few days for any site breaking bugs.
Also it doesn't affect me:
It only takes effect on new installs using SQLite.
I'm using MySQL/MariaDB.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

I have no switched to the latest release of php 8.0 (not 8.1) for both the forum and wiki.
Please let me know if there are any problems. Especially plugins may cause problems (e.g. for mods: ban hammer).
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Board updated to phpbb 3.3.9

Post by *white »

There is a problem with the vector-2022 skin on the wikis. The interlanguage links are missing.

When using the new skin the links should be removed from site-bar and a language button should be at the the top of the page.
Links are removed from the side-bar, but no language button appears.

What are the values of VectorLanguageInHeader and VectorLanguageInMainPageHeader in skins/Vector/skin.json?

I see the Vector skin bundled with MediaWiki 1.39.1 changed a bit, but that's probably unrelated.
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Board updated to phpbb 3.3.9

Post by *white »

white wrote: 2023-01-20, 14:51 UTC What are the values of VectorLanguageInHeader and VectorLanguageInMainPageHeader in skins/Vector/skin.json?
LOL, I could look for myself, https://www.ghisler.ch/wiki/skins/Vector/skin.json
It seems to be the default values: enabled, except for main page. But I don't see the language button on any page.

Compare for example:
https://www.ghisler.ch/wiki/index.php?title=Configuration&useskin=vector (language link in sidebar)
https://www.ghisler.ch/wiki/index.php?title=Configuration&useskin=vector-2022 (no link and no language button)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

I couldn't find a way to re-enable language links. All I found is a description of the new variable $wgVectorLanguageInMainPageHeader, which would tell the Wiki to show the language link in the header. I have enabled that now in the English wiki, but this does not seem to work:
1. No language link appears
2. On the main page, there is now again a Languages section containing "On this TotalcmdWiki the language links are at the top of the page across from the article title. Go to top.".

The page linked above mentions an extension "UniversalLanguageSelector", maybe I need to install that? However, it's listed as "optional", so I'm reluctant to install it because it's hard to keep track of extension updates.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Board updated to phpbb 3.3.9

Post by *white »

ghisler(Author) wrote: 2023-01-23, 14:30 UTC I couldn't find a way to re-enable language links. All I found is a description of the new variable $wgVectorLanguageInMainPageHeader, which would tell the Wiki to show the language link in the header. I have enabled that now in the English wiki, but this does not seem to work:
1. No language link appears
2. On the main page, there is now again a Languages section containing "On this TotalcmdWiki the language links are at the top of the page across from the article title. Go to top.".

The page linked above mentions an extension "UniversalLanguageSelector", maybe I need to install that? However, it's listed as "optional", so I'm reluctant to install it because it's hard to keep track of extension updates.
No, you definitely don't need an extension. Why? Because it works now, but is hidden. You can make it visible in Developer tools (Ctrl+Shift+I) like this:
  • Open Developer tools (Ctrl+Shift+I).
  • Search for "p-lang-btn" (include the quotes!).
  • Click the found text in the Elements view.
  • In the Styles view, uncheck the checkbox in front of /* display: none; */
  • Close Developers tools.
The button works, but seems misplaced above the page title instead of next to it.

I think the skin is quite buggy in this version. It is strange that the alert pops up. That's another setting. Can you try these settings:

Code: Select all

$wgVectorLanguageInHeader = [
	'logged_in' => true,
	'logged_out' => true,
];

$wgVectorLanguageInMainPageHeader = [
	'logged_in' => true,
	'logged_out' => true,
];

$wgVectorLanguageAlertInSidebar = [
	'logged_in' => false,
	'logged_out' => false,
];
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

Unfortunately that doesn't work either.

I also tried this instead:
$wgVectorLanguageInHeader = true;
$wgVectorLanguageInMainPageHeader = true;
$wgVectorLanguageAlertInSidebar = false;

I'm still getting "On this TotalcmdWiki the language links are at the top of the page across from the article title.", but no language buttons.

And also as arrays but with true and false swapped for the second and third, no effect.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Board updated to phpbb 3.3.9

Post by *white »

2ghisler(Author)
For now I suggest to remove these vars (let Vector skin use the default values) and wait for updates. The only thing you might want to try is to edit the configuration file https://www.ghisler.ch/wiki/skins/Vector/skin.json and change the concerning settings there.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

OK, I have removed them. It's odd that I can't find any bug reports about these variables, so it must be working for others...
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Board updated to phpbb 3.3.9

Post by *white »

2ghisler(Author)
Search the forum with keywords: search ignored nonexistingtxt
"nonexistingtxt" (or any text that doesn't exist on the forum and is <= 14 characters) is ignored when combined with search terms that do have one or more hits. Why is that? It doesn't happen when you do the same search on the phpBB forum. Is it some configuration option? Or did you make a modification yourself?

(BTW a new version, phpBB 3.3.10, was released Feb 5th, 2023.)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

No, the search is unchanged. Either they fixed something in 3.3.10, or they modified it themselves for their board.

Btw, I'm always waiting a few days before installing a new release because they often break things, so I better wait whether there is a hotfix a few days later...
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4594
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Board updated to phpbb 3.3.9

Post by *white »

ghisler(Author) wrote: 2023-02-13, 10:41 UTC No, the search is unchanged. Either they fixed something in 3.3.10, or they modified it themselves for their board.
I checked various sites that use the phpbb software. It doesn't seem to be version dependent.
Same results as TC forum (nonexistingtxt is ignored):
Different as TC forum (nonexistingtxt is not ignored, 0 results) (These are just random sites I found, I don't know what they are about and probably will remove these links later.)

ghisler(Author) wrote: 2023-02-13, 10:41 UTC Btw, I'm always waiting a few days before installing a new release because they often break things, so I better wait whether there is a hotfix a few days later...
It's already a week later and you said the same for MediaWiki which still isn't updated. It's fine by me if you wait longer, but you say you wait a few days..
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

I have updated the forum to 3.3.10 now, and it doesn't seem to ignore nonexistingtxt now!
https://www.ghisler.ch/board/search.php?keywords=search+ignored+nonexistingtxt
Do you get the same results when logged in?
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Board updated to phpbb 3.3.9

Post by *Usher »

2ghisler(Author)
Well, "nonexistingtxt" is now existing in this very topic. You should try with "non existing" written without spaces. It exists, but search doesn't find it when added after "search ignored".
Andrzej P. Wozniak
Polish subforum moderator
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Board updated to phpbb 3.3.9

Post by *ghisler(Author) »

Are you sure that there are posts which contain both "non existing" written without spaces AND all the other keywords? I get 0 hits. But I get hits when I search just for "non existing" written without spaces and nothing else.
Author of Total Commander
https://www.ghisler.com
Post Reply