Filter by country

Definition ACP_FBC_COUNTRY_WO is not configured. - Filter by country

Definition ACP_FBC_COUNTRY_WO is not configured.

by HansDutch » Sat Jun 15, 2024 8:37 am

Since version 1.0.22 of the Filter by country extension, the country code WO has been added to the constant FBC_COUNTRY_CODES in the constants/constants.php file. The country code WO stands for World, Unknown.

In the language/en/common.php file, the definition of ACP_FBC_COUNTRY_WO that should be added to the array variable lang is still commented out. In the configuration of the country list of this extension, the country ACP_FBC_COUNTRY_WO is shown at the bottom of the country list instead of Unknown. This is because the definition ACP_FBC_COUNTRY_WO is not configured.

In the language files of the Dutch language of this extension that I recently supplied, I have already removed the comments from the ACP_FBC_COUNTRY_WO definition.
HansDutch
Registered User
Posts: 9
Joined: Sun Aug 20, 2023 8:31 pm

Re: Definition ACP_FBC_COUNTRY_WO is not configured.

by MarkDHamill » Sat Jun 15, 2024 11:46 am

Good point. In /language/en/common.php, line 288 should be:

Code: Select all

	'ACP_FBC_COUNTRY_WO' => 'Unknown',

which means line 298:

Code: Select all

	//'ACP_FBC_COUNTRY_WO' => 'Unknown',
can be removed entirely.
Need phpBB services or a phpBB consultant? I offer most phpBB services. Getting lost managing phpBB? Buy my book, Mastering phpBB Administration. Covers through phpBB 3.3.7. eBook and paper versions available.
User avatar
MarkDHamill
Registered User
Posts: 4927
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA