Hi,
The above-mentioned field contains the "fieldLayoutContentPlugins" parameter, the handling of which, I guess, got lost somewhere some time ago.
Since I have been using the mechanism of supplementing/modifying the appearance of the user's image thumbnail via a dedicated CMS Content plugin for several years, each CB update forces me to "repair" this deficiency again.
My update is to complete the code in the file /home/.../public_html/components/com_comprofiler/plugin/user/plug_cbcore/library/Field/ImageField.php
Class ImageField function _avatarHtml() po linii 789
Code:
$return .= $closeTag;
// DG - 2021-11-08
if ( $field->params->get( 'fieldLayoutContentPlugins', 0 ) ) {
$return = Application::Cms()->prepareHtmlContentPlugins( $return, 'field.avatar', ( $user !== null ? $user->id : 0 ) );
}
return $return;
The second issue related to the user thumbnail is the possibility of supplementing it with a tooltip with the content of the [$title] variable in the case of a thumbnail with an initial.
I hope that with this entry I will not completely remove the "fieldLayoutContentPlugins" parameter. 😱
Thank you and best regards,