Please Log in to join the conversation.
$cbUser = CBuser::getInstance( USER_ID_HERE, false );
$avatar = $cbUser->getField( 'avatar', null, 'html', 'none', 'list', 0, true );
$name = $cbUser->getField( 'formatname', null, 'html', 'none', 'list', 0, true );
global $_CB_framework;
$url = $_CB_framework->userProfileUrl( USER_ID_HERE );
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
global $_PLUGINS;
if ( ( ! file_exists( JPATH_SITE . '/libraries/CBLib/CBLib/Core/CBLib.php' ) ) || ( ! file_exists( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' ) ) ) {
echo 'CB not installed'; return;
}
include_once( JPATH_ADMINISTRATOR . '/components/com_comprofiler/plugin.foundation.php' );
cbimport( 'cb.html' );
cbimport( 'language.front' );
Please Log in to join the conversation.