The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Banner Ads System Details »» | |||||||||||||||||||||||||
Banner Ads System
Author: Thinh Nguyen (tnguy3n) Support: www.vbviet.org ############### Banner Ads System Expanded version supports Adsense, Adbrite, Flash, Inframe, etc. Click on the link below for more info & to purchase: http://www.vbviet.com/index.php?act=...od&productId=8 ############### This simple rotational banner ads system get random ads from your database and display globally under navbar on your board. It's been fully tested on vb 3.5.2, but it should work fine for all 3.5 Gold version. FEATURES: - Banner stats tracker - Ability to enable/disable - Admin ability to add/modify/delete banners - Admin ability to view banner stats/detail for each banner - more ################# STRUCTURE: - New Files: 3 - New Template: 1 - New db tables: 2 - Product: 1 ################# INSTALLATION: 1. Upload files to appropriate dir in your forumroot 2. UPload product xml file in your Product Manager ################# If you find this hack useful or wish to sponsor/support future development of the hack, you can donate to If you need custom version of this hack, pls contact me. :::::UPDATE::::: The product xml above will add 2 plugins and the ads stays fixed under navbar. This, however, may not be working with some custom skins if navbar template's codebit are changed. To fix that problem, open Banner System plugin (at global_start hook), replace the whole content with: PHP Code:
HTML Code:
$bannerads If you want to show the ads globally on your forums, put that code in either header or navbar or footer template. To enable/disable or change other settings of Banner System: vBulletin Options -> Banner System Settings - Banner System Mode: yes = enable, no = disable - Show Banners to Logged In Users: yes = everyone (including logged in users), no = only guests - Ads In New Window: yes = open in new window, no = open in same window Show Your Support
|
Comments |
#232
|
|||
|
|||
To add in the header to the right
Find <!-- 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]"> Then add <td align="right" valign="middle" width=100%> $bannerads</a><br> |
#233
|
|||
|
|||
Great Job Thank You!!
|
#234
|
|||
|
|||
Quote:
|
#235
|
|||
|
|||
Nice, Very Thanks
|
#236
|
|||
|
|||
Im having a problem with the links when you click on the banner. It takes a user to a 404 error page. Anything i can do??
Also i have Vbanced installed and the banner do not show up on that page. just the main forum. www.calgarydsm.com/forum/index.php |
#237
|
|||
|
|||
Quote:
|
#238
|
|||
|
|||
Still having problems with the links.
|
#239
|
|||
|
|||
Quote:
|
#240
|
|||
|
|||
Go to your Banner Ad Template and Replace the highlighted color below with the full URL to banner.php
Example <a href="http://www.yoursite.com/forums/banner.php? <if condition="$vboptions['bannersys_mode']"> <if condition="$bbuserinfo['userid'] == '0'"> <br /> <table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td><a href="banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions['bannersys_popup']">target='_blank'</if>><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td> </td> </table> <br /> <else /> <if condition="$vboptions['bannersys_ads2all'] AND $bbuserinfo['userid']"> <br /> <table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td><a href="banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions[bannersys_popup]">target="_blank"</if>"><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td> </td> </table> </if> </if> </if> |
#241
|
|||
|
|||
Quote:
Anyone have any ideas??? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|