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' ); // Load frontend language files (remove if not needed): cbimport( 'language.front' ); // Load frontend template CSS (remove if not needed): outputCbTemplate(); // Load CB Plugins so their trigger usages will function: $_PLUGINS->loadPluginGroup( 'user' );