| | |
Add management with Phpadsnew
Please support our Advertising Sales Strategies advertiser: Get a Free Online Advertising Analysis!
Thread Solved |
•
•
•
•
Originally Posted by cscgal
BigBlueBall, are you using vBulletin? If so, it doesn't matter. The thread templates still have access to the $forumid variables. Not sure how it works in other forum systems, but either way, I would assume that all threads have access to the forum ID they are part of.
BigBlueBall - Everything about instant messaging
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates
Nono. Source can be anything. It's simply a parameter that phpAdsNew allows you to pass in. In this case, you'll want to make it your forumid. So in the ad tag for phpAdsNew, where it says source= make sure it says source=$forumid
Then, let's say a particular campaign just wants to run in forumid 4. When setting up the campaign, go to Limitations and set a limit to only display the ad when source == 4.
Then, let's say a particular campaign just wants to run in forumid 4. When setting up the campaign, go to Limitations and set a limit to only display the ad when source == 4.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Ok Dani, sorry for being so dense but I think I'm getting it.
Banner Settings
On the Delivery Options tab I set Source is equal to and supply the integer representing the forum I want the ad to appear in.
Zone Settings > Invocation Code
Here in the "source" field I enter the text "$forumid" which in turn generates the following invocation code:
Unfortunately, when I try this, I don't get ANY ads served (I don't have a chain setup either). I think I'm missing something here.
Banner Settings
On the Delivery Options tab I set Source is equal to and supply the integer representing the forum I want the ad to appear in.
Zone Settings > Invocation Code
Here in the "source" field I enter the text "$forumid" which in turn generates the following invocation code:
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://www.bigbluenetwork.com/a/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:17&source=%24forumid");
document.write ("&exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.bigbluenetwork.com/a/adclick.php?n=aae8f62b' target='_blank'><img src='http://www.bigbluenetwork.com/a/adview.php?what=zone:17&source=%24forumid&n=aae8f62b' border='0' alt=''></a></noscript> BigBlueBall - Everything about instant messaging
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates
You have source=%24forumid
That's how phpAdsNew displays the code. Change that to source=$forumid as soon as you paste it where you want it.
That's how phpAdsNew displays the code. Change that to source=$forumid as soon as you paste it where you want it.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Thank you so much Dani! That did the trick. I mistakenly assumed that the phpAdsNew generated invocation code would be correct. I guess the ? tripped it up.
BigBlueBall - Everything about instant messaging
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates
MessengerMods - Customize MSN with display pictures and emoticons
HisBuddyIcons - AIM buddy icons for dudes
BigBlueTemplates - 1,000s of professional website templates
%24 is the representation for $ when the $ character isn't accessible (I believe that's how it works). Regardless, the $forumid variable wasn't being populated where you wanted it to be.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
•
•
Join Date: Jul 2005
Posts: 1
Reputation:
Solved Threads: 0
•
•
•
•
Originally Posted by cscgal
I'm using phpAdsNew with local invocation. No messy JavaScript on my site
PauSon
![]() |
Other Threads in the Advertising Sales Strategies Forum
- Previous Thread: G.A. termination for "invalid clicks"
- Next Thread: How to block invalid clicks
| Thread Tools | Search this Thread |
accounting adspostjobs advertising advertisingspend applicationreengineering blackberry brand broadband broadcasting bt budgets business cfo cheapwebsite coupons death digg directtv doubleclick downloads echostar emailmarketing emailsegmentation excel foreclosures forrester funding gartner google googleadsensesetup homesales isp law microsoft monetisation music neisen news nielsen nokia oil olympics onlineads onlineadspending onlineadvertising outsourcing phorm privacy programming recession retailsales richmedia richmediaads sales saleslistsonline siriusxm snoop socialadvertising2.0 software softwaredevelopment spy standards steveballmer stocks strategyforadsenserevenu streaming survey systemintegration technology tv uk verizon web websiteforgoogleadsense wikipedia yahoo! youtube






