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 |
#182
|
|||
|
|||
Does this work with Max Media Manager the same???
|
#183
|
||||
|
||||
Is there a way to install this on VB 3.0.6? if not, is there something similar I can use to integrate Phpadsnew to 3.0.6?
I've installed this hack.. https://vborg.vbsupport.ru/showthrea...ight=phpadnews but it will not utilize the invocation codes from phpadsnew. I need to have forum specific ads served accordingly. Anyhelp is appreciated! thanks guys! |
#184
|
||||
|
||||
Any idea how to show two zones (not at the same time, but alternating / allowing each) to show up in one spot?
IE: <ad what="zone:5", "zone:6" /> I have a spot that I want to show 120 width and 160 width banners in, and each of those are different zones, so I want to make one tag, that will show ads from both zones. Thanks. |
#185
|
||||
|
||||
This message doesn't really belong in here, but I think I may have the best luck posting it in here. I tried to setup this hack to allow for phpadsnew to run ads on my site, but I couldn't get anything to display where I stuck the variables.
To make a long story short I have just been using the javascript code that phpadsnew has me use. The ads have been working wonderfully for more than a month now. Perhaps one of the recent changes that I made to the site that I forgot about did something to each page because now when I go to my site the ads appear to work for about 1 or 2 page views and then they completely disappear. If I view source I feel like the code is still there but the ads are no longer there, and internet explorer has the little yellow yield sign at the bottom left telling me that there is an error on line 3 char 1. Does anyone know why this would happen or what would cause this? If I go into phpadsnew it seems to function perfectly and if I don't go to my site for a while and then go I see the ads for just one or two rotations, but then if I refresh or even go to another page or anything the ads no longer show. Please see for yourself www.420boards.com Thanks Chris *EDIT: I found that if you go to www.420boards.com with no file specified such as index.php, you can see the ad working fine, even if you refresh 10 times or more you'll be fine. The moment you go to a page that has a filename or even www.420boards.com/index.php, then the banners stop working automatically. I've even gone as far as to delete my .htaccess file in hopes of correcting the problem, but nothing. I can't find any recent changes that I've made or anything like that that would cause this to happen. |
#186
|
|||
|
|||
Quote:
|
#187
|
|||
|
|||
Ive installed this and it seems to have broken member.php, i get the following error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /member.php(654) : eval()'d code on line 197 http://www.streethop.com/forum/member.php?u=3 |
#188
|
|||
|
|||
I have PAN working fine www.x-h2o.com/ad.php and imported the .xml and have the path set correctly (to best of my knowledge) but when I try to add the code for an ad to my header I get a database error where it's trying to change a template table in my PAN database, which doesn't exist.
Code:
Database error in vBulletin 3.5.3: Invalid SQL: ### REPLACE TEMPLATE: header ### REPLACE INTO vbtemplate (styleid, title, template, template_un, templatetype, dateline, username, version) VALUES (2, 'header', '<!-- logo -->\r\n<a name=\\\"top\\\"></a>\r\n<table border=\\\"0\\\" width=\\\"$stylevar[outertablewidth]\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" align=\\\"center\\\">\r\n<tr>\r\n <td align=\\\"$stylevar[left]\\\"><a href=\\\"\" . $GLOBALS[\'vbulletin\']->options[\'forumhome\'] . \".php\" . $GLOBALS[\'vbulletin\']->session->vars[\'sessionurl_q\'] . \"\\\"><img src=\\\"$stylevar[titleimage]\\\" border=\\\"0\\\" alt=\\\"\" . $GLOBALS[\'vbulletin\']->options[\'bbtitle\'] . \"\\\" /></a></td>\r\n <td align=\\\"$stylevar[right]\\\">\r\n \" . view_ad(\"zone:1\", \"0\", \"\", \"\", \"0\") . \" \r\n </td>\r\n</tr>\r\n</table>\r\n<!-- /logo -->\r\n\r\n<!-- content table -->\r\n$spacer_open\r\n\r\n$_phpinclude_output', '<!-- logo -->\r\n<a name=\"top\"></a>\r\n<table border=\"0\" width=\"$stylevar[outertablewidth]\" cellpadding=\"0\" cellspacing=\"0\" align=\"center\">\r\n<tr>\r\n <td align=\"$stylevar[left]\"><a href=\"$vboptions[forumhome].php$session[sessionurl_q]\"><img src=\"$stylevar[titleimage]\" border=\"0\" alt=\"$vboptions[bbtitle]\" /></a></td>\r\n <td align=\"$stylevar[right]\">\r\n <ad what=\"zone:1\" /> \r\n </td>\r\n</tr>\r\n</table>\r\n<!-- /logo -->\r\n\r\n<!-- content table -->\r\n$spacer_open\r\n\r\n$_phpinclude_output', 'template', 1137989173, 'SuperJETT', '3.5.3'); MySQL Error : Table 'myusername_xads.vbtemplate' doesn't exist Error Number : 1146 Date : Sunday, January 22nd 2006 @ 10:06:13 PM Does this indicate I don't have my path to PAN set correctly? |
#189
|
|||
|
|||
Quote:
|
#190
|
|||
|
|||
Quote:
(I guess in compatibility mode it opens/closes the db connection a little cleaner?) |
#191
|
||||
|
||||
can any one explain the used & working tags .. plz
I used to use all possible tags called in the first post here & all not worked wxwpt only the tag <ad /> as I writed it empty with no atribute plz explain all possible tags knowing that there is many users need to use it but has no experience with phpadsnew |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|