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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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