NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 02-18-2006 20:59:22

mp3sattack
New member

banner in register page

Hi, i added the code of a banner, but i don't want the banner shows at the register page, what can i do for that?


thanks!

Offline

#2 02-19-2006 01:38:18

Waccoon
Administrator

Re: banner in register page

In header.php, search for this code:

Code:

<!-- Banner -->
<?
if (file_not_empty($cfg['res_path'].'/banner.php')) {
    echo "<div id=\"banner\">\n";
    include($cfg['res_path'].'/banner.php');
    echo "\n</div>\n";
}
?>
<!-- /Banner -->

...and replace it with this:

Code:

<!-- Banner -->
<?
if (!strstr ($_SERVER['PHP_SELF'], 'register')
    && file_not_empty($cfg['res_path'].'/banner.php') )
{
    echo "<div id=\"banner\">\n";
    include($cfg['res_path'].'/banner.php');
    echo "\n</div>\n";
}
?>
<!-- /Banner -->

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB