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.
This hack is garbage with out some better documentation. I installed it but the ads don't show up period. My navbar has been modified. So whats the deal? How do I call the banner?
This addon is meant for unhacked vBulletin product. If you modified the software and don't have the skill & knowledge to adapt it to your forum, hire some coders or ask someone with PHP knowledge to fix that for you. And if you read the 1st post a bit more careful, you'd notice that I didn't check the "Support" tag due to my time restraint; however, I DID try my best to answer some of the questions and patching the bug.
For those who installed this hack and wanted to display the banners somewhere else, pls read this post.