Version: 1.00, by tnguy3n
Developer Last Online: Sep 2010
Version: 3.5.2
Rating:
Released: 01-03-2006
Last Update: Never
Installs: 210
DB Changes Uses Plugins Template Edits
Additional Files
No support by the author.
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:
// Banner Ads System by tnguy3n
if($vbulletin->options['bannersys_mode'])
{
$getads = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "
bannersys_banners WHERE status = '1' ORDER BY RAND() LIMIT 1");
$ads = $vbulletin->db->fetch_array($getads);
Next step, you'll have to modify some templates in order to display the ads, place this following code:
HTML Code:
$bannerads
anywhere you want to show the ads.
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
This modification may not be copied, reproduced or published elsewhere without author's permission.
nope. i've been trying to get help with the black dot but no ones tells me how to fix it in cmps
If you are running vba CMPS, put the path to banner.php into the footer replacements. You also have to have a valid banner, as the test one doesn't really work too well. So try using one of your own.
what's the code for the path? and if its in the footer wouldn't that make it at the bottom of the page? Sorry for the Noob questions, this cmps thing is new to me
It all depends on where you have banner.php and your directory structure. I had to just put "banner.php" into my footer replacements. You may have to put in "/'forumroot'/banner.php"
If you have the banner showing in the footer, then put it in the footer replacements, if in the header, then put it in the header replacements. All this can be done in the AdminCP > vBa CMPS options.