PDA

View Full Version : Homepage Code showing


iBardia
08-08-2009, 02:22 AM
So, on my homepage (vBa) it shows this at the top of the page ages['template']); $home[$vba_cusmodid]['content'] = ob_get_contents(); ob_end_clean(); } // Don't allow collapsing for guests if homepage caching is allowed if (!$vbulletin->userinfo['userid'] AND $vba_options['portal_guestcache'] AND $pages['name'] == 'home') { unset($vbcollapse); } ?>

How do I remove it?

Marco van Herwaarden
08-10-2009, 09:57 AM
If you have questions/problems with a modification or style, then please post in the thread (or support forum/board) about that modification/style. Best chance to receive a reply from either the author or another member using the same modification/style.

metalguy639
08-10-2009, 10:12 AM
So, on my homepage (vBa) it shows this at the top of the page

what was the last template that you made changes to? You need to go back to that template & check your coding. you have either left out a tag, forgot to close a tag or something along those lines. Or possibly you have left out an if statement somewhere. Kinda looks like the php code was not closed.

ShawneyJ
08-10-2009, 10:13 AM
just remove from your vba.php:

<?php ages['template']);
$home[$vba_cusmodid]['content'] = ob_get_contents();
ob_end_clean();
}

// Don't allow collapsing for guests if homepage caching is allowed
if (!$vbulletin->userinfo['userid'] AND $vba_options['portal_guestcache'] AND $pages['name'] == 'home')
{
unset($vbcollapse);
}

?>



or as metalguy639 says, you have left out some code from the top of your vba.php

you mite have left out the <?php at the top ??? not sure.