Just installed this, and I'm getting:
Quote:
$gperm = convert_bits_to_array($vbulletin->userinfo['permissions']['gcbos_permissions'], $vbulletin->bf_ugp_gcbos_permissions); //User has permission to view the shoutbox if ($gperm['can_view']) { global $style; global $vbulletin; //THe embed code is on the page and this doesnt contain the "switchmode" editor from vbcms (may require editing for custom skins) if (preg_match('//', $output) && !preg_match('/vB_Editor_002_cmd_switchmode/', $output)) { //Header information to embed $vbcsspath = 'css.php?styleid=' . $vbulletin->userinfo['styleid'] . '&langid=' . LANGUAGEID . '&d=' . $style['dateline'] . '&sheet='; $gcbos_head = '' . PHP_EOL . ''; //Do we need to include the forumbits.css file? Append it to the header if (!preg_match('/forumbits.css/', $output)) $gcbos_head = '' . PHP_EOL . $gcbos_head; //Replace the ending head tag with the new information (this allows us to easily deploy on custom pages). $output = str_replace('', $gcbos_head, $output); //Replace the embed code with the shoutbox (works globally anywhere on the page) $output = str_replace('', vB_Template::create('GCBOS')->render(), $output); } }
|
at the top of the forums.