Hey all,
OK - I admit defeat on this one.
Having tried and tested PN 726 with phpAdsNew - and the banners appeared perfectly .. 100%.
Our live site is still using 723 at the moment :( (but its stable and we're working on the move from 723 to 726) and whilst the banner displays and the functionality is perfectly fine (impressions and clicks are logged, but just above the banner itself I'm getting a warning ..
Warning: Missing argument 1 for pnbannerdisplay() in /home/ukbugnet/public_html/includes/pnBanners.php on line 152
I've used the files available at http://www.academe.co.uk/pn/phpads.shtml as the replacements, which are supposedly good for PN 071 & 072.
Any ideas ?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- nestormateo responded to »Fillters in Clip« 06:33 AM
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 03:19 AM
- frw responded to »Bug in the SMTP mail transfer protocol - Port 25 - Zikula 1.2.9« 22. May
- mdee responded to »Short URL questions« 22. May
- mesteele101 responded to »Problem in Database Connection« 21. May
- Herr.Vorragend responded to »Clip Documentation and Doubt« 19. May
- mazdev responded to »zikula 1.3.3. and IE9« 19. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
PostNuke & phpAdsNew problem
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 30
Mkey, fine I understand what you are trying to do, but I dont see why you make it so hard?
I run PhpAdsNew fine on a .723 by more or less stripping my banners.php clean and putting in the adsnew-code directly in it... I'm also running multiple blocks for it...
If you run PHPAdsNew you shouldn't really need the crappy Banner-interface from PN or?
You could easily include the code generated in your adsystem in the theme directly and disabling the Banner module... -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Jan 20, 2006
- Posts: 7
I have tried putting the phpAdsNew invocation code directly into my theme. The ads work perfectly but it causes LOTS of problems.
I get blank pages (except for the ads) when I try to do most administrative functions, e.g. approve a new news article, approve a photo (My_eGallery 3.1.2), activate a new module, etc. I also get error messages when posting in the forum (pnForum) although the posts actually work fine.
This is the code I pasted into my theme.php:
}
if (@include(getenv('DOCUMENT_ROOT').'/phpAdsNew/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('zone:1', 0, '', '', '0', $phpAds_context);
echo $phpAds_raw['HTML'];
}
Any ideas what I'm doing wrong? Thanks for any help! -
- Rank: Helper
- Registered: Dec 31, 1969
- Last visit: May 20, 2010
- Posts: 524
Hi
I run phpadsnew and PN 0.761 without problems.
But I use frame invocation code (iframe), which I put into the theme and into blocks.
I hope that helps.
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
