Hey pguy..... if that tossed no error before, you must be pasting the php code within the commented out area that already exists within the phpstart template.
Let me know. If you could set me up an admin that only has template access I can have this working for you in no time |
Michael, where exactly do I get my own invocation code? I can't seem to find a button inside the script.
As for the zones, i dont have any. |
To get phpadsnew to generate invocation code you need to go to publisher's & zones - it's in there somewhere.
@pguy> Post the entire contents of your phpinclude_start template into this thread in php bbcode tags, and I'll take a look. |
Ah i figured it out now. But it doesn't quite work on my froums... it shows up, but it gives me a "?>" at the end of the ad, and the banner is not clickable, but the text below it is :-\
Anyway I can talk to you on AIM? |
I've done this and it makes life easier rotating google ads with regular ads. The problem arises that it's possible to display a google ad on a non-allowed page. Any idea how to best handle this? It's certainly possible to assign the google ads to a separate zone. Dealing with login and register is pretty easy as they are labeled as such by 'THIS_SCRIPT'. However I believe the error pages are labeled as whatever script was running when the error condition was encountered.
|
I did some experimenting and here's what I'm now using in my phpinclude_start template. I'm running phpAdsNew as my banner ad server and have my google ads served from there as well. I originally had things set up so no ads were placed on the google excluded pages but decided to place ads on all pages - just exclude google ads from the specific pages.
PHP Code:
The last line in the while looks a bit strange but the current version of vBa gallery comes through with things defined that way for upload at the moment, so this serves as a catchall of sorts. An alternative approach, if you want to only serve ads on "allowed" pages is to do something like PHP Code:
|
hi
plz forgive me if this has been asked before.... im using phpadsnew and vb3. i have one campaign with 5 ads, the code for this is in the header for vb3 forum. it works fine randomly displayin the ads on all the sub forums. but i have one section in the forum (a sub forum) i want it to display a certain ad. can i modify the phpadsnew code that is inserted with say an "if" statment to only allow a certain add for a section forum in my forum or is there another way around this i hope the above makes sense |
I think I am looking for a similiar thing.. Basically I want to be able to have a unique zone for each forum... so banners at the top of each forum would be relevent to the forum title. ie. in the boat forum I only want boat related ads showing up, in the snowmobile forum I only want snowmobile ads showing up etc..
Can this be done?? |
I've been using phpadsnew for 3 years now with the remote invocation code because I have it in a subdomain. Will this little workaround work on a subdomain? I'm actually planning to move phpadsnew on a remote server.
|
I don't know - I'm sure there's a way, but it might involve some tinkering with the code.
|
All times are GMT. The time now is 09:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|