Works for me:
In getField @ line 190 of `components/com_comprofiler/plugin/user/plug_cbconnect/cbconnect.php`:
Code:
} elseif (!$value && ($user->get('id') == Application::MyUser()->get('id'))) {
$values = array();
global $_CB_framework;
$return = null;
$connect = new Connect($connect->id);
$return .= $connect->button(1);
if ($return) {
static $CSS = 0;
if (!$CSS++) {
$_CB_framework->document->addHeadStyleSheet($_CB_framework->getCfg('live_site') . '/components/com_comprofiler/plugin/user/plug_cbconnect/css/cbconnect.css');
}
$return = '<div class="content-spacer text-center cb_template cb_template_' . selectTemplate('dir') . ' cbConnectButtons">'
. $return
. '</div>';
}
}
YMMV