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 |
#142
|
||||
|
||||
I wanted my banners to appear under the Navbar so I added
Code:
<ad what"zone:1" /> Code:
Database error in vBulletin 3.5.2: Invalid SQL: SELECT title, styleid FROM template WHERE templateid = 1020; MySQL Error : Table 'phpads.template' doesn't exist Error Number : 1146 Date : Thursday, December 29th 2005 @ 05:26:00 PM Script : [removed] Referrer : [removed] IP Address : [removed] Username : [removed] Classname : vb_database |
#143
|
||||
|
||||
You have to set the correct path of phpAdsNew on the forum
|
#144
|
||||
|
||||
I did that I even cut and pasted it in to the command line to change directories and it is perfect.
Maybe I need a slash at the end? Code:
/usr/local/path/to/my/phpAdsNew |
#145
|
||||
|
||||
I've been trying for two hours and I cannot get this to work running on 3.5.2!!!!!
This has to be the most difficult thing to get working (sigh) I do everything, but no banner shows up at all uggggggggggg |
#146
|
||||
|
||||
Quote:
|
#147
|
||||
|
||||
Ok I added this line but now I get 2 errors when I try entering
Code:
<ad what"zone:1" /> Code:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /usr/local/path/to/forums/includes/init.php(292) : eval()'d code on line 123 Code:
Fatal error: Call to undefined function: view_ad() in /usr/local/path/to/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 225 Code:
Remember bannerid to prevent showing banner multiple times on same page $phpAds_context[] = array('!=' => 'bannerid:'.$ad['bannerid']); } return " $phpAds_context[] = array('!=' => 'bannerid:'.$ad['bannerid']); <!-- BEGIN ad {$adcomment} -->{$ad['html']}<!-- END ad {$adid} -->"; } } } } |
#148
|
||||
|
||||
Ok now I am not happy. I have been trying to figure this out so I chnaged the config file of phpAdsNew as noted, copied the 2 files over to the includes directory and blew VB completly out of the water. All I get now when trying to access the forums or ACP is:
Code:
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /usr/local/pwrhouse/htdocs/hostboard/forums/includes/init.php(292) : eval()'d code on line 122Unable to add cookies, header already sent. File: N/A Line: 0 Can anyone tell me how to manualy modify whatever it is I need to get at least the system back up??? |
#149
|
||||
|
||||
Quote:
|
#150
|
||||
|
||||
Ok, but I need to know how to edit this stuff manulally now seeing as I am completly dead in the water.
|
#151
|
|||
|
|||
Ok I lied. Added another banner and now the 2 banners do not rotate. Guess I'll wait till there is a dummies how to set of instructions hopefully in the near future.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|