#####################################################
MirrorChecker Vbulletin Integration Instructions
Support & Questions - http://MirrorChecker.com
support@mirrorchecker.com
http://twitter.com/mirrorchecker
#####################################################
Install Time - 5mins
Go to
Styles & Templates > [YOUR TEMPLATE] > BB Code Layout Templates > bbcode_code
FIND
$code;
CHANGE TO
$code2;
IN includes/class_bbcode.php
FIND
function handle_bbcode_code($code)
{
global $vbulletin, $vbphrase, $stylevar, $show;
// remove unnecessary line breaks and escaped quotes
$code = str_replace(array('
', '
'), array('', ''), $code);
$code = $this->strip_front_back_whitespace($code, 1);
if ($this->printable)
{
$code = $this->emulate_pre_tag($code);
$template = 'bbcode_code_printable';
}
else
{
$blockheight = $this->fetch_block_height($code);
$template = 'bbcode_code';
}
eval('$html = "' . fetch_template($template) . '";');
return $html;
}
REPLACE WITH
function handle_bbcode_code($code)
{
global $vbulletin, $vbphrase, $stylevar, $show;
$code2 = '';
$codeChunks = explode("\n", $code);
foreach($codeChunks as $i => $chunk)
{
$code2 .= "$chunk - Check Link\n";
}
$code2 = str_replace(array('
', '
'), array('', ''), $code2);
$code2 = $this->strip_front_back_whitespace($code2, 1);
if ($this->printable)
{
$code2 = $this->emulate_pre_tag($code2);
$template = 'bbcode_code_printable';
}
else
{
$blockheight = $this->fetch_block_height($code2);
$template = 'bbcode_code';
}
eval('$html = "' . fetch_template($template) . '";');
return $html;
}
SAVE AND CLOSE
Open admincp and Rebuild the Post Cache
ADMINCP > MAINTENANCE > UPDATE COUNTERS > REBUILD POST CACHE