I'm trying to disable this style on a pair of styles (Iphone and a fast loading text only style). But when I go into the
Chatbox display on forumhome theres is no
$search_text = '$forumhome_markread_script';. Has the plug in changed?
Code:
if($vbulletin->options['mgc_cb_evo_active'] && $vbulletin->userinfo['mgc_cb_evo_show'] && can_view_mgc_cb_evo())
{
require_once(DIR . '/includes/functions_mgc_cb_evo.php');
if (can_view_mgc_cb_evo() && $vbulletin->options['mgc_cb_evo_forumhome'])
{
/* Stats */
if ($vbulletin->options['mgc_cb_evo_forumhome_stats'])
{
$mgc_cb_evo_stats = construct_mgc_cb_evo_forumhome_stats();
}
$replace = ' $mgc_cb_evo ';
if($vbulletin->options['mgc_cb_evo_forumhome'] == 1)
{
$find = '$navbar';
$brb = ' ';
$bra = ' <br />';
}
else
{
$find = '$forumhome_markread_script';
$brb = ' <br />';
$bra = ' ';
}
$mgc_cb_evo = build_mgc_cb_evo_display($vbulletin->options['mgc_cb_evo_normalmode_height']);
$vbulletin->templatecache['FORUMHOME'] = str_replace($find,$find . $brb . $replace . $bra,$vbulletin->templatecache['FORUMHOME']);
}
}