Quote:
Originally Posted by BeoRski
Editing "Code including" in Plugin Manager does this. Replace it with the code below:
Code:
if ($vbulletin->options['guest_warn_active'] && $show['guest'] && !in_array(THIS_SCRIPT, array('register'))) {
$templater = vB_Template::create('guestwarn_html'); //Create html template
$guestwarn_html = $templater->render(); //saving template on a variable
$templater = vB_Template::create('guestwarn_css'); //Create css template
$template_hook[headinclude_css] .= $templater->render(); //Including template on footer hook
$templater = vB_Template::create('guestwarn_script'); // Create javascript template
$template_hook[footer_javascript] .= $templater->render(); //including template on footinclude hook
$vbulletin->templatecache['footer'] .= ' $final_rendered .= \'' . addcslashes($guestwarn_html, "'\\") . '\'; '; //Inserting html in the footer template
}
This basically moves it to the footer which is way beyond what Google shows on the search results...
|
From this
Code:
if ($vbulletin->options['guest_warn_active'] && !$show['search_engine'] && $show['guest'] && !in_array(THIS_SCRIPT, array('register','login'))) {
to this
Code:
if ($vbulletin->options['guest_warn_active'] && $show['guest'] && !in_array(THIS_SCRIPT, array('register','login'))) {