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 |
#102
|
|||
|
|||
Quote:
Gimme a break Mips. You know damn well I gave you a hell of a better description of the problem then that. Just go backl to my earlier posts. You say you make sure it works as per description?? Well it's NOT working as per youor description. I've asked for help and given you very good details of the problem. Yet I have not gotten any support from you and the plugin still doesn't work properly. Conq, go blow it out your ass. You have absolutely no clue what support is and all your interested in is covering your buddy's ass when he screws up. At least now I'll know where NOT to go in the future for any plugins. |
#103
|
|||
|
|||
Quote:
|
#104
|
|||
|
|||
No coder is required to give support, even if they have clicked the support tag. Please understand that coders are distributing and supporting modification on their own time, they are not obligated to do any of this. I understand that it could be frustrating during a debugging phase of a modification, but it's important that everyone remains as patient as possible.
Also, do not insult any members; it will not be tolerated on vb.org. |
#105
|
|||
|
|||
Hi There and thanks for this great plugin!
I managed to get the whole thing working in no time thanks to the detailed installation guidelines and screenshots. I have however a little question please, when you the generate invocation code button, you can beforehand choose a few options like: Don't show a banner from the same campaign again on the same page Don't show the banner again on the same page In the screengrab, they are set to no, will the <ad tag display the same banner if invocated with several <ad what="zone:1" on the same page? It doesn't seem to respect the rule at them moment for me. I think it's probably because there a lot of the invocation code that is missing in the <ad tag so I'm just checking that it is the case. |
#106
|
|||
|
|||
OK, I think I cracked it
Basically, I added the following line just before return "<!-- BEGIN ad {$adcomment} -->{$ad['html']}<!-- END ad {$adid} -->"; in the view_ad function plugin: $phpAds_context[] = array('!=' => 'bannerid:'.$ad['bannerid']); This basically will allow you to have several <ad what="zone:1" /> anywhere in your templates and be sure that the same banner is not displayed twice. I've just done it so it's not quite well tested yet, I'm sure that the whole thing could be improved via the ad tag (something like <ad what="zone:1" duplicate_banner_id="1" /> or <ad what="zone:1" duplicate_banner_id="0" /> to switch the option on or off). Hope this help and thanks again for this great plugin! F |
#107
|
|||
|
|||
I get a blank page. Also get mysql errors. I use vb in a different db. Could this be the reason. Where is the config option to set true in plugin for using a seperate db?
|
#108
|
|||
|
|||
Quote:
Please make sure to have set $phpAds_config['compatibility_mode'] = true; in phpAdsNew config file, as this resolves problems with a local phpAdsNew installation when phpAdsNew's tables are in a database different from the one used by your vBulletin board.Doing this resolved the problem I had w/mysql errors when running in local mode while using a separate db. |
#109
|
|||
|
|||
Quote:
|
#110
|
|||
|
|||
Quote:
|
#111
|
|||
|
|||
Quote:
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|