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 |
#32
|
||||
|
||||
@lsgworldl
Please use new version 1.0.1. This should solve the confusion concerning paths. |
#33
|
|||
|
|||
How do I set this up so that in each forum there is a different zone shown?
Some of my forums are sponsored and in those forums I want only those ads shown, and in the unsponsored areas I want another zone shown. Thanks. |
#34
|
||||
|
||||
Quote:
Code:
<if condition="$foruminfo['forumid']==123 OR $foruminfo['forumid']==456"> <ad what="zone:1" /> <else /> <ad what="zone:2" /> </if> Code:
<if condition="$foruminfo['forumid']==123 OR $foruminfo['forumid']==456"> <ad clientid="1" /> <else /> <ad clientid="2" /> </if> |
#35
|
|||
|
|||
Hi,
I'm trying to get to this work but nothing is showing up unfortunately. I tested out phpadnews on a .php page to make sure that was functioning and it was. I'm wondering if I've set the path wrong. My path I put was ../banners/ but the full path is /home/aussie/public_html/forums/banners/ Thankyou! |
#36
|
||||
|
||||
Quote:
(Your "../banners" would point to "/home/aussie/public_html/forums/../banners" which translates to "/home/aussie/public_html/banners/") |
#37
|
|||
|
|||
Ah great! It's working now. Amazing how much of a difference a . can make!
Thanks so much for the great plugin. |
#38
|
|||
|
|||
Hi!
I'm still trying to get plugin working outside forum root, cause I want to manage ads also into another 3rd level domain, for now called www. While I ask forum pages, all runs ok. Ads are called from forum.dmn.tld/adv subdir. If i ask vbadvanced homepage into www, banners images (and links) are broken, cause theire called from www.dmn.tld/adv I've tried to edit "Replacements" adding adlog.php, adimage.php, adclick.php for vba in admincp, but seems not works. The /adv directory shown into templates still the same of domain where page was called. |
#39
|
||||
|
||||
@tassoman:
First try to set the full path to phpAdsNew (instead of a relative one) in the settings of this product, to be sure that inclusion of phpadsnew.inc.php also works, when you're using the templating system in scripts outside of the forum's installation directory. Also check if your $phpAds_config['url_prefix'] setting in phpAdsNew's config.inc.php is a valid absolute URL (e.g. http://example.com/phpadsnew/). If this doesn't solve your problems, please be more precise and also post a link to your site (or show relevant parts of code (notably the HTML between <!-- BEGIN/END ad ...--> comments) and screenshots). |
#40
|
|||
|
|||
Both fields are ok. in admincp there's full path from root to phpadsnew dir.
On config.inc.php there's full URI for phpadsnew. My filesystem is like this: / (ftproot)on forum.dmn.tld is called /adv and it's ok.wwwhtdocs on www.dmn.tld is called also /adv but there isnt' any dir here. So I solved for now with a symlink called /adv but I feel like a dirty hack. |
#41
|
|||
|
|||
Please upload the files to our server as attachments. As stated in the forum rules.
Thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|