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.
Great I had one for 3.07 and have been looking for something like this. Quick question, are the banners linked to the advertiser or are they just images that rotate? Asking because I really need something that links to the sponsor's site. Either way, nice work!