The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.) Details »» | |||||||||||||||||||||||||||
phpAdsNew Banner Ads integration (advertisements, classified ads, Adsense, etc.)
Developer Last Online: Nov 2023
OpenAds / phpAdsNew Integration 1.0.4 for vBulletin 3.[56].x
2006-06-08 by mip Integrates the OpenAds / phpAdsNew ads system by introducing a new template tag <ad ... />. You can even deliver your Adsense stuff via phpAdsNew using HTML banners. The features of phpAdsNew combined with the power of vBulletin's templating system gives you the possibility to place ads for specific user groups, forums, and keywords. PREREQUISITES: This plugin requires a working installation (local or remote) of a recent version ofOpenAds / phpAdsNew (free software released under the GPL). When using OpenAds, replace phpAdsNew in this documentation with OpenAds (phpAdsNew is just the predecessor of OpenAds). INSTALLATION: When having a previous version of this product installed, see section UPGRADE instead. Install product "phpadsnew-1.0.4.xml". Set phpAdsNew path in Server Settings and Optimization Options to point to either your local phpAdsNew installation or a remote server (using XML-RPC). It is strongly recommended to set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, to prevent problems when phpAdsNew uses a database different from the one used by your vBulletin board. When using XML-RPC, make sure to have lib-xmlrpc-class.inc.php and lib-xmlrpc.inc.php copied from phpAdsNew misc/samples/xmlrpc/php/ to your forum's includes/ directory (not necessary when using a local phpAdsNew installation). Read the NOTES section below. Click INSTALL in this thread to mark product as "installed" and receive notifications when a new version comes out. UPGRADE:
USAGE: Use the newly introduced <ad ... /> tag in your templates. The syntax is similar to phpAdsNew's view_raw() function call - the tag understands what, clientid, target, source, and withtext as arguments. Please make yourself familiar with phpAdsNew prior to using this product. You can't expect this product to work, if you didn't check if your phpAdsNew is delivering your banners cleanly. Examples:
NOTES:
PS: This plugin is donationware - it helps you to make some money, so please be fair and honor my work with an adequate pecuniary donation. Donate via Paypal Show Your Support
|
Comments |
#362
|
||||
|
||||
Hey guys,
Im really having a tough time trying to get the ads to display on my site.. Can someone help me with this. Can you post the simple code to just display an ad from a specific zone2? And If I want to have the add show up on top of my forums (Header) where do I put this code. Thanks |
#363
|
||||
|
||||
<ad what="zone:1" />
<ad what="zone:2" /> <ad what="zone:3" /> and so on. So if you want to have zone 2 in your header, place the second example in tha are you want zone 2 ads to display. |
#364
|
|||
|
|||
hmmm, I can get it to work with java but not with the <ad...> code
|
#365
|
||||
|
||||
Quote:
|
#366
|
||||
|
||||
Depends on where you want it. Why not post the link to your forum, then and I'll look at the code. Explain where you want it to show.
|
#367
|
||||
|
||||
Link to my site is www.seekingadultfriends.com/forums
|
#368
|
||||
|
||||
Quote:
|
#369
|
|||
|
|||
Conditions:
vB + phpAdsNew 2.0.8 + phpAdsNew Integration 1.0.4 for vBulletin 3.5.x Path for phpAdsNew in vBulletin panel (here - ./admincp/options.php?do=options&dogroup=server) - correct. Optinons of phpAdsNew 2.0.8: Added another one HTML banner with same following code: PHP Code:
Option "Allow PHP expressions to be executed from within a HTML banner" - enabled. This option $phpAds_config['compatibility_mode'] set to true in phpAdsNew config file. In FOUMHOME template was added (keyword the same sa for added in phpAdsNew) HTML Code:
<ad what="banner" />
HTML Code:
<!-- BEGIN ad 126277454 --><!-- END ad 126277454 --> I read thread two times. The same problems was report but answers are..... apsent. PS Another banners are works fine, but this ..... |
#370
|
|||
|
|||
Does anybody use externals text banners?
When i set in Banner properties - Target - this url http://notmyhost.com/link/banner2.htm, the story with empty banner code repeated . Someone help me please..... |
#371
|
|||
|
|||
First off, this is probably the most useful vB hack I have installed. It helps me run my ad campaigns efficiently and with the minimum of fuss. This is how I have set up the hack:
1. In your global.php file for vBulletin, search for: Code:
// templates to be included in every single page... $globaltemplates = array_merge($globaltemplates, array( // the really important ones Code:
// ADSERVER TEMPLATE ADDITION 'adserver', Code:
<div style="position: absolute; top: 10px; right: 80px; padding: 1px; border: 2px #C0C0C0 solid;"> <if condition="$foruminfo['forumid']==24"><ad what="zone:3" /><else /> <if condition="$foruminfo['forumid']==105"><ad what="zone:3" /><else /> <if condition="$foruminfo['forumid']==106"><ad what="zone:3" /><else /> <if condition="$foruminfo['forumid']==11"><ad what="zone:4" /><else /> <if condition="$foruminfo['forumid']==18"><ad what="zone:5" /><else /> <if condition="$foruminfo['forumid']==14"><ad what="zone:7" /><else /> <if condition="$foruminfo['forumid']==16"><ad what="zone:8" /><else /> <if condition="$foruminfo['forumid']==69"><ad what="zone:9" /><else /> <ad what="zone:6" /> </if> </if> </if> </if> </if> </if> </if> </if> </div> Finally, in your NAVBAR template in vb, add the following to the top of your template: Code:
$adserver I hope this helps someone - made it very easy for me when I update my vbulletin versions. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|