News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Mambo Bridge and Multibanner Bug

Started by boogiedown, July 26, 2005, 02:30:46 AM

Previous topic - Next topic

boogiedown

When i do the following step :



b) Go to your Mambo template (index.php), and add the following code, right before the </head> tag:

        <?php
        
global $sc$context;

        if (!
defined('SMF')){
        require (
"administrator/components/com_smf/config.smf.php");
        require (
$smf_path."/SSI.php");
        }

        
$sc = &$context['session_id'];
        
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

        
mysql_select_db($mosConfig_db);
        
?>


It kills my Multibanner Componant, being it no longer shows my ads on my page. But when i take out that code above, the ads show up again. How do i fix this? is this a bridge problem or Multibanner Com prob?

Thanks

Advertisement: