This bit of codes seems to be causing the conflict with JReivews. Does anyone here know why?
/**
* If CB Integrations up, FIRE onAfterLoginForm CB event:
*/
$pluginDisplays = array();
if ( $cb_plugins ) {
include_once( $absolute_path . "/administrator/components/com_comprofiler/plugin.class.php");
global $_PLUGINS;
$_PLUGINS->loadPluginGroup('user');
$pluginsResults = $_PLUGINS->trigger( 'onAfterLoginForm', array( $name_lenght, $pass_lenght, $horizontal, $class_sfx, &$params ) );
if ( count( $pluginsResults ) > 0 ) {
foreach ( $pluginsResults as $pR ) {
if ( is_array( $pR ) ) {
foreach ($pR as $pK => $pV ) {
$pluginDisplays[$pK][] = $pV;
}
} elseif ( $pR != '' ) {
$pluginDisplays[] = $pR;
}
}
}
foreach ( $pluginDisplays as $pK => $pV ) {
$divHtml = ( $horizontal ? '<span' : '<div' ) . ' class="mod_login_plugin'.$class_sfx.' mod_login_plugin_' . $pK . '">';
$sldivHtml = ( $horizontal ? '</span>' : '</div>' );
$pluginDisplays[$pK] = $divHtml . implode( $sldivHtml . $divHtml, $pV ) . $sldivHtml;
}
}