Home arrow Forum Latest posts of: cha
  Welcome, Guest. Please login or register.
Did you miss your activation email?
December 01, 2008, 08:01:56 PM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Addon Discussion / Joomla Modules / Re: Joomla and phpAdsNew Integration on: January 08, 2007, 10:55:56 PM
Please review the tutorial.
Maybe something is missing.
I have tried everything but still can't make it work.

Joomla and phpAdsNew Integration article.

Please use this thread for all questions.

Thanks.
2  Joomla Addon Discussion / Joomla Modules / Re: Joomla and phpAdsNew Integration on: January 08, 2007, 10:19:38 PM
Hi:
Still struggling with Joomla and PhpAdsNew!!!

Now I'm getting the following parse error message:

Parse error: syntax error, unexpected ')' in /home/mesonesg/public_html/modules/mod_kl_evalphp.php(27) : eval()'d code on line 1

My code in the php script field of KL_evalphp is the following:

if (@include('/home/multiple/public_html').'/ads/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:2', 0, '', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }

PhpAdsNew is installed in www.multipleweb.com/ads and its home directory is /home/multiple/public_html/ads

The Joomla site is in www.MesonesGastronomicos.com
Both sites are in the same server.

Any clues?Huh??
Thanks
3  Joomla Addon Discussion / Joomla Modules / Re: Joomla and phpAdsNew Integration on: January 08, 2007, 07:03:12 AM
Hi:

I tried the mod_KL_php but can't make it work.

I have PhpAdsNew installed in ads.multipleweb.com (www.multipleweb.com/ads)
The Joomla site is installed in www.MesonesGastronomicos.com
Both are in the same server.

These are the steps I followed:

1-Generated the PhpAdsNew invocation code for a banner (468x60) as:
<?php
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }
?>

2-Installed mod_KL_php as module in the Joomla site
3-Renamed the mod_KL_php to banners3 and assigned the banner position.
4-Choose Local Mode
5-Pasted invocation code in the PHP script area
6-deleted the php opening/closing tags /<?php ?>/
7-modified the PATH in the invocation code as follows:

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

8-check Published.
9-Save

It doesn't work. I have read everything and did a lot of testing for so many hours before posting this.
Any help will be APPRECIATED!!!
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
MamboBuzz.com
Search Contact About Advertise Blogs Topsites Submit News Register Login