If extensions authors will use profilefield_base_migration.php
class as base class for creation of CPFs, the class need to be
extended a bit.
At the moment there are two issues with it:
It does not create entries for PROFILE_FIELDS_LANG_TABLE
(as it can't know what fields to create).
The migration is not "cleaning" the DBMS after purging
the extension and leaves everything except the CPF column.
Adding profilefield_language_data
PHPBB3-12786
* develop-ascraeus:
[ticket/12716] Use a string as session_id
[ticket/12716] Add regression test
[ticket/12716] Add the missing parameters in the call of clearToken
[ticket/12716] Add the missing parameters in the call of clearToken
* Nicofuma/ticket/12716:
[ticket/12716] Use a string as session_id
[ticket/12716] Add regression test
[ticket/12716] Add the missing parameters in the call of clearToken
[ticket/12764] Properly handle errors upon connecting to MySQLi database
* marc1706/ticket/12764:
[ticket/12764] Properly handle errors upon connecting to MySQLi database
* develop-ascraeus:
[ticket/12771] Shanging substr to strpos
[ticket/12771] Change var name
[ticket/12771] Bug in profilefield_base_migration when used in ext
[ticket/12771] Bug in profilefield_base_migration when used in ext
* lucifer4o/ticket/12771:
[ticket/12771] Shanging substr to strpos
[ticket/12771] Change var name
[ticket/12771] Bug in profilefield_base_migration when used in ext
* develop-ascraeus:
[ticket/12759] Fix type_bool and type_dropdown's UCP fields
[ticket/12759] Remove lang_helper from profilefields_manager
[ticket/12759] Cache all lang_options in lang_helper instead
[ticket/12759] Extra line in profilefields_manager
[ticket/12759] Cache lang_options for pm_viewmessage
[ticket/12759] Cache lang_options on memberlist
[ticket/12759] Add phpDoc comments to explain get_option_lang
[ticket/12759] Little code cleanup
[ticket/12759] Make sure $field_id has unique elements
[ticket/12759] Cache the lang options earlier
[ticket/12759] Cache lang options for all fields while displaying
[ticket/12759] Allow multiple fields to be loaded via get_option_lang
[ticket/12759] Resolve query flooding while displaying large number of custom profile fields
* Dragooon/ticket/12759:
[ticket/12759] Fix type_bool and type_dropdown's UCP fields
[ticket/12759] Remove lang_helper from profilefields_manager
[ticket/12759] Cache all lang_options in lang_helper instead
[ticket/12759] Extra line in profilefields_manager
[ticket/12759] Cache lang_options for pm_viewmessage
[ticket/12759] Cache lang_options on memberlist
[ticket/12759] Add phpDoc comments to explain get_option_lang
[ticket/12759] Little code cleanup
[ticket/12759] Make sure $field_id has unique elements
[ticket/12759] Cache the lang options earlier
[ticket/12759] Cache lang options for all fields while displaying
[ticket/12759] Allow multiple fields to be loaded via get_option_lang
Previously these would be fetched one field at one time, causing a large
number of queries in case there were large number of custom profile fields
and/or unique number of users in areas such as viewing topics. Resolve this
by caching them at once when generating data for displaying them in templates.
PHPBB3-12759
* develop-ascraeus:
[ticket/12325] Fix the language var name
[ticket/12325] Update coding style in template
[ticket/12325] Fix: add a missing colon
[ticket/12325] Don't use L_COLON
[ticket/12325] Fix: it's not stuck in an inifinite loop anymore
[ticket/12325] Automatic update should notify about outdated files
[ticket/12325] Automatic update should notify about outdated files
* Nicofuma/ticket/12325:
[ticket/12325] Fix the language var name
[ticket/12325] Update coding style in template
[ticket/12325] Fix: add a missing colon
[ticket/12325] Don't use L_COLON
[ticket/12325] Fix: it's not stuck in an inifinite loop anymore
[ticket/12325] Automatic update should notify about outdated files