• erika_conn

    (@erika_conn)


    I need to finetune the plugin so that my ads will work.
    <?php

    /*
    Plugin Name: PhpAdsNew
    Version: 0.1
    Plugin URI: https://blog.tassoman.com/PhpAdsNew-integration
    Description: Integrate PhpAdsNew advertising banners into your wordpress.
    Author: Tassoman
    Author URI: https://blog.tassoman.com/
    Licence: GNU

    /* Copyright 2005 Tassoman (email: [email protected])

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    */

    define(‘PHPADS_PATH’, ‘/var/www/virtual/tassoman.com/ads/htdocs’);

    function phpAdsNew($area, $target = ”) {
    if (@include(PHPADS_PATH . DIRECTORY_SEPARATOR . ‘phpadsnew.inc.php’)) {
    if (!isset($phpAds_context)) $phpAds_context = array();
    $phpAds_raw = view_raw ($area, 0, $target, ”, ‘0’, $phpAds_context);
    }
    echo $phpAds_raw[‘html’];
    }
    ?>

    Which part do I edit so that it will work with my blog?

Viewing 2 replies - 1 through 2 (of 2 total)
  • jetshack

    (@jetshack)

    ‘phpadsnew.inc.php’

    point to your where your file of phpadsnew.inc.php is

    Thread Starter erika_conn

    (@erika_conn)

    So, would that be in this part?

    define(‘PHPADS_PATH’, ‘/var/www/virtual/tassoman.com/ads/htdocs’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PhpAdsNew Plugin’ is closed to new replies.