[Solved]: Banner adds on Coppermine [Solved]: Banner adds on Coppermine
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Banner adds on Coppermine

Started by kholloi, April 12, 2004, 08:06:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kholloi

Hi.

I want to use phpAdddsNew to dipslay banner adds on my coppermine site.

I generated the invocation code which looks like this:

include ('phpadsnew.inc.php');

    if (@include(getenv('DOCUMENT_ROOT').'/addserver/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }

and placed it in the top of  ../themes/mythme/theme.php file

It runs without an error but the banner does not display. Have I placed th code in the right file?

Thanks

Joachim Müller


kholloi


Joachim Müller

hehe :wink: , marking this issue as "solved" then...

GauGau