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 |
#132
|
||||
|
||||
I add that code
HTML 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="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]"> <ad what="unks" /> </td> </tr> </table> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output HTML Code:
Database error in vBulletin 3.5.2: Invalid SQL: INSERT INTO vb3_template (styleid, title, template, template_un, dateline, username, version, product) VALUES (1, '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(\"unks\", \"0\", \"\", \"\", \"0\") . \"\r\n \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=\"unks\" />\r\n \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', 5756784532, 'admin', '3.5.2', 'vbulletin'); MySQL Error : Table 'lottosqueeze-org_5.vb3_template' doesn't exist Error Number : 1146 Date : Monday, December 26th 2005 @ 09:14:08 PM Script : http://www.lottosqueeze.org/forum/admincp/template.php Referrer : http://www.lottosqueeze.org/forum/admincp/template.php?s=&do=add&dostyleid=1&title=header&group=all&searchstring=&expandset=1 IP Address : 87.3.252.86 Username : admin Classname : vb_database |
#133
|
|||
|
|||
Great Mod! works great! I have setup my first zone in the header, but now I want to add another one perhaps just above the forums and below the shoutbox.....I know I just have to change the zone id...but I can't seem to find the right spot in the templates. I tried forumhome and forumdisplay just above $forumbits but that didn't work. Anyone know?
|
#134
|
||||
|
||||
I have solved my issue, Thanks anyway and thanks for this great tool
|
#135
|
||||
|
||||
Only a short question, But this tool work with a SQL Banner or not?
|
#136
|
|||
|
|||
Quote:
|
#137
|
|||
|
|||
Quote:
|
#138
|
||||
|
||||
I dont show any banner, i solved this just copyng invocation code of phpAdsNew in my Header template, that's all, whitout using any product.
|
#139
|
|||
|
|||
I don't know about this one, it doesn't seem very newbie user friendly for me. My eyes are bugged eyed right now from reading about 300 pages of installation and I still can't get it to work. Anyone got a Dummies guide for this? I know I am soooo close I can smell it like a fart in the car on a hot august day. Once I create the new advertiser and upload the banner, I can't figuer out how to get it to show up in the linked zone section.
/edit Making progress here. Bent and determined to figure this one out. I am now getting this error when I add the <ad what"zone:1" /> to the header Warning: view_ad(/forums/includes/lib-xmlrpc-class.inc.php): failed to open stream: No such file or directory in /includes/init.php(273) : eval()'d code on line 68 Can anyone please tell me what that means. Be gentle I've just started doing VB in the last few weeks. Trickle |
#140
|
||||
|
||||
Put that library in to the includes directory of your forum, it is inside "libraries" directory of phpAdsNew, when you try again if it ask needing another libs, you find in the same "libraries" dir.
|
#141
|
|||
|
|||
So far I got it to work now. Or at least the banner appears. I guess the lesson I learned is to take breaks and refresh the mind. Getting pissed cause I couldn't figure it out only made things worse.
CHECK INSTALLED!!! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|