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 |
#152
|
|||
|
|||
i'm quite new to all this, how do i install the xml file?
|
#153
|
|||
|
|||
I have this working but I am not sure of one thing:
I am using a affiliate program for a company that using Kolimbo.com to run their program. The code they give me to produce the banner looks like this: Code:
<A href="?kbid=62123&sub=153310&img=Adorama-468x60.gif" onmouseover="window.status='http://www.adorama.com';return true;" onmouseout="window.status=' ';return true;" target="_blank"><img src="http://www.adorama.com/banners/affil/Adorama-468x60.gif" border=0></a><img src="http://www.myaffiliateprogram.com/u/adorama/showban.asp?id=62123&sub=153310&img=Adorama-468x60.gif" border=0> Then again, maybe this is a question best answered over at the PAN support area, but I figured maybe someone here may be able to help. Great plugin by the way...Nice job. |
#154
|
|||
|
|||
Quote:
There you can browse to the copy of the XML file you downloaded and save to your local machine then click IMPORT. |
#155
|
|||
|
|||
thanks, i never had that option until i upgraded to 3.5.2 today.
|
#156
|
|||
|
|||
No problem. Glad I could help.
|
#157
|
|||
|
|||
@Kevinstruck
You can copy that whole code right into your "html" banner. Then also copy the href part into the href section in PAN. |
#158
|
|||
|
|||
Well, I thought I had this working.
Using the <ad.../> tags, I can not get a banner to display. Using the direct code from PAN, the banners display. I installed PAN outside my forums directory in the root so I could use it on my portal as well. I tried an URL in the Server Setting and Opt screen and uploaded lib-xmlrpc-class.inc.php and lib-xmlrpc.inc.php into the forums/includes folder to see if that would work but it would not. I then tried a full path: /home/thephoto/public_html/adserver But that did not work. I then tried ../adserver but that did not work either. Again, I tested PAN and it is serving ads on both a test page and with the direct code (Javascript) pasted into my header. Anyone have any suggestions? |
#159
|
|||
|
|||
Make sure you've done what was posted a few pages back...
Quote:
|
#160
|
|||
|
|||
Yes, I did that.
Here is my config file: Code:
// Database local connection using sockets $phpAds_config['dblocal'] = false; // Database hostname $phpAds_config['dbhost'] = 'localhost'; // Database port $phpAds_config['dbport'] = 3306; // Database username $phpAds_config['dbuser'] = 'xxxxx'; // Database password $phpAds_config['dbpassword'] = 'xxxxx'; // Database name $phpAds_config['dbname'] = 'thephoto_adserver'; // Database table name prefix $phpAds_config['table_prefix'] = 'phpads_'; // Database table type $phpAds_config['table_type'] = 'MYISAM'; // Use persistent connections to the database $phpAds_config['persistent_connections'] = true; // Use INSERT DELAYED in logging functions? $phpAds_config['insert_delayed'] = true; // Database compatibility mode to insure phpAdsNew // won't disturb an available database connection $phpAds_config['compatibility_mode'] = true; /*********************************************************/ /* phpAdsNew configuration */ /*********************************************************/ // The URL to your phpAds-installation $phpAds_config['url_prefix'] = 'http://www.thephotostation.net/adsever/'; // Is the admin interface enabled $phpAds_config['ui_enabled'] = true; // Only allow access to the admin interface if SSL is used $phpAds_config['ui_forcessl'] = false; |
#161
|
|||
|
|||
Another issue: When I add the tag, I get a blank screen on my forums. When I take the ad code out, the forums come up normally.
Here is the ad code I am trying to use: <ad what="zone:2" /> My Header Template is: Code:
<!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vbpoptions[portalhome]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> <!-- NEW HEADER & NAVBAR Now that the nav buttons are in the navbar template, you can stick whatever you like into this space. This makes it much easier for novice admins to customize their header template without affecting important navigation elements. --> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output /home/thephoto/public_html/adserver I hope I have included enough info for someone to figure this out for me. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|